mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Use PNG instead of SVG for address image
The SVG renders incorrectly in Chrome. See https://github.com/phil-opp/blog_os/pull/517#discussion_r247489190 .
This commit is contained in:
@@ -156,7 +156,7 @@ The physical address of the currently active level 4 page table, which is the ro
|
|||||||
|
|
||||||
The above page table hierarchy maps two pages (in blue). From the page table indices we can deduce that the virtual addresses of these two pages are `0x803FE7F000` and `0x803FE00000`. Let's see what happens when the program tries to read from address `0x803FE7F5CE`. First, we convert the address to binary and determine the page table indices and the page offset for the address:
|
The above page table hierarchy maps two pages (in blue). From the page table indices we can deduce that the virtual addresses of these two pages are `0x803FE7F000` and `0x803FE00000`. Let's see what happens when the program tries to read from address `0x803FE7F5CE`. First, we convert the address to binary and determine the page table indices and the page offset for the address:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
With these indices, we can now walk the page table hierarchy to determine the mapped frame for the address:
|
With these indices, we can now walk the page table hierarchy to determine the mapped frame for the address:
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user