u32 m_pages[1024]
Array of page table entries.
u32 flags(Memory::Access access) const
Convert MemoryAccess to page table flags.
#define TABENTRY(vaddr)
Entry inside the page table of a given virtual address.
MemoryContext::Result translate(Address virt, Address *phys) const
Translate virtual address to physical address.
MemoryContext::Result map(Address virt, Address phys, Memory::Access access)
Map a virtual address to a physical address.
MemoryContext::Result unmap(Address virt)
Remove virtual address mapping.
MemoryContext::Result access(Address virt, Memory::Access *access) const
Get Access flags for a virtual address.