Changeset 4787 in vbox for trunk/include/VBox/pdmdev.h
- Timestamp:
- Sep 14, 2007 9:08:56 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmdev.h
r4567 r4787 682 682 } PDMPCIHLPR3; 683 683 /** Pointer to PCI helpers. */ 684 typedef HCPTRTYPE(PDMPCIHLPR3 *) PPDMPCIHLPR3;684 typedef R3PTRTYPE(PDMPCIHLPR3 *) PPDMPCIHLPR3; 685 685 /** Pointer to const PCI helpers. */ 686 typedef HCPTRTYPE(const PDMPCIHLPR3 *) PCPDMPCIHLPR3;686 typedef R3PTRTYPE(const PDMPCIHLPR3 *) PCPDMPCIHLPR3; 687 687 688 688 /** Current PDMPCIHLPR3 version number. */ … … 905 905 906 906 /** Pointer to PIC HC helpers. */ 907 typedef HCPTRTYPE(PDMPICHLPR3 *) PPDMPICHLPR3;907 typedef R3PTRTYPE(PDMPICHLPR3 *) PPDMPICHLPR3; 908 908 /** Pointer to const PIC HC helpers. */ 909 typedef HCPTRTYPE(const PDMPICHLPR3 *) PCPDMPICHLPR3;909 typedef R3PTRTYPE(const PDMPICHLPR3 *) PCPDMPICHLPR3; 910 910 911 911 /** Current PDMPICHLPR3 version number. */ … … 1212 1212 } PDMAPICHLPR3; 1213 1213 /** Pointer to APIC helpers. */ 1214 typedef HCPTRTYPE(PDMAPICHLPR3 *) PPDMAPICHLPR3;1214 typedef R3PTRTYPE(PDMAPICHLPR3 *) PPDMAPICHLPR3; 1215 1215 /** Pointer to const APIC helpers. */ 1216 typedef HCPTRTYPE(const PDMAPICHLPR3 *) PCPDMAPICHLPR3;1216 typedef R3PTRTYPE(const PDMAPICHLPR3 *) PCPDMAPICHLPR3; 1217 1217 1218 1218 /** Current PDMAPICHLP version number. */ … … 1431 1431 } PDMIOAPICHLPR3; 1432 1432 /** Pointer to IOAPIC HC helpers. */ 1433 typedef HCPTRTYPE(PDMIOAPICHLPR3 *) PPDMIOAPICHLPR3;1433 typedef R3PTRTYPE(PDMIOAPICHLPR3 *) PPDMIOAPICHLPR3; 1434 1434 /** Pointer to const IOAPIC helpers. */ 1435 typedef HCPTRTYPE(const PDMIOAPICHLPR3 *) PCPDMIOAPICHLPR3;1435 typedef R3PTRTYPE(const PDMIOAPICHLPR3 *) PCPDMIOAPICHLPR3; 1436 1436 1437 1437 /** Current PDMIOAPICHLPR3 version number. */ … … 1836 1836 * @param ppTimer Where to store the timer on success. 1837 1837 */ 1838 DECLR3CALLBACKMEMBER(int, pfnTMTimerCreate,(PPDMDEVINS pDevIns, TMCLOCK enmClock, PFNTMTIMERDEV pfnCallback, const char *pszDesc, PPTMTIMER HCppTimer));1838 DECLR3CALLBACKMEMBER(int, pfnTMTimerCreate,(PPDMDEVINS pDevIns, TMCLOCK enmClock, PFNTMTIMERDEV pfnCallback, const char *pszDesc, PPTMTIMERR3 ppTimer)); 1839 1839 1840 1840 /** … … 1849 1849 * until the timer is fully destroyed (i.e. a bit after TMTimerDestroy()). 1850 1850 */ 1851 DECLR3CALLBACKMEMBER(PTMTIMER HC, pfnTMTimerCreateExternal,(PPDMDEVINS pDevIns, TMCLOCK enmClock, PFNTMTIMEREXT pfnCallback, void *pvUser, const char *pszDesc));1851 DECLR3CALLBACKMEMBER(PTMTIMERR3, pfnTMTimerCreateExternal,(PPDMDEVINS pDevIns, TMCLOCK enmClock, PFNTMTIMEREXT pfnCallback, void *pvUser, const char *pszDesc)); 1852 1852 1853 1853 /** … … 2567 2567 #endif /* !IN_RING3 */ 2568 2568 /** Pointer PDM Device API. */ 2569 typedef HCPTRTYPE(struct PDMDEVHLP *) PPDMDEVHLP;2569 typedef R3PTRTYPE(struct PDMDEVHLP *) PPDMDEVHLP; 2570 2570 /** Pointer PDM Device API. */ 2571 typedef HCPTRTYPE(const struct PDMDEVHLP *) PCPDMDEVHLP;2571 typedef R3PTRTYPE(const struct PDMDEVHLP *) PCPDMDEVHLP; 2572 2572 2573 2573 /** Current PDMDEVHLP version number. */ … … 2823 2823 } PDMDEVHLPR0; 2824 2824 /** Pointer PDM Device R0 API. */ 2825 typedef HCPTRTYPE(struct PDMDEVHLPR0 *) PPDMDEVHLPR0;2825 typedef R0PTRTYPE(struct PDMDEVHLPR0 *) PPDMDEVHLPR0; 2826 2826 /** Pointer PDM Device GC API. */ 2827 typedef HCPTRTYPE(const struct PDMDEVHLPR0 *) PCPDMDEVHLPR0;2827 typedef R0PTRTYPE(const struct PDMDEVHLPR0 *) PCPDMDEVHLPR0; 2828 2828 2829 2829 /** Current PDMDEVHLP version number. */ … … 2933 2933 * Converts a PDM Device instance pointer a HC PDM Device instance pointer. 2934 2934 */ 2935 #define PDMDEVINS_2_R3PTR(pDevIns) ( ( HCPTRTYPE(PPDMDEVINS))((RTHCUINTPTR)(pDevIns)->pvInstanceDataR3 - RT_OFFSETOF(PDMDEVINS, achInstanceData)) )2935 #define PDMDEVINS_2_R3PTR(pDevIns) ( (R3PTRTYPE(PPDMDEVINS))((RTHCUINTPTR)(pDevIns)->pvInstanceDataR3 - RT_OFFSETOF(PDMDEVINS, achInstanceData)) ) 2936 2936 2937 2937 /** @def PDMDEVINS_2_R0PTR … … 3059 3059 * @copydoc PDMDEVHLP::pfnTMTimerCreate 3060 3060 */ 3061 DECLINLINE(int) PDMDevHlpTMTimerCreate(PPDMDEVINS pDevIns, TMCLOCK enmClock, PFNTMTIMERDEV pfnCallback, const char *pszDesc, PPTMTIMER HCppTimer)3061 DECLINLINE(int) PDMDevHlpTMTimerCreate(PPDMDEVINS pDevIns, TMCLOCK enmClock, PFNTMTIMERDEV pfnCallback, const char *pszDesc, PPTMTIMERR3 ppTimer) 3062 3062 { 3063 3063 return pDevIns->pDevHlp->pfnTMTimerCreate(pDevIns, enmClock, pfnCallback, pszDesc, ppTimer);
Note:
See TracChangeset
for help on using the changeset viewer.