Changeset 25995 in vbox for trunk/src/VBox/VMM/VMMGC
- Timestamp:
- Jan 25, 2010 11:33:03 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMGC/PDMGCDevice.cpp
r24139 r25995 49 49 extern DECLEXPORT(const PDMIOAPICHLPRC) g_pdmRCIoApicHlp; 50 50 extern DECLEXPORT(const PDMPCIHLPRC) g_pdmRCPciHlp; 51 extern DECLEXPORT(const PDMHPETHLPRC) g_pdmRCHpetHlp; 51 52 RT_C_DECLS_END 52 53 … … 112 113 static DECLCALLBACK(int) pdmRCPciHlp_Lock(PPDMDEVINS pDevIns, int rc); 113 114 static DECLCALLBACK(void) pdmRCPciHlp_Unlock(PPDMDEVINS pDevIns); 115 /** @} */ 116 117 118 /** @name HPET RC Helpers 119 * @{ 120 */ 121 static DECLCALLBACK(int) pdmRCHpetHlp_Lock(PPDMDEVINS pDevIns, int rc); 122 static DECLCALLBACK(void) pdmRCHpetHlp_Unlock(PPDMDEVINS pDevIns); 114 123 /** @} */ 115 124 … … 197 206 }; 198 207 199 208 /** 209 * The Raw-Mode Context HPET Helper Callbacks. 210 */ 211 extern DECLEXPORT(const PDMHPETHLPRC) g_pdmRCHpetHlp = 212 { 213 PDM_HPETHLPRC_VERSION, 214 pdmRCHpetHlp_Lock, 215 pdmRCHpetHlp_Unlock, 216 PDM_HPETHLPRC_VERSION, /* the end */ 217 }; 200 218 201 219 … … 683 701 } 684 702 } 703 704 705 /** @copydoc PDMHPETHLPRC::pfnLock */ 706 static DECLCALLBACK(int) pdmRCHpetHlp_Lock(PPDMDEVINS pDevIns, int rc) 707 { 708 PDMDEV_ASSERT_DEVINS(pDevIns); 709 return pdmLockEx(pDevIns->Internal.s.pVMRC, rc); 710 } 711 712 713 /** @copydoc PDMHPETHLPRC::pfnUnlock */ 714 static DECLCALLBACK(void) pdmRCHpetHlp_Unlock(PPDMDEVINS pDevIns) 715 { 716 PDMDEV_ASSERT_DEVINS(pDevIns); 717 pdmUnlock(pDevIns->Internal.s.pVMRC); 718 }
Note:
See TracChangeset
for help on using the changeset viewer.