Skip to content

Commit fd55fa6

Browse files
authored
Merge pull request #564 from rust-osdev/feature/hlat-error-code
add PageFaultErrorCode::HLAT
2 parents ce5c6ac + 802c292 commit fd55fa6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/structures/idt.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,10 @@ bitflags! {
11981198
/// access.
11991199
const SHADOW_STACK = 1 << 6;
12001200

1201+
/// If this flag is set, it indicates that the page fault occured during HLAT paging
1202+
/// (Intel-only).
1203+
const HLAT = 1 << 7;
1204+
12011205
/// If this flag is set, it indicates that the page fault was caused by SGX access-control
12021206
/// requirements (Intel-only).
12031207
const SGX = 1 << 15;

0 commit comments

Comments
 (0)