From 2a0e5e469674071d85169ca73a261cb51c8be1e0 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 23 Jun 2019 18:10:21 +0200 Subject: [PATCH] Fix wrong address in page table mapping example --- .../second-edition/posts/09-paging-implementation/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/second-edition/posts/09-paging-implementation/index.md b/blog/content/second-edition/posts/09-paging-implementation/index.md index a194b9a9..d5531c25 100644 --- a/blog/content/second-edition/posts/09-paging-implementation/index.md +++ b/blog/content/second-edition/posts/09-paging-implementation/index.md @@ -124,7 +124,7 @@ By writing to the identity-mapped level 1 table, our kernel can create up to 511 - By mapping the 0th entry of the level 1 table to the frame with address `24 KiB`, it created a temporary mapping of the virtual page at `0 KiB` to the physical frame of the level 2 page table, indicated by the dashed arrow. - By mapping the 9th entry of the level 1 table to the frame with address `4 KiB`, it created a temporary mapping of the virtual page at `36 KiB` to the physical frame of the level 4 page table, indicated by the dashed arrow. -Now the kernel can access the level 2 page table by writing to page `0 KiB` and the level 4 page table by writing to page `33 KiB`. +Now the kernel can access the level 2 page table by writing to page `0 KiB` and the level 4 page table by writing to page `36 KiB`. The process for accessing an arbitrary page table frame with temporary mappings would be: