Files
bsb2/kernel/memory/pageframealloc.h
2026-01-09 20:56:11 +01:00

16 lines
287 B
C++

#ifndef _PAGEFRAMEALLOC_H_
#define _PAGEFRAMEALLOC_H_
#include <cstdint>
#include "../memory/pageframe.h"
namespace PageFrameAllocator {
void init ();
void stats ();
PageFrame* alloc(bool kernel);
void free (PageFrame *frame);
void free (uintptr_t addr);
}
#endif