Changeset 61066 in vbox
- Timestamp:
- May 20, 2016 12:09:38 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 107333
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r61058 r61066 1366 1366 VMMDECL(bool) CPUMIsHostUsingSysCall(PVM pVM); 1367 1367 VMMDECL(bool) CPUMIsGuestFPUStateActive(PVMCPU pVCpu); 1368 VMMDECL(bool) CPUMIsGuestFPUStateLoaded(PVMCPU pVCpu); 1368 1369 VMMDECL(bool) CPUMIsHostFPUStateSaved(PVMCPU pVCpu); 1369 1370 VMMDECL(bool) CPUMIsGuestDebugStateActive(PVMCPU pVCpu); -
trunk/include/VBox/vmm/em.h
r58125 r61066 179 179 VMM_INT_DECL(VBOXSTRICTRC) EMInterpretInstructionEx(PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, uint32_t *pcbWritten); 180 180 VMM_INT_DECL(VBOXSTRICTRC) EMInterpretInstructionDisasState(PVMCPU pVCpu, PDISCPUSTATE pDis, PCPUMCTXCORE pCoreCtx, 181 RTGCPTR pvFault, EMCODETYPE enmCodeType );181 RTGCPTR pvFault, EMCODETYPE enmCodeType, int iCaller); 182 182 183 183 #ifdef IN_RC -
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r61058 r61066 2632 2632 * Checks if we activated the FPU/XMM state of the guest OS. 2633 2633 * 2634 * @returns true if we did. 2635 * @returns false if not. 2634 * This differs from CPUMIsGuestFPUStateLoaded() in that it refers to the next 2635 * time we'll be executing guest code, so it may return true for 64-on-32 when 2636 * we still haven't actually loaded the FPU status, just scheduled it to be 2637 * loaded the next time we go thru the world switcher (CPUM_SYNC_FPU_STATE). 2638 * 2639 * @returns true / false. 2636 2640 * @param pVCpu The cross context virtual CPU structure. 2637 2641 */ 2638 2642 VMMDECL(bool) CPUMIsGuestFPUStateActive(PVMCPU pVCpu) 2643 { 2644 return RT_BOOL(pVCpu->cpum.s.fUseFlags & (CPUM_USED_FPU_GUEST | CPUM_SYNC_FPU_STATE)); 2645 } 2646 2647 2648 /** 2649 * Checks if we've really loaded the FPU/XMM state of the guest OS. 2650 * 2651 * @returns true / false. 2652 * @param pVCpu The cross context virtual CPU structure. 2653 */ 2654 VMMDECL(bool) CPUMIsGuestFPUStateLoaded(PVMCPU pVCpu) 2639 2655 { 2640 2656 return RT_BOOL(pVCpu->cpum.s.fUseFlags & CPUM_USED_FPU_GUEST);
Note:
See TracChangeset
for help on using the changeset viewer.