Files
SplenkOS/kernel/src/PageFrameAllocator.h

15 lines
328 B
C++

#pragma once
#include "efiMemory.h"
#include <stdint.h>
#include "Bitmap.h"
#include "memory.h"
class PageFrameAllocator {
public:
void ReadEFIMemoryMap(EFI_MEMORY_DESCRIPTOR* mMap, size_t mMapSize, size_t mMapDescSize);
Bitmap PageBitmap;
private:
void InitBitmap(size_t bitmapSize, void* bufferAddress);
};