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:
parent
2677c200f5
commit
1073397b15
@ -176,6 +176,18 @@ void *MmGetStackGuards(char rank);
|
|||||||
void *MmTransVirtToPhyAddr(void*);
|
void *MmTransVirtToPhyAddr(void*);
|
||||||
void *MmTransPhyToVirtAddr(void* virtualAddr);
|
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
|
// Page table entry
|
||||||
typedef ulong pte_t;
|
typedef ulong pte_t;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user