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