Changeset 13175 in vbox
- Timestamp:
- Oct 10, 2008 1:30:50 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 37698
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/HWACCM.cpp
r13171 r13175 602 602 * real and protected mode without paging with EPT. 603 603 */ 604 pVM->hwaccm.s.vmx.p RealModeEPTPageTable = (PX86PD)((char *)pVM->hwaccm.s.vmx.pRealModeTSS + PAGE_SIZE * 3);604 pVM->hwaccm.s.vmx.pNonPagingModeEPTPageTable = (PX86PD)((char *)pVM->hwaccm.s.vmx.pRealModeTSS + PAGE_SIZE * 3); 605 605 for (unsigned i=0;i<X86_PG_ENTRIES;i++) 606 606 { 607 pVM->hwaccm.s.vmx.p RealModeEPTPageTable->a[i].u = X86_PDE4M_P | X86_PDE4M_RW | X86_PDE4M_US | X86_PDE4M_A | X86_PDE4M_D | X86_PDE4M_PS | X86_PDE4M_G;608 pVM->hwaccm.s.vmx.p RealModeEPTPageTable->a[i].b.u10PageNo = _4M * i;607 pVM->hwaccm.s.vmx.pNonPagingModeEPTPageTable->a[i].u = X86_PDE4M_P | X86_PDE4M_RW | X86_PDE4M_US | X86_PDE4M_A | X86_PDE4M_D | X86_PDE4M_PS | X86_PDE4M_G; 608 pVM->hwaccm.s.vmx.pNonPagingModeEPTPageTable->a[i].b.u10PageNo = _4M * i; 609 609 } 610 610 … … 614 614 LogRel(("HWACCM: Real Mode TSS guest physaddr = %VGp\n", GCPhys)); 615 615 616 rc = PDMVMMDevHeapR3ToGCPhys(pVM, pVM->hwaccm.s.vmx.p RealModeEPTPageTable, &GCPhys);616 rc = PDMVMMDevHeapR3ToGCPhys(pVM, pVM->hwaccm.s.vmx.pNonPagingModeEPTPageTable, &GCPhys); 617 617 AssertRC(rc); 618 LogRel(("HWACCM: Real Mode EPT CR3= %VGp\n", GCPhys));618 LogRel(("HWACCM: Non-Paging Mode EPT CR3 = %VGp\n", GCPhys)); 619 619 620 620 rc = SUPCallVMMR0Ex(pVM->pVMR0, VMMR0_DO_HWACC_SETUP_VM, 0, NULL); -
trunk/src/VBox/VMM/HWACCMInternal.h
r13115 r13175 240 240 R3PTRTYPE(PVBOXTSS) pRealModeTSS; 241 241 242 /** Virtual address of the identity page table used for real mode emulation in EPT mode. */243 R3PTRTYPE(PX86PD) p RealModeEPTPageTable;242 /** Virtual address of the identity page table used for real mode and protected mode without paging emulation in EPT mode. */ 243 R3PTRTYPE(PX86PD) pNonPagingModeEPTPageTable; 244 244 245 245 /** R0 memory object for the virtual APIC mmio cache. */ -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r13174 r13175 1212 1212 1213 1213 /* We convert it here every time as pci regions could be reconfigured. */ 1214 rc = PDMVMMDevHeapR3ToGCPhys(pVM, pVM->hwaccm.s.vmx.p RealModeEPTPageTable, &GCPhys);1214 rc = PDMVMMDevHeapR3ToGCPhys(pVM, pVM->hwaccm.s.vmx.pNonPagingModeEPTPageTable, &GCPhys); 1215 1215 AssertRC(rc); 1216 1216
Note:
See TracChangeset
for help on using the changeset viewer.