VirtualBox

Changeset 13175 in vbox


Ignore:
Timestamp:
Oct 10, 2008 1:30:50 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37698
Message:

Proper naming

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/HWACCM.cpp

    r13171 r13175  
    602602             * real and protected mode without paging with EPT.
    603603             */
    604             pVM->hwaccm.s.vmx.pRealModeEPTPageTable = (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);
    605605            for (unsigned i=0;i<X86_PG_ENTRIES;i++)
    606606            {
    607                 pVM->hwaccm.s.vmx.pRealModeEPTPageTable->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.pRealModeEPTPageTable->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;
    609609            }
    610610
     
    614614            LogRel(("HWACCM: Real Mode TSS guest physaddr  = %VGp\n", GCPhys));
    615615
    616             rc = PDMVMMDevHeapR3ToGCPhys(pVM, pVM->hwaccm.s.vmx.pRealModeEPTPageTable, &GCPhys);
     616            rc = PDMVMMDevHeapR3ToGCPhys(pVM, pVM->hwaccm.s.vmx.pNonPagingModeEPTPageTable, &GCPhys);
    617617            AssertRC(rc);           
    618             LogRel(("HWACCM: Real Mode EPT CR3             = %VGp\n", GCPhys));
     618            LogRel(("HWACCM: Non-Paging Mode EPT CR3       = %VGp\n", GCPhys));
    619619
    620620            rc = SUPCallVMMR0Ex(pVM->pVMR0, VMMR0_DO_HWACC_SETUP_VM, 0, NULL);
  • trunk/src/VBox/VMM/HWACCMInternal.h

    r13115 r13175  
    240240        R3PTRTYPE(PVBOXTSS)         pRealModeTSS;
    241241
    242         /** Virtual address of the identity page table used for real mode emulation in EPT mode. */
    243         R3PTRTYPE(PX86PD)           pRealModeEPTPageTable;
     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;
    244244
    245245        /** R0 memory object for the virtual APIC mmio cache. */
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r13174 r13175  
    12121212
    12131213                /* We convert it here every time as pci regions could be reconfigured. */
    1214                 rc = PDMVMMDevHeapR3ToGCPhys(pVM, pVM->hwaccm.s.vmx.pRealModeEPTPageTable, &GCPhys);
     1214                rc = PDMVMMDevHeapR3ToGCPhys(pVM, pVM->hwaccm.s.vmx.pNonPagingModeEPTPageTable, &GCPhys);
    12151215                AssertRC(rc);
    12161216
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette