add paging illustration

this sample pretends that each directory has only
2 table entries.
This commit is contained in:
Berkus Decker 2021-03-11 01:57:13 +02:00
parent bb7316a7cb
commit cba96c8de3
1 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,40 @@
@startuml
'https://plantuml.com/object-diagram
object GiantPage
object GiantPage_2
object LargePage
object Page
object Page_2
object Unmapped
map L1PageUpperDirectory_2 {
entry0 *--> GiantPage_2
entry1 *--> Unmapped
}
map L3PageTable {
entry0 *--> Page
entry1 *--> Page_2
}
map L2PageDirectory {
entry0 *-> L3PageTable
entry1 *--> LargePage
}
map L1PageUpperDirectory {
entry0 *-> L2PageDirectory
entry1 *--> GiantPage
}
map L0PageGlobalDirectory {
entry0 *-> L1PageUpperDirectory
entry1 *--> L1PageUpperDirectory_2
}
map VirtSpace {
root *-> L0PageGlobalDirectory
}
@enduml