Fix minor warnings

This commit is contained in:
2025-10-03 22:41:38 +02:00
parent fc47ff581e
commit 20b4545cae
10 changed files with 18 additions and 17 deletions

View File

@ -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);