spz3/PageTable.h

17 lines
249 B
C++

#ifndef PAGETABLE_H
#define PAGETABLE_H
#include <vector>
#include "PTE.h"
class PageTable {
public:
std::vector<PTE> entries;
PTE &operator[](unsigned int index);
explicit PageTable(unsigned int entry_num);
};
#endif //PAGETABLE_H