Changeset 11149 in vbox for trunk/include
- Timestamp:
- Aug 5, 2008 10:09:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmdev.h
r10661 r11149 3030 3030 /** @def PDMDEVINS_2_GCPTR 3031 3031 * Converts a PDM Device instance pointer a GC PDM Device instance pointer. 3032 */ 3033 #define PDMDEVINS_2_GCPTR(pDevIns) ( (RCPTRTYPE(PPDMDEVINS))((RTGCUINTPTR)(pDevIns)->pvInstanceDataGC - RT_OFFSETOF(PDMDEVINS, achInstanceData)) ) 3032 * @deprecated Use PDMDEVINS_2_RCPTR. 3033 */ 3034 #define PDMDEVINS_2_GCPTR(pDevIns) PDMDEVINS_2_RCPTR(pDevIns) 3035 3036 /** @def PDMDEVINS_2_RCPTR 3037 * Converts a PDM Device instance pointer a RC PDM Device instance pointer. 3038 */ 3039 #define PDMDEVINS_2_RCPTR(pDevIns) ( (RCPTRTYPE(PPDMDEVINS))((RTGCUINTPTR)(pDevIns)->pvInstanceDataGC - RT_OFFSETOF(PDMDEVINS, achInstanceData)) ) 3034 3040 3035 3041 /** @def PDMDEVINS_2_R3PTR 3036 * Converts a PDM Device instance pointer a HCPDM Device instance pointer.3042 * Converts a PDM Device instance pointer a R3 PDM Device instance pointer. 3037 3043 */ 3038 3044 #define PDMDEVINS_2_R3PTR(pDevIns) ( (R3PTRTYPE(PPDMDEVINS))((RTHCUINTPTR)(pDevIns)->pvInstanceDataR3 - RT_OFFSETOF(PDMDEVINS, achInstanceData)) )
Note:
See TracChangeset
for help on using the changeset viewer.