Skip to content
Hirochika Asai edited this page May 18, 2015 · 1 revision

Page Fault

Error Code

Cited from Section 4.7 and Figure 4-12 of Intel SDM Vol 3A.

31                            16 15                6 5         0
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                     |I|R|U|W|P|
|                                                     |/|S|/|/| |
|                                                     |D V|S|R| |
|                                                     | |D| | | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

P    0 : The fault was caused by a non-present page.
     1 : The fault was caused by a page-level protection violation.

W/R  0 : The access causing the fault was a read.
     1 : The access causing the fault was a write.

U/S  0 : A supervisor-mode access caused the fault.
     1 : A user-mode access caused the fault.

RSVD 0 : The fault was not caused by reserved bit violation.
     1 : The fault was caused by reserved bit set to 1 in some
         paging-structure entry.

I/D  0 : The fault was not caused by an instruction fetch.
     1 : The fault was caused by an instruction fetch.

Clone this wiki locally