aboutsummaryrefslogtreecommitdiff
path: root/include/09.paging/paging8.c
diff options
context:
space:
mode:
Diffstat (limited to 'include/09.paging/paging8.c')
-rw-r--r--include/09.paging/paging8.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/09.paging/paging8.c b/include/09.paging/paging8.c
new file mode 100644
index 0000000..b842a0c
--- /dev/null
+++ b/include/09.paging/paging8.c
@@ -0,0 +1,3 @@
+ page_directory[num] = ((uint32_t)page_table[num]) | 3;
+ // attributes: supervisor level, read/write, present
+}