ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation.memory.vm.fault Module Reference

Data Structures

struct  zxfoundation::memory::vm::_fault_file_request
 Coordinates of a file-backed miss captured while the VM-space lock is held. More...

Enumerations

enum class  zxfoundation::memory::vm::fault_action : u8 {
  resolved = 0 , killed = 1 , guard_hit = 2 , stack_grew = 3 ,
  retry = 4 , oom = 5
}
 Outcome of a page fault resolution. More...

Functions

auto zxfoundation::memory::vm::handle_page_fault (vm_space &space, u64 root_phys, u8 storage_key, u64 fault_va, bool is_write, bool is_exec) noexcept -> fault_action

Variables

u32 file_index {0}
void * file_node {nullptr}
u8 storage_key {0}

Files

file  zxfoundation/memory/vm.zcomponent/fault.cxxm
 page fault handler — core interface.
file  zxfoundation/memory/vm.zcomponent/fault.cxx
 page fault handler — implementation.