Changeset 12985 in vbox
- Timestamp:
- Oct 4, 2008 11:25:26 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 37418
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMInternal.h
r12984 r12985 843 843 /** Linked list of force action driven PDM queues. */ 844 844 R3PTRTYPE(struct PDMQUEUE *) pQueuesForced; 845 /** Pointer to the queue which should be manually flushed - R3 Ptr.846 * Only touched by EMT. */847 R3PTRTYPE(struct PDMQUEUE *) pQueueFlushR3;848 845 /** Pointer to the queue which should be manually flushed - R0 Ptr. 849 846 * Only touched by EMT. */ 850 847 R0PTRTYPE(struct PDMQUEUE *) pQueueFlushR0; 851 /** Pointer to the queue which should be manually flushed - RC Ptr. */ 848 /** Pointer to the queue which should be manually flushed - RC Ptr. 849 * Only touched by EMT. */ 852 850 RCPTRTYPE(struct PDMQUEUE *) pQueueFlushRC; 853 851 #if HC_ARCH_BITS == 64 -
trunk/src/VBox/VMM/PDMQueue.cpp
r12984 r12985 574 574 pQueue->pVMRC = pVM->pVMRC; 575 575 576 /* Pending GC items. */576 /* Pending RC items. */ 577 577 if (pQueue->pPendingRC) 578 578 { … … 789 789 * flush in ring-3. 790 790 * 791 * The queue which should be flushed is pointed to by either pQueueFlush GC,792 * pQueueFlush HC, or pQueueue. This function will flush that queue and793 * recalcthe queue FF.791 * The queue which should be flushed is pointed to by either pQueueFlushRC, 792 * pQueueFlushR0, or pQueue. This function will flush that queue and recalc 793 * the queue FF. 794 794 * 795 795 * @param pVM The VM handle. … … 798 798 PDMR3DECL(void) PDMR3QueueFlushWorker(PVM pVM, PPDMQUEUE pQueue) 799 799 { 800 Assert(pVM->pdm.s.pQueueFlushR 3 || pVM->pdm.s.pQueueFlushR0 || pVM->pdm.s.pQueueFlushRC || pQueue);800 Assert(pVM->pdm.s.pQueueFlushR0 || pVM->pdm.s.pQueueFlushRC || pQueue); 801 801 VM_ASSERT_EMT(pVM); 802 802 … … 814 814 pVM->pdm.s.pQueueFlushR0 = NIL_RTR0PTR; 815 815 } 816 else if (!pQueue) 817 { 818 pQueue = pVM->pdm.s.pQueueFlushR3; 819 pVM->pdm.s.pQueueFlushR3 = NULL; 820 } 821 Assert(!pVM->pdm.s.pQueueFlushR3 && !pVM->pdm.s.pQueueFlushR0 && !pVM->pdm.s.pQueueFlushRC); 816 Assert(!pVM->pdm.s.pQueueFlushR0 && !pVM->pdm.s.pQueueFlushRC); 822 817 823 818 if ( !pQueue … … 825 820 { 826 821 /* 827 * Recalc the FF .822 * Recalc the FF (for the queues using force action). 828 823 */ 829 824 VM_FF_CLEAR(pVM, VM_FF_PDM_QUEUES); -
trunk/src/VBox/VMM/testcase/tstVMStructGC.cpp
r12984 r12985 308 308 GEN_CHECK_OFF(PDM, pQueuesTimer); 309 309 GEN_CHECK_OFF(PDM, pQueuesForced); 310 GEN_CHECK_OFF(PDM, pQueueFlushR3);311 310 GEN_CHECK_OFF(PDM, pQueueFlushR0); 312 311 GEN_CHECK_OFF(PDM, pQueueFlushRC);
Note:
See TracChangeset
for help on using the changeset viewer.