18#ifndef __LIBARCH_ARM_FIRSTTABLE_H
19#define __LIBARCH_ARM_FIRSTTABLE_H
21#include <FreeNOS/System.h>
123 const bool tablesOnly);
ARM first level page table.
MemoryContext::Result unmap(Address virt, SplitAllocator *alloc)
Remove virtual address mapping.
ARMSecondTable * getSecondTable(Address virt, SplitAllocator *alloc) const
Retrieve second level page table.
MemoryContext::Result map(Address virt, Address phys, Memory::Access access, SplitAllocator *alloc)
Map a virtual address to a physical address.
MemoryContext::Result releaseSection(const Memory::Range range, SplitAllocator *alloc, const bool tablesOnly)
Release memory sections.
MemoryContext::Result translate(Address virt, Address *phys, SplitAllocator *alloc) const
Translate virtual address to physical address.
MemoryContext::Result releaseRange(const Memory::Range range, SplitAllocator *alloc)
Release range of memory.
MemoryContext::Result access(Address virt, Memory::Access *access, SplitAllocator *alloc) const
Get Access flags for a virtual address.
MemoryContext::Result mapLarge(Memory::Range range, SplitAllocator *alloc)
Map a contigous range of virtual memory to physical memory.
void releasePhysical(SplitAllocator *alloc, const Address phys)
Release a single physical page.
u32 m_tables[4096]
Array of page table entries.
ARM second level page table implementation.
Allocator which separates kernel mapped memory at virtual and physical addresses.
unsigned int u32
Unsigned 32-bit number.
unsigned long Address
A memory address.
Access
Memory access flags.