VirtualBox

Changeset 84709 in vbox


Ignore:
Timestamp:
Jun 5, 2020 6:26:07 PM (4 years ago)
Author:
vboxsync
Message:

VMM/DBGF: Add DBGFR3GetCpuState() to return the current CPU state as a human readable string [Windows build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/DBGFCpu.cpp

    r84706 r84709  
    177177
    178178    PVMCPU pVCpu = VMMGetCpuById(pUVM->pVM, idCpu);
    179     VMCPUSTATE enmCpuState;
    180     ASMAtomicReadSize(&pVCpu->enmState, &enmCpuState);
     179    VMCPUSTATE enmCpuState = (VMCPUSTATE)ASMAtomicReadU32((volatile uint32_t *)&pVCpu->enmState);
    181180
    182181    switch (enmCpuState)
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