blob: 0c06be51c182d9b1f5f9074712e44d8dff039ea0 (
plain) (
blame)
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
34
35
36
|
#![feature(no_std)]
#![feature(asm)]
#![no_std]
#![crate_name = "x86"]
#![crate_type = "lib"]
#[macro_use]
extern crate bitflags;
#[macro_use]
extern crate raw_cpuid;
#[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;
pub mod syscall;
pub mod cpuid {
pub use raw_cpuid::*;
}
|