VMM -- adding interface to header file

This commit is contained in:
thomas committed 2018-03-20 14:11:22 +01:00
1 parent ce937c8088
commit 8ac8bc7b6c
1 file changed
+5
+5
View File
@@ -33,4 +33,9 @@ size_t strlen(const char *s);
void pmm_free(uintptr_t page); void pmm_free(uintptr_t page);
uintptr_t pmm_alloc(); uintptr_t pmm_alloc();
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);
int touch_page(void *P4, uintptr_t addr, uint16_t flags);
void free_page(void *P4, uintptr_t addr, int free);
#endif #endif