Update bitflags to 0.9.1 (#347)

Signed-off-by: Tim Crawford <crawfxrd@gmail.com>
This commit is contained in:
Tim Crawford
2017-08-05 00:33:56 -04:00
committed by Philipp Oppermann
parent 7b04934cab
commit e54cfa4378
7 changed files with 44 additions and 44 deletions

View File

@@ -558,12 +558,12 @@ The flag bits are common between all descriptor types, so we create a general `D
// in src/interrupts/gdt.rs
bitflags! {
flags DescriptorFlags: u64 {
const CONFORMING = 1 << 42,
const EXECUTABLE = 1 << 43,
const USER_SEGMENT = 1 << 44,
const PRESENT = 1 << 47,
const LONG_MODE = 1 << 53,
struct DescriptorFlags: u64 {
const CONFORMING = 1 << 42;
const EXECUTABLE = 1 << 43;
const USER_SEGMENT = 1 << 44;
const PRESENT = 1 << 47;
const LONG_MODE = 1 << 53;
}
}
```