Fix minor warnings
This commit is contained in:
@ -110,7 +110,7 @@ void hal_vmm_map_kern(uint64_t targetcr3) {
|
||||
}
|
||||
}
|
||||
|
||||
uint64_t hal_vmm_userproc_pml4_phys(Proc *proc) {
|
||||
uint64_t hal_vmm_userproc_pml4_phys(void) {
|
||||
uint8_t *cr3phys = pmm_alloc(1);
|
||||
uint64_t phys = (uint64_t)cr3phys;
|
||||
hal_memset(VIRT(phys), 0, HAL_PAGE_SIZE);
|
||||
|
Reference in New Issue
Block a user