aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorGravatar Gerd Zellweger <mail@gerdzellweger.com> 2018-04-20 12:46:08 -0700
committerGravatar Gerd Zellweger <mail@gerdzellweger.com> 2018-04-20 12:46:08 -0700
commita392747da8e3792da6bb74327142d17a5dece265 (patch)
tree96d2a356b24e8c1180ae9052c4a974129f8048fd /src/lib.rs
parent91583f100ffe4efa343babd15bf3e96d9e405971 (diff)
downloadrust-x86-a392747da8e3792da6bb74327142d17a5dece265.tar.gz
rust-x86-a392747da8e3792da6bb74327142d17a5dece265.tar.zst
rust-x86-a392747da8e3792da6bb74327142d17a5dece265.zip
Separate flag codes, make 32bits and 64bits accessible on both 64bit and 32bit platforms.
Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index aff1cfb..1b08585 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -12,10 +12,7 @@ extern crate raw_cpuid;
#[macro_use]
extern crate phf;
-#[cfg(target_arch="x86")]
pub mod bits32;
-
-#[cfg(target_arch="x86_64")]
pub mod bits64;
pub mod control_regs;
@@ -25,7 +22,6 @@ pub mod io;
pub mod irq;
pub mod msr;
pub mod paging;
-pub mod flags;
pub mod segmentation;
pub mod task;
pub mod tlb;