spz3/MMU.h

21 lines
280 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, PageTable table, int index, AccessType type);
// TODO type of access
};
#endif //MMU_H