aboutsummaryrefslogtreecommitdiff
path: root/src/core/paging.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/paging.h')
-rw-r--r--src/core/paging.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/paging.h b/src/core/paging.h
new file mode 100644
index 0000000..1e8f4e3
--- /dev/null
+++ b/src/core/paging.h
@@ -0,0 +1,13 @@
+#ifndef PAGING_H
+#define PAGING_H
+
+#define PAGING_CR0_BIT 0x80000000
+#define PAGING_DIR_LOCATION 0x1000
+#define PAGING_TABLE_LOCATION 0x5000
+
+/*
+ * Configure and enable paging
+ */
+void paging_enable();
+
+#endif \ No newline at end of file