From fd42d634ad00b5a2517acfa8a238b9f4b03f8bdc Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Mon, 7 Dec 2015 18:23:13 +0100 Subject: [PATCH] Change title and add some incomplete introduction variants --- posts/DRAFT-paging.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/posts/DRAFT-paging.md b/posts/DRAFT-paging.md index 386d2141..61ea5e7c 100644 --- a/posts/DRAFT-paging.md +++ b/posts/DRAFT-paging.md @@ -1,10 +1,14 @@ --- layout: post -title: 'A Paging Module' +title: 'Accessing and Modifying Page Tables' --- TODO +In this post we will create a paging module, which uses recursive mapping to access and modify page tables. + +In this post we will create a paging module, which allows us to access and modify the 4-level page table. We will create functions to translate a virtual to a physical address. + ## Paging _Paging_ is a memory management scheme that separates virtual and physical memory. The address space is split into equal sized _pages_ and _page tables_ specify which virtual page points to which physical page. For an extensive paging introduction take a look at the paging chapter ([PDF][paging chapter]) of the [Three Easy Pieces] OS book. @@ -708,6 +712,7 @@ We can also free the P1, P2, or even P3 table when the last entry is freed. But _Spoiler_: There is an ugly bug in this function, which we will find in the next section. ## Testing it +TODO ## What's next?