Changeset 19507 in vbox
- Timestamp:
- May 7, 2009 8:58:49 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/tm.h
r19500 r19507 181 181 VMMDECL(PTMTIMERR0) TMTimerR0Ptr(PTMTIMER pTimer); 182 182 VMMDECL(PTMTIMERRC) TMTimerRCPtr(PTMTIMER pTimer); 183 VMMDECL(int) TMTimerDestroy(PTMTIMER pTimer);184 183 VMMDECL(int) TMTimerSet(PTMTIMER pTimer, uint64_t u64Expire); 185 184 VMMDECL(int) TMTimerSetMillies(PTMTIMER pTimer, uint32_t cMilliesToNext); … … 223 222 VMMR3DECL(int) TMR3TimerCreateInternal(PVM pVM, TMCLOCK enmClock, PFNTMTIMERINT pfnCallback, void *pvUser, const char *pszDesc, PPTMTIMERR3 ppTimer); 224 223 VMMR3DECL(PTMTIMERR3) TMR3TimerCreateExternal(PVM pVM, TMCLOCK enmClock, PFNTMTIMEREXT pfnCallback, void *pvUser, const char *pszDesc); 224 VMMR3DECL(int) TMR3TimerDestroy(PTMTIMER pTimer); 225 225 VMMR3DECL(int) TMR3TimerDestroyDevice(PVM pVM, PPDMDEVINS pDevIns); 226 226 VMMR3DECL(int) TMR3TimerDestroyDriver(PVM pVM, PPDMDRVINS pDrvIns); -
trunk/src/VBox/Devices/Audio/audio.c
r19061 r19507 1706 1706 else { 1707 1707 /* XXX */ 1708 rc = TM TimerDestroy (s->ts);1708 rc = TMR3TimerDestroy (s->ts); 1709 1709 return rc; 1710 1710 } -
trunk/src/VBox/Devices/vl_vbox.h
r12910 r19507 90 90 #define qemu_get_clock(enmClock) TMR3Clock((PVM)cpu_single_env->pVM, enmClock) 91 91 #define qemu_new_timer(clock, callback, user) (QEMUTimer *)TMR3TimerCreateExternal((PVM)cpu_single_env->pVM, clock, callback, user, __FUNCTION__ ) 92 #define qemu_free_timer(timer) TM TimerDestroy(timer)92 #define qemu_free_timer(timer) TMR3TimerDestroy(timer) 93 93 #define qemu_del_timer(timer) TMTimerStop(timer) 94 94 #define qemu_mod_timer(timer, expire) TMTimerSet(timer, (uint64_t)expire) -
trunk/src/VBox/VMM/PDMQueue.cpp
r19449 r19507 127 127 { 128 128 AssertMsgFailed(("TMTimerSetMillies failed rc=%Rrc\n", rc)); 129 int rc2 = TM TimerDestroy(pQueue->pTimer); AssertRC(rc2);129 int rc2 = TMR3TimerDestroy(pQueue->pTimer); AssertRC(rc2); 130 130 } 131 131 } … … 438 438 if (pQueue->pTimer) 439 439 { 440 TM TimerDestroy(pQueue->pTimer);440 TMR3TimerDestroy(pQueue->pTimer); 441 441 pQueue->pTimer = NULL; 442 442 } -
trunk/src/VBox/VMM/TM.cpp
r19500 r19507 1352 1352 && pDestroy->u.Dev.pDevIns == pDevIns) 1353 1353 { 1354 int rc = TM TimerDestroy(pDestroy);1354 int rc = TMR3TimerDestroy(pDestroy); 1355 1355 AssertRC(rc); 1356 1356 } … … 1385 1385 && pDestroy->u.Drv.pDrvIns == pDrvIns) 1386 1386 { 1387 int rc = TM TimerDestroy(pDestroy);1387 int rc = TMR3TimerDestroy(pDestroy); 1388 1388 AssertRC(rc); 1389 1389 } -
trunk/src/VBox/VMM/VMMAll/TMAll.cpp
r19502 r19507 537 537 538 538 539 #ifdef IN_RING3 /* Kept here until properly cleaned up to not use any of the local functions. */ 539 540 /** 540 541 * Destroy a timer … … 543 544 * @param pTimer Timer handle as returned by one of the create functions. 544 545 */ 545 VMM DECL(int) TMTimerDestroy(PTMTIMER pTimer)546 VMMR3DECL(int) TMR3TimerDestroy(PTMTIMER pTimer) 546 547 { 547 548 int cRetries = 1000; … … 632 633 return VERR_INTERNAL_ERROR; 633 634 } 635 #endif /* IN_RING3 */ 634 636 635 637
Note:
See TracChangeset
for help on using the changeset viewer.