Changeset 23915 in vbox for trunk/include
- Timestamp:
- Oct 20, 2009 5:06:58 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 53720
- Location:
- trunk/include/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmdev.h
r22480 r23915 2177 2177 2178 2178 /** 2179 * Gets the VM state. 2180 * 2181 * @returns VM state. 2182 * @param pDevIns The device instance. 2183 * @thread Any thread (just keep in mind that it's volatile info). 2184 */ 2185 DECLR3CALLBACKMEMBER(VMSTATE, pfnVMState, (PPDMDEVINS pDevIns)); 2186 2187 /** 2188 * Checks if the VM was teleported and hasn't been fully resumed yet. 2189 * 2190 * @returns true / false. 2191 * @param pDevIns The device instance. 2192 * @thread Any thread. 2193 */ 2194 DECLR3CALLBACKMEMBER(bool, pfnVMTeleportedAndNotFullyResumedYet,(PPDMDEVINS pDevIns)); 2195 2196 /** 2179 2197 * Assert that the current thread is the emulation thread. 2180 2198 * … … 2368 2386 DECLR3CALLBACKMEMBER(int, pfnPhysGCPtr2GCPhys, (PPDMDEVINS pDevIns, RTGCPTR GCPtr, PRTGCPHYS pGCPhys)); 2369 2387 2370 /**2371 * Gets the VM state.2372 *2373 * @returns VM state.2374 * @param pDevIns The device instance.2375 * @thread Any thread (just keep in mind that it's volatile info).2376 */2377 DECLR3CALLBACKMEMBER(VMSTATE, pfnVMState, (PPDMDEVINS pDevIns));2378 2379 2388 /** Space reserved for future members. 2380 2389 * @{ */ 2390 DECLR3CALLBACKMEMBER(void, pfnReserved1,(void)); 2391 DECLR3CALLBACKMEMBER(void, pfnReserved2,(void)); 2392 DECLR3CALLBACKMEMBER(void, pfnReserved3,(void)); 2381 2393 DECLR3CALLBACKMEMBER(void, pfnReserved4,(void)); 2382 2394 DECLR3CALLBACKMEMBER(void, pfnReserved5,(void)); … … 3672 3684 3673 3685 /** 3686 * @copydoc PDMDEVHLPR3::pfnVMTeleportedAndNotFullyResumedYet 3687 */ 3688 DECLINLINE(bool) PDMDevHlpVMTeleportedAndNotFullyResumedYet(PPDMDEVINS pDevIns) 3689 { 3690 return pDevIns->pDevHlpR3->pfnVMTeleportedAndNotFullyResumedYet(pDevIns); 3691 } 3692 3693 /** 3674 3694 * @copydoc PDMDEVHLPR3::pfnA20Set 3675 3695 */ -
trunk/include/VBox/pdmdrv.h
r22480 r23915 501 501 502 502 /** 503 * Gets the VM state. 504 * 505 * @returns VM state. 506 * @param pDrvIns The driver instance. 507 * @thread Any thread (just keep in mind that it's volatile info). 508 */ 509 DECLR3CALLBACKMEMBER(VMSTATE, pfnVMState, (PPDMDRVINS pDrvIns)); 510 511 /** 512 * Checks if the VM was teleported and hasn't been fully resumed yet. 513 * 514 * @returns true / false. 515 * @param pDrvIns The driver instance. 516 * @thread Any thread. 517 */ 518 DECLR3CALLBACKMEMBER(bool, pfnVMTeleportedAndNotFullyResumedYet,(PPDMDRVINS pDrvIns)); 519 520 /** 503 521 * Create a queue. 504 522 * … … 698 716 DECLR3CALLBACKMEMBER(int, pfnPDMThreadCreate,(PPDMDRVINS pDrvIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADDRV pfnThread, 699 717 PFNPDMTHREADWAKEUPDRV pfnWakeup, size_t cbStack, RTTHREADTYPE enmType, const char *pszName)); 700 701 /**702 * Gets the VM state.703 *704 * @returns VM state.705 * @param pDrvIns The driver instance.706 * @thread Any thread (just keep in mind that it's volatile info).707 */708 DECLR3CALLBACKMEMBER(VMSTATE, pfnVMState, (PPDMDRVINS pDrvIns));709 718 710 719 #ifdef VBOX_WITH_PDM_ASYNC_COMPLETION … … 883 892 884 893 /** 894 * @copydoc PDMDRVHLP::pfnVMState 895 */ 896 DECLINLINE(VMSTATE) PDMDrvHlpVMState(PPDMDRVINS pDrvIns) 897 { 898 return pDrvIns->pDrvHlp->pfnVMState(pDrvIns); 899 } 900 901 /** 902 * @copydoc PDMDRVHLP::pfnVMTeleportedAndNotFullyResumedYet 903 */ 904 DECLINLINE(bool) PDMDrvHlpVMTeleportedAndNotFullyResumedYet(PPDMDRVINS pDrvIns) 905 { 906 return pDrvIns->pDrvHlp->pfnVMTeleportedAndNotFullyResumedYet(pDrvIns); 907 } 908 909 /** 885 910 * @copydoc PDMDRVHLP::pfnPDMQueueCreate 886 911 */ … … 1009 1034 } 1010 1035 1011 /**1012 * @copydoc PDMDRVHLP::pfnVMState1013 */1014 DECLINLINE(VMSTATE) PDMDrvHlpVMState(PPDMDRVINS pDrvIns)1015 {1016 return pDrvIns->pDrvHlp->pfnVMState(pDrvIns);1017 }1018 1019 1036 #ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 1020 1037 /** -
trunk/include/VBox/vmapi.h
r23801 r23915 361 361 VMMR3DECL(VMSTATE) VMR3GetState(PVM pVM); 362 362 VMMR3DECL(const char *) VMR3GetStateName(VMSTATE enmState); 363 VMMR3DECL(bool) VMR3TeleportedAndNotFullyResumedYet(PVM pVM); 363 364 VMMR3DECL(int) VMR3AtErrorRegister(PVM pVM, PFNVMATERROR pfnAtError, void *pvUser); 364 365 VMMR3DECL(int) VMR3AtErrorRegisterU(PUVM pVM, PFNVMATERROR pfnAtError, void *pvUser);
Note:
See TracChangeset
for help on using the changeset viewer.