VirtualBox

Changeset 87480 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Jan 29, 2021 2:55:56 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142502
Message:

VMM/HMVMX: Moving more stuff to HMR0PERVCPU. bugref:9217

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/HMAll.cpp

    r87479 r87480  
    429429 * Wrapper for RTMpPokeCpu to deal with VERR_NOT_SUPPORTED.
    430430 */
    431 static void hmR0PokeCpu(PVMCPU pVCpu, RTCPUID idHostCpu)
    432 {
    433     uint32_t cWorldSwitchExits = ASMAtomicUoReadU32(&pVCpu->hm.s.cWorldSwitchExits);
     431static void hmR0PokeCpu(PVMCPUCC pVCpu, RTCPUID idHostCpu)
     432{
     433    uint32_t cWorldSwitchExits = ASMAtomicUoReadU32(&pVCpu->hmr0.s.cWorldSwitchExits);
    434434
    435435    STAM_PROFILE_ADV_START(&pVCpu->hm.s.StatPoke, x);
     
    460460        /* Spin until the VCPU has switched back (poking is async). */
    461461        while (   ASMAtomicUoReadBool(&pVCpu->hm.s.fCheckedTLBFlush)
    462                && cWorldSwitchExits == ASMAtomicUoReadU32(&pVCpu->hm.s.cWorldSwitchExits))
     462               && cWorldSwitchExits == ASMAtomicUoReadU32(&pVCpu->hmr0.s.cWorldSwitchExits))
    463463            ASMNopPause();
    464464
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