【導(dǎo)讀】Lecture3. ScottDevine. VMware,Inc.Outline. Background. –EmulatedTLB. –ShadowPageTables. PageProtection. –MemoryTracing. –HidingtheMonitor. –NestedPageTables. CPU. MMU. Memory. Controller. LocalBus. Interface. High-Speed. I/OBus. LAN. Low-Speed. I/OBus. USBCD-ROM. 04GB. Physical. Frame. Buffer. 04GB. CurrentProcess. 04GB. Physical. Frame. Buffer. 04GB. 04GB. CurrentProcess. 04GB. Physical. Frame. Buffer. –Worksinfixed-sizedpages. –PageProtection. Controlregisters. –PageTablelocation. –CurrentASID. –Alignmentchecking. TypesofMMUs. x86,x86-64,ARM,IBMSystem/370,PowerPC. ArchitectedTLBs. MIPS,SPARC,Alpha. Segmentation/NoMMU. Low-endARMs,micro-controllers. Process. PageTable. 12. 2. 3. 45. TLB. OperatingSystem’s. PageFaultHandler. 04GB. 04GB. Physical. Virtual. ROM. Virtual. Devices. Virtual. Frame. Buffer. 04GB. 04GB. Physical. Virtual. ROM. Virtual. Devices. Virtual. Frame. Buffer. 04GB. Machine. Frame. Buffer. Outline. Background. –EmulatedTLB. –ShadowPageTables. PageProtection. –MemoryTracing. –HidingtheMonitor. –NestedPageTables. w/EmulatedTLB. 04GB. 0. 0. GuestPageTable. VMMPhysMap. 4GB. 4GB. Em. ula. ted. TL. B. Pa. ge. Ta. ble. w/EmulatedTLB. EmulatedTLB. 12. 2. 3. 45. 3. 6. TLB. A. Performance. ShadowPageTables. Guest. PageTable. Shadow. PageTable. Guest. PageTable. Guest. PageTable. Shadow. PageTable. Shadow. PageTable. VirtualCR3. RealCR3