mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
fix stupid pmm glitch and compilation failure
This commit is contained in:
@@ -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
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user