diff options
Diffstat (limited to 'src/bits64/mod.rs')
-rw-r--r-- | src/bits64/mod.rs | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/bits64/mod.rs b/src/bits64/mod.rs index 2c4a776..7f8cdc3 100644 --- a/src/bits64/mod.rs +++ b/src/bits64/mod.rs @@ -1,19 +1,12 @@ //! Data structures and functions used by IA-32e but not Protected Mode. -macro_rules! check_flag { - ($doc:meta, $fun:ident, $flag:expr) => ( - #[$doc] - pub fn $fun(&self) -> bool { - self.contains($flag) - } - ) -} - -pub mod irq; -pub mod rflags; +pub mod dtables; pub mod paging; +pub mod rflags; pub mod segmentation; -pub mod task; -pub mod syscall; #[cfg(target_arch="x86-64")] pub mod sgx; +pub mod syscall; +pub mod task; + + |