spz3/PhysicalPage.h

18 lines
327 B
C
Raw Normal View History

2025-03-31 17:19:43 +03:00
#ifndef PHYSICALPAGE_H
#define PHYSICALPAGE_H
#include "PageTable.h"
class PhysicalPage {
public:
unsigned int PPN, idx;
PageTable *PT;
PhysicalPage *next, *prev;
2025-03-31 17:19:43 +03:00
explicit PhysicalPage(unsigned int PPN);
void take_up(PageTable *PT, unsigned int idx);
};
#endif //PHYSICALPAGE_H