 |
Xyris
0.5
|
Go to the documentation of this file.
24 void init(MemoryMap* map);
66 void mapKernelPage(Arch::Memory::Address vaddr, Arch::Memory::Address paddr);
void mapKernelPage(Arch::Memory::Address vaddr, Arch::Memory::Address paddr)
Map a page into the kernel address space.
void init(MemoryMap *map)
Sets up the environment, page directories etc and enables paging.
void freePage(void *page, size_t size)
Frees pages starting at a given page address.
uintptr_t getPageDirPhysAddr()
Gets the physical address of the current page directory.
Memory map containing a number of Memory sections that describe the physical memory layout.
void * newPage(size_t size)
Returns a new page in memory for use. If less than one page is requested, exactly one page will be al...
void mapKernelRangePhysical(Section sect)
Map a kernel address range into physical memory.
bool isPresent(uintptr_t addr)
Checks whether an address is mapped into memory.
Architecture memory management & paging API.
void mapKernelRangeVirtual(Section sect)
Map an address range into the kernel virtual address space.