diff options
Diffstat (limited to 'src/shared/mod.rs')
-rw-r--r-- | src/shared/mod.rs | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/shared/mod.rs b/src/shared/mod.rs deleted file mode 100644 index 6ea7633..0000000 --- a/src/shared/mod.rs +++ /dev/null @@ -1,33 +0,0 @@ -pub mod control_regs; -pub mod descriptor; -pub mod dtables; -pub mod io; -pub mod irq; -pub mod msr; -pub mod paging; -pub mod flags; -pub mod segmentation; -pub mod task; -pub mod tlb; -pub mod time; - -pub mod cpuid { - pub use raw_cpuid::*; -} - -#[derive(Copy, Clone, PartialEq, Eq)] -#[repr(u8)] -pub enum PrivilegeLevel { - Ring0 = 0, - Ring1 = 1, - Ring2 = 2, - Ring3 = 3, -} - -#[cfg(feature = "performance-counter")] -pub mod perfcnt; - -#[inline(always)] -pub unsafe fn halt() { - asm!("hlt" :::: "volatile"); -} |