aboutsummaryrefslogtreecommitdiff
path: root/include/09.paging/paging6.c
diff options
context:
space:
mode:
Diffstat (limited to 'include/09.paging/paging6.c')
-rw-r--r--include/09.paging/paging6.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/09.paging/paging6.c b/include/09.paging/paging6.c
new file mode 100644
index 0000000..c5ffd58
--- /dev/null
+++ b/include/09.paging/paging6.c
@@ -0,0 +1,6 @@
+void set_pt(size_t num,uint32_t address)
+{
+ // holds the physical address where we want to start mapping these pages
+ // to.
+ // in this case, we want to map these pages to the very beginning of
+ // memory.