PMM -- calloc function for getting cleared pages

This commit is contained in:
2018-01-04 00:36:59 +01:00
parent 5dc4e27392
commit 3a4136c225
4 changed files with 13 additions and 5 deletions

View File

@@ -33,6 +33,7 @@ size_t strlen(const char *s);
void pmm_free(uintptr_t page);
uintptr_t pmm_alloc();
uintptr_t pmm_calloc();
uintptr_t vmm_get_page(void *P4, uintptr_t addr);
int vmm_set_page(void *P4, uintptr_t addr, uintptr_t page, uint16_t flags);