spz3/MMU.h

20 lines
272 B
C
Raw Permalink Normal View History

2025-03-31 17:19:43 +03:00
#ifndef MMU_H
#define MMU_H
#include "Kernel.h"
#include "PageTable.h"
enum AccessType {
READ,
WRITE,
};
class MMU {
public:
2025-04-01 16:29:33 +03:00
static void access(Kernel &kernel, std::vector<PTE> *page_table, unsigned int index, AccessType type);
2025-03-31 17:19:43 +03:00
};
#endif //MMU_H