vmm: dealwithrequest returns an errno rather than a bool

This commit is contained in:
Matheus
2022-12-13 23:43:26 -03:00
parent 881acb984d
commit ce474c670b
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ typedef struct {
void vmm_init();
void vmm_destroy(vmm_context* ctx);
void* vmm_tophysical(void* addr);
bool vmm_dealwithrequest(void* addr, long error, bool user);
int 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);
bool vmm_map(void* paddr, void* vaddr, size_t pagec, size_t mmuflags);