VirtualBox

Changeset 53795 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jan 14, 2015 9:36:47 AM (10 years ago)
Author:
vboxsync
Message:

Added an official way of implementing a HLT/MWAIT like port on a device (for use with VMSVGA).

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/vm.h

    r53630 r53795  
    695695#else
    696696# define VMCPU_ASSERT_EMT_RETURN(pVCpu, rc) \
    697     AssertMsg(VMCPU_IS_EMT(pVCpu), \
    698               ("Not emulation thread! Thread=%RTnthrd ThreadEMT=%RTnthrd idCpu=%#x\n", \
    699                RTThreadNativeSelf(), (pVCpu)->hNativeThread, (pVCpu)->idCpu), \
    700               (rc))
     697    AssertMsgReturn(VMCPU_IS_EMT(pVCpu), \
     698                    ("Not emulation thread! Thread=%RTnthrd ThreadEMT=%RTnthrd idCpu=%#x\n", \
     699                     RTThreadNativeSelf(), (pVCpu)->hNativeThread, (pVCpu)->idCpu), \
     700                    (rc))
    701701#endif
    702702
  • trunk/include/VBox/vmm/vmapi.h

    r52419 r53795  
    472472VMMR3_INT_DECL(void)        VMR3NotifyGlobalFFU(PUVM pUVM, uint32_t fFlags);
    473473VMMR3_INT_DECL(void)        VMR3NotifyCpuFFU(PUVMCPU pUVMCpu, uint32_t fFlags);
     474VMMR3DECL(int)              VMR3NotifyCpuDeviceReady(PVM pVM, VMCPUID idCpu);
    474475VMMR3_INT_DECL(int)         VMR3WaitHalted(PVM pVM, PVMCPU pVCpu, bool fIgnoreInterrupts);
    475476VMMR3_INT_DECL(int)         VMR3WaitU(PUVMCPU pUVMCpu);
     477VMMR3DECL(int)              VMR3WaitForDeviceReady(PVM pVM, VMCPUID idCpu);
    476478VMMR3_INT_DECL(int)         VMR3AsyncPdmNotificationWaitU(PUVMCPU pUVCpu);
    477479VMMR3_INT_DECL(void)        VMR3AsyncPdmNotificationWakeupU(PUVM pUVM);
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