spz3/MMU.h

20 lines
272 B
C++

#ifndef MMU_H
#define MMU_H
#include "Kernel.h"
#include "PageTable.h"
enum AccessType {
READ,
WRITE,
};
class MMU {
public:
static void access(Kernel &kernel, std::vector<PTE> *page_table, unsigned int index, AccessType type);
};
#endif //MMU_H