fix errors

This commit is contained in:
2026-01-09 21:02:15 +01:00
parent 3e91c055db
commit 864a1030e7
3 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,4 @@
#include "../memory/pageframealloc.h"
#include <cstdint>
#include "pageframe.h"
void PageFrameAllocator::init(){
@@ -9,11 +8,14 @@ void PageFrameAllocator::stats(){
}
PageFrame* PageFrameAllocator::alloc(bool kernel){
(void) kernel;
return 0;
}
void PageFrameAllocator::free(PageFrame* frame){
(void) frame;
}
void PageFrameAllocator::free(uintptr_t addr){
(void) addr;
}

View File

@@ -1,8 +1,7 @@
#ifndef _PAGEFRAMEALLOC_H_
#define _PAGEFRAMEALLOC_H_
#include <cstdint>
#include <types.h>
#include "../memory/pageframe.h"
namespace PageFrameAllocator {