diff options
Diffstat (limited to 'include/09.paging/paging05.c')
| -rw-r--r-- | include/09.paging/paging05.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/09.paging/paging05.c b/include/09.paging/paging05.c new file mode 100644 index 0000000..d99797b --- /dev/null +++ b/include/09.paging/paging05.c @@ -0,0 +1,7 @@ +void set_paging() +{ + set_pd(); + for(size_t i=0;i<1024;i++) set_pt(i,0x00400000 * i); // all 4GB mapped + loadPageDirectory(page_directory); + enablePaging(); +} |
