33 typedef enum MMUAccessType {
43 void mmu_initialise(
void);
46 bool mmu_enable_data(
bool enable);
49 bool mmu_enable_code(
bool enable);
52 void mmu_add_space(uint32_t startAddr, uint32_t endAddr, MMUAccessType permissions, uint8_t processID);
55 void mmu_remove_space(uint32_t startAddr, uint32_t endAddr);
58 int mmu_get_tlb_count(
void);
61 uint8_t mmu_new_processID(
void);
64 void mmu_free_processID(uint8_t freeThis);
67 uint8_t mmu_current_processID(
void);
70 uint8_t mmu_set_processID(uint8_t toID);