Update to bitflags 0.7.0

This commit is contained in:
Philipp Oppermann
2016-05-15 12:27:43 +02:00
parent a39c59801b
commit 1703827da2
2 changed files with 2 additions and 5 deletions

View File

@@ -7,10 +7,7 @@ version = "0.1.0"
once = "0.2.1" once = "0.2.1"
rlibc = "0.1.4" rlibc = "0.1.4"
spin = "0.3.4" spin = "0.3.4"
bitflags = "0.7.0"
[dependencies.bitflags]
features = ["no_std"]
version = "0.4.0"
[dependencies.hole_list_allocator] [dependencies.hole_list_allocator]
path = "libs/hole_list_allocator" path = "libs/hole_list_allocator"

View File

@@ -40,7 +40,7 @@ impl Entry {
} }
bitflags! { bitflags! {
flags EntryFlags: u64 { pub flags EntryFlags: u64 {
const PRESENT = 1 << 0, const PRESENT = 1 << 0,
const WRITABLE = 1 << 1, const WRITABLE = 1 << 1,
const USER_ACCESSIBLE = 1 << 2, const USER_ACCESSIBLE = 1 << 2,