Skip to main content

Module fault

Module fault 

Source

Constantsยง

PF_ERR_PRESENT ๐Ÿ”’
error code bits for the page fault exception (see AMD64 APM vol 2)
PF_ERR_USER ๐Ÿ”’
PF_ERR_WRITE ๐Ÿ”’

Functionsยง

get_fault_addr
for x86_64, return the CR2 register.
page_fault_handler
handle page fault.