mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 23:07:50 +00:00
Update bitflags to 0.9.1 (#347)
Signed-off-by: Tim Crawford <crawfxrd@gmail.com>
This commit is contained in:
committed by
Philipp Oppermann
parent
7b04934cab
commit
e54cfa4378
@@ -614,12 +614,12 @@ We get the following output:
|
||||
// in src/interrupts/mod.rs
|
||||
|
||||
bitflags! {
|
||||
flags PageFaultErrorCode: u64 {
|
||||
const PROTECTION_VIOLATION = 1 << 0,
|
||||
const CAUSED_BY_WRITE = 1 << 1,
|
||||
const USER_MODE = 1 << 2,
|
||||
const MALFORMED_TABLE = 1 << 3,
|
||||
const INSTRUCTION_FETCH = 1 << 4,
|
||||
struct PageFaultErrorCode: u64 {
|
||||
const PROTECTION_VIOLATION = 1 << 0;
|
||||
const CAUSED_BY_WRITE = 1 << 1;
|
||||
const USER_MODE = 1 << 2;
|
||||
const MALFORMED_TABLE = 1 << 3;
|
||||
const INSTRUCTION_FETCH = 1 << 4;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -633,7 +633,7 @@ Let's try `make run` again:
|
||||
Compiling spin v0.4.5
|
||||
Compiling once v0.3.2
|
||||
Compiling x86 v0.8.0
|
||||
Compiling bitflags v0.7.0
|
||||
Compiling bitflags v0.9.1
|
||||
Compiling raw-cpuid v2.0.1
|
||||
Compiling rlibc v0.1.5
|
||||
Compiling linked_list_allocator v0.2.3
|
||||
|
||||
Reference in New Issue
Block a user