Changeset 11146 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Aug 5, 2008 10:01:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PDMAllQueue.cpp
r9212 r11146 150 150 151 151 /** 152 * Gets the ring-0 pointer for the specified queue. 153 * 154 * @returns The ring-0 address of the queue. 155 * @returns NULL if pQueue is invalid. 156 * @param pQueue The queue handle. 157 */ 158 PDMDECL(R0PTRTYPE(PPDMQUEUE)) PDMQueueR0Ptr(PPDMQUEUE pQueue) 159 { 160 Assert(VALID_PTR(pQueue)); 161 Assert(pQueue->pVMHC && pQueue->pVMGC); 162 #ifdef IN_RING0 163 return pQueue; 164 #else 165 return MMHyperCCToR0(pQueue->CTXSUFF(pVM), pQueue); 166 #endif 167 } 168 169 170 /** 152 171 * Flushes a PDM queue. 153 172 *
Note:
See TracChangeset
for help on using the changeset viewer.