Changeset 53798 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- Jan 14, 2015 11:52:58 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp
r53796 r53798 37 37 # include <VBox/vmm/vmapi.h> 38 38 # include <VBox/vmm/vmcpuset.h> 39 # include <VBox/vmm/vm.h> /* Need VMCPU::idCpu. */40 39 #endif 41 40 #include <VBox/sup.h> … … 802 801 STAM_REL_PROFILE_START(&pSVGAState->StatBusyDelayEmts, EmtDelay); 803 802 PVM pVM = PDMDevHlpGetVM(pThis->pDevInsR3); 804 VMCPUID idCpu = PDMDevHlpGet VMCPU(pThis->pDevInsR3)->idCpu; /** @todo add a separate dev helper for this. */803 VMCPUID idCpu = PDMDevHlpGetCurrentCpuId(pThis->pDevInsR3); 805 804 VMCPUSET_ATOMIC_ADD(&pSVGAState->BusyDelayedEmts, idCpu); 806 805 ASMAtomicIncU32(&pSVGAState->cBusyDelayedEmts);
Note:
See TracChangeset
for help on using the changeset viewer.