wip on allocator
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user