summaryrefslogtreecommitdiff
path: root/kc/core/cpu/mmu.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2022-02-15 15:00:53 +0000
committerAda Christine <adachristine18@gmail.com>2022-02-15 15:00:53 +0000
commit5fc386102380e6c15c81df4fd750f54641535eaa (patch)
treec3aed0635aa10a80e1bbbe46a80e4e67f2be2c39 /kc/core/cpu/mmu.h
parent0c1bc025700656ce17bbd71f7d149744d65b7fb6 (diff)
beginning to things out into cpu-dependent and cpu-independent code
Diffstat (limited to 'kc/core/cpu/mmu.h')
-rw-r--r--kc/core/cpu/mmu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kc/core/cpu/mmu.h b/kc/core/cpu/mmu.h
new file mode 100644
index 0000000..2021a2e
--- /dev/null
+++ b/kc/core/cpu/mmu.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include "memory.h"
+
+void mmu_set_map(phys_addr_t map);
+phys_addr_t mmu_get_map(void);
+
+void mmu_invalidate(void *addr);
+