Use once crate to ensure that memory::init is only called once

This commit is contained in:
Philipp Oppermann
2017-11-19 13:19:17 +01:00
parent 76550dcd95
commit f2bbe43099
3 changed files with 5 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ extern crate multiboot2;
#[macro_use]
extern crate bitflags;
extern crate x86_64;
#[macro_use]
extern crate once;
#[macro_use]
mod vga_buffer;