Hardware Error Codes
Selector Related Error Code
Bits 31-15: Reserved.
Bits 15-03: The index part of the selector involved.
Bit 02: The table indicator bit,
if neither bit 01 nor bit 00 are 1.
Bit 01: IDT selector bit,
if on, the selector is in the IDT.
Bit 00: External bit,
if on, not caused by the program
Page Fault Error Code
Bits 31-04: Reserved.
Bit 03: RSV. A 1 bit was detected in a reserved
bit of a page directory or page table entry.
Bit 02: U/S.
0: The program was in supervisor mode.
1: The program was in user mode.
Bit 01: W/R.
0: The access was a read.
1: The access was a write.
Bit 00: Level.
0: The fault is because of a not-present page.
1: The fault is because of page-level protection.
[Back: Definition of Fault, Trap, Etc.]
[Next: Simultaneous Exceptions]