VMM -- Touch and set page in one operation
This commit is contained in:
1 parent
df0df93da7
commit
9bc1abceff
4 files changed
+38
-11
No files matched your search
@@ -41,7 +41,7 @@ uint64_t pmm_calloc();
|
||||
|
||||
uint64_t vmm_get_page(uint64_t P4, uint64_t addr);
|
||||
#define PAGE_EXIST(p) ((p) != (uint64_t)-1)
|
||||
int vmm_set_page(uint64_t P4, uint64_t addr, uint64_t page, uint16_t flags);
|
||||
int vmm_set_page(uint64_t P4, uint64_t addr, uint64_t page, uint16_t flags, int touch);
|
||||
int touch_page(uint64_t P4, uint64_t addr, uint16_t flags);
|
||||
void free_page(uint64_t P4, uint64_t addr, int free);
|
||||
|
||||
|
||||
Reference in new issue
Block a user