PageManager$page_fault_address function <nucleus/kernel.h>
The PageManager$page_fault_address function finds the address of the most recent Page Fault. This function is for use in the page-fault handler.
Syntax
uintptr_t PageManager$page_fault_address( void );
Return value
The virtual address of the most recent Page Fault. This is the address that was accessed that triggered the fault, not the address of the instruction that caused it. This value has no alignment and could be an address in the middle of a page.