VirtualBox

Changeset 80455 in vbox


Ignore:
Timestamp:
Aug 28, 2019 4:31:47 AM (5 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Nits.

File:
1 edited

Legend:

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

    r80440 r80455  
    1046710467    VMCPU_SET_STATE(pVCpu, VMCPUSTATE_STARTED_EXEC);
    1046810468
    10469     PVMCC        pVM           = pVCpu->CTX_SUFF(pVM);
    10470     PVMXVMCSINFO pVmcsInfo     = pVmxTransient->pVmcsInfo;
    10471     PHMPHYSCPU   pHostCpu      = hmR0GetCurrentCpu();
     10469    PVMCC         pVM          = pVCpu->CTX_SUFF(pVM);
     10470    PVMXVMCSINFO  pVmcsInfo    = pVmxTransient->pVmcsInfo;
     10471    PHMPHYSCPU    pHostCpu     = hmR0GetCurrentCpu();
    1047210472    RTCPUID const idCurrentCpu = pHostCpu->idCpu;
    1047310473
     
    1055210552    hmR0VmxFlushTaggedTlb(pHostCpu, pVCpu, pVmcsInfo);          /* Invalidate the appropriate guest entries from the TLB. */
    1055310553    Assert(idCurrentCpu == pVCpu->hm.s.idLastCpu);
    10554     pVCpu->hm.s.vmx.LastError.idCurrentCpu = idCurrentCpu;      /* Update the error reporting info. with the current host CPU. */
     10554    pVCpu->hm.s.vmx.LastError.idCurrentCpu = idCurrentCpu;      /* Record the error reporting info. with the current host CPU. */
    1055510555    pVmcsInfo->idHostCpuState = idCurrentCpu;                   /* Record the CPU for which the host-state has been exported. */
    1055610556    pVmcsInfo->idHostCpuExec  = idCurrentCpu;                   /* Record the CPU on which we shall execute. */
     
    1055910559
    1056010560    TMNotifyStartOfExecution(pVM, pVCpu);                       /* Notify TM to resume its clocks when TSC is tied to execution,
    10561                                                                    as we're about to start executing the guest . */
     10561                                                                   as we're about to start executing the guest. */
    1056210562
    1056310563    /*
     
    1056810568     * host CPU ticks till the next virtual sync deadline (for the dynamic case).
    1056910569     */
    10570     if (    (pVmcsInfo->u32ProcCtls2 & VMX_PROC_CTLS2_RDTSCP)
     10570    if (   (pVmcsInfo->u32ProcCtls2 & VMX_PROC_CTLS2_RDTSCP)
    1057110571        && !fIsRdtscIntercepted)
    1057210572    {
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