VirtualBox

Ignore:
Timestamp:
Jul 11, 2013 11:34:04 AM (12 years ago)
Author:
vboxsync
Message:

VMM: Naming convention. lasterror->LastError.

File:
1 edited

Legend:

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

    r47065 r47090  
    171171
    172172/**
    173  * Updates error from VMCS to HMCPU's lasterror record.
     173 * Updates error from VMCS to HMCPU's LastError record.
    174174 *
    175175 * @param    pVM            Pointer to the VM.
     
    185185
    186186        VMXReadVmcs(VMX_VMCS32_RO_VM_INSTR_ERROR, &instrError);
    187         pVCpu->hm.s.vmx.lasterror.u32InstrError = instrError;
     187        pVCpu->hm.s.vmx.LastError.u32InstrError = instrError;
    188188    }
    189189    pVM->hm.s.lLastError = rc;
     
    50335033    {
    50345034        /* Try to extract more information about what might have gone wrong here. */
    5035         VMXGetActivateVMCS(&pVCpu->hm.s.vmx.lasterror.u64VMCSPhys);
    5036         pVCpu->hm.s.vmx.lasterror.u32VMCSRevision = *(uint32_t *)pVCpu->hm.s.vmx.pvVmcs;
    5037         pVCpu->hm.s.vmx.lasterror.idEnteredCpu    = pVCpu->hm.s.idEnteredCpu;
    5038         pVCpu->hm.s.vmx.lasterror.idCurrentCpu    = RTMpCpuId();
     5035        VMXGetActivateVMCS(&pVCpu->hm.s.vmx.LastError.u64VMCSPhys);
     5036        pVCpu->hm.s.vmx.LastError.u32VMCSRevision = *(uint32_t *)pVCpu->hm.s.vmx.pvVmcs;
     5037        pVCpu->hm.s.vmx.LastError.idEnteredCpu    = pVCpu->hm.s.idEnteredCpu;
     5038        pVCpu->hm.s.vmx.LastError.idCurrentCpu    = RTMpCpuId();
    50395039    }
    50405040
     
    53015301                Log(("Current stack %08x\n", &rc2));
    53025302
    5303                 pVCpu->hm.s.vmx.lasterror.u32InstrError = instrError;
    5304                 pVCpu->hm.s.vmx.lasterror.u32ExitReason = exitReason;
     5303                pVCpu->hm.s.vmx.LastError.u32InstrError = instrError;
     5304                pVCpu->hm.s.vmx.LastError.u32ExitReason = exitReason;
    53055305
    53065306#ifdef VBOX_STRICT
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