wip on allocator

This commit is contained in:
2026-01-12 11:59:25 +01:00
parent 139d91fdfc
commit c0c4b64ef9
3 changed files with 73 additions and 25 deletions

View File

@@ -1,8 +1,16 @@
#ifndef _PAGEFRAME_H_
#define _PAGEFRAME_H_
#include "../types.h"
class PageFrame {
private:
uintptr_t address;
uintptr_t mapped_address;
public:
PageFrame();
PageFrame* queue_link;
PageFrame(uintptr_t a):address(a){};
uintptr_t getAddr(){return address;};
uintptr_t getVirtualAddr(){return address;};
};
#endif