vmm: vmm_tophyical()

This commit is contained in:
Matheus
2022-10-24 15:37:18 -03:00
parent 6db1cfe81d
commit 72504f3598
2 changed files with 23 additions and 4 deletions
+3 -3
View File
@@ -54,9 +54,9 @@ typedef struct {
int lock;
} vmm_context;
void vmm_init();
void vmm_destroy(vmm_context* ctx);
void vmm_init();
void vmm_destroy(vmm_context* ctx);
void* vmm_tophysical(void* addr);
bool vmm_dealwithrequest(void* addr, long error, bool user);
bool vmm_setused(void* addr, size_t pagec, size_t mmuflags);
bool vmm_unmap(void* addr, size_t pagec);