1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
#![feature(no_std)] #![feature(core)] #![feature(asm)] #![no_std] #![crate_name = "x86"] #![crate_type = "lib"] #[macro_use] extern crate core; #[macro_use] extern crate bitflags; #[cfg(test)] extern crate std; #[cfg(not(test))] mod std { pub use core::ops; pub use core::option; } pub mod io; pub mod controlregs; pub mod msr; pub mod time; pub mod irq; pub mod rflags; pub mod paging; pub mod segmentation; pub mod task; pub mod dtables;