diff options
author | 2018-04-20 19:32:18 -0700 | |
---|---|---|
committer | 2018-04-20 19:32:18 -0700 | |
commit | 1cee98a89ce51331dc21027b6c20615dd00947c2 (patch) | |
tree | 69df4f079e8bd3aa3fac2415b074680cc66ffeb4 /src/lib.rs | |
parent | a5d2a70541373d263443cfb4ba108c1a3a971070 (diff) | |
download | rust-x86-1cee98a89ce51331dc21027b6c20615dd00947c2.tar.gz rust-x86-1cee98a89ce51331dc21027b6c20615dd00947c2.tar.zst rust-x86-1cee98a89ce51331dc21027b6c20615dd00947c2.zip |
Major rewrite for the segmentation mess.
Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -22,7 +22,6 @@ pub mod bits32; pub mod bits64; pub mod controlregs; -pub mod descriptor; pub mod dtables; pub mod io; pub mod irq; @@ -55,7 +54,7 @@ mod std { #[derive(Copy, Clone, PartialEq, Eq)] #[repr(u8)] -pub enum PrivilegeLevel { +pub enum Ring { Ring0 = 0, Ring1 = 1, Ring2 = 2, |