fix stupid pmm glitch and compilation failure

This commit is contained in:
Matheus
2022-08-07 00:36:50 -03:00
parent c94368bbc9
commit 50243cc540
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1,6 +1,8 @@
#ifndef _HPET_H_INCLUDE
#define _HPET_H_INCLUDE
#include <stddef.h>
void hpet_init();
void hpet_wait_us(size_t us);
+1 -1
View File
@@ -238,7 +238,7 @@ void pmm_init(){
if(!current->type == LIMINE_MEMMAP_USABLE) continue;
pmm_free((void*)current->base, current->length / PAGE_SIZE + 1);
pmm_free((void*)current->base, current->length / PAGE_SIZE);
}