Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their...

20
EE457 Page Table and TLB in x86 Updated: 10/21/2018 Slides and figures extracted from their MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere or shared with anyone.

Transcript of Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their...

Page 1: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere

EE457Page Table and TLB in x86

Updated: 10/21/2018

Slides and figures extracted from their MindShare_x86_Processor_Platform_Architecture_vB.2.pdfwith their permission for use in EE457 and EE560 courses.These slides should not be posted anywhere or shared with anyone.

Page 2: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 3: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere

In x86, in the 32-bit system, the 32-bit Virtual address is divided into a 20-bit VPN and 12-bit page offset.A 2-level page table is used as shown in the next page.

PDE (Page Directory Entry) and PTE (Page Table Entry) are each 32 bits in size. 1024 entries*32-bits each = 4 KBytes

Page 4: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere

PTBRPage Table Base Register

PDEPage Directory Entry PTE

Page Table Entry

Page 5: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 6: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 7: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 8: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 9: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 10: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 11: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 12: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 13: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere

https://docs.microsoft.com/en-us/windows/desktop/memory/physical-address-extension

Page 14: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 15: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 16: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 17: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 18: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 19: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere
Page 20: Page Table x86 Mindshare · MindShare_x86_Processor_Platform_Architecture_vB.2.pdf with their permission for use in EE457 and EE560 courses. These slides should not be posted anywhere