VirtualBox

Changeset 48210 in vbox for trunk/src


Ignore:
Timestamp:
Aug 30, 2013 10:22:15 PM (11 years ago)
Author:
vboxsync
Message:

VMM: More naming fixes.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMR0.cpp

    r48209 r48210  
    114114
    115115        /** Host CR4 value (set by ring-0 VMX init) */
     116        /** @todo This isn't used for anything relevant. Remove later? */
    116117        uint64_t                    u64HostCr4;
    117118
     
    12491250    pVM->hm.s.vmx.cPreemptTimerShift    = g_HvmR0.vmx.cPreemptTimerShift;
    12501251    pVM->hm.s.vmx.msr.feature_ctrl      = g_HvmR0.vmx.msr.u64FeatureCtrl;
    1251     pVM->hm.s.vmx.hostCR4               = g_HvmR0.vmx.u64HostCr4;
    1252     pVM->hm.s.vmx.hostEFER              = g_HvmR0.vmx.u64HostEfer;
     1252    pVM->hm.s.vmx.u64HostCr4            = g_HvmR0.vmx.u64HostCr4;
     1253    pVM->hm.s.vmx.u64HostEfer           = g_HvmR0.vmx.u64HostEfer;
    12531254    pVM->hm.s.vmx.msr.vmx_basic_info    = g_HvmR0.vmx.msr.u64BasicInfo;
    12541255    pVM->hm.s.vmx.msr.vmx_pin_ctls      = g_HvmR0.vmx.msr.vmxPinCtls;
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r48023 r48210  
    976976
    977977    LogRel(("HM: Using VT-x implementation 2.0!\n"));
    978     LogRel(("HM: Host CR4                        = %#RX64\n", pVM->hm.s.vmx.hostCR4));
     978    LogRel(("HM: Host CR4                        = %#RX64\n", pVM->hm.s.vmx.u64HostCr4));
    979979    LogRel(("HM: MSR_IA32_FEATURE_CONTROL        = %#RX64\n", pVM->hm.s.vmx.msr.feature_ctrl));
    980980    LogRel(("HM: MSR_IA32_VMX_BASIC_INFO         = %#RX64\n", pVM->hm.s.vmx.msr.vmx_basic_info));
     
    12581258#if RT_ARCH_X86
    12591259        if (   !CPUMGetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE)
    1260             || !(pVM->hm.s.vmx.hostEFER & MSR_K6_EFER_NXE))
     1260            || !(pVM->hm.s.vmx.u64HostEfer & MSR_K6_EFER_NXE))
    12611261            LogRel(("NX is only supported for 64-bit guests!\n"));
    12621262#endif
     
    12671267    /** @todo this needs to be fixed properly!! */
    12681268    else if (   CPUMGetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE)
    1269              && (pVM->hm.s.vmx.hostEFER & MSR_K6_EFER_NXE))
     1269             && (pVM->hm.s.vmx.u64HostEfer & MSR_K6_EFER_NXE))
    12701270        CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_NX);
    12711271    else
  • trunk/src/VBox/VMM/include/HMInternal.h

    r48209 r48210  
    354354#endif
    355355        /** Host CR4 value (set by ring-0 VMX init) */
    356         uint64_t                    hostCR4;
     356        uint64_t                    u64HostCr4;
    357357
    358358        /** Host EFER value (set by ring-0 VMX init) */
    359         uint64_t                    hostEFER;
     359        uint64_t                    u64HostEfer;
    360360
    361361        /** VMX MSR values */
  • trunk/src/VBox/VMM/testcase/tstVMStructSize.cpp

    r48100 r48210  
    405405    /* hm - 32-bit gcc won't align uint64_t naturally, so check. */
    406406    CHECK_MEMBER_ALIGNMENT(HM, uMaxAsid, 8);
    407     CHECK_MEMBER_ALIGNMENT(HM, vmx.hostCR4, 8);
     407    CHECK_MEMBER_ALIGNMENT(HM, vmx.u64HostCr4, 8);
    408408    CHECK_MEMBER_ALIGNMENT(HM, vmx.msr.feature_ctrl, 8);
    409409    CHECK_MEMBER_ALIGNMENT(HM, StatTprPatchSuccess, 8);
Note: See TracChangeset for help on using the changeset viewer.

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