1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00

New dynamic paging implementation (2) #67

This commit is contained in:
Adrien Bourmault 2020-01-09 21:02:42 +01:00
parent 2677c200f5
commit 1073397b15

View File

@ -176,6 +176,18 @@ void *MmGetStackGuards(char rank);
void *MmTransVirtToPhyAddr(void*);
void *MmTransPhyToVirtAddr(void* virtualAddr);
//
// Set flags to a page
//
void MmSetPage(void* virtualAddr, ulong flags);
void MmUnSetPage(void* virtualAddr, ulong flags);
//
// Map a page
//
void MmMapPage(void* virtualAddr, void* physicalAddr, ulong flags)
void MmUnmapPage(void* virtualAddr);
// Page table entry
typedef ulong pte_t;