Changeset 40878 in vbox for trunk/include
- Timestamp:
- Apr 11, 2012 8:44:41 PM (13 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxTpG.h
r40857 r40878 95 95 96 96 97 /** @name VTG type flags 98 * @{ */ 99 /** Masking out the fixed size if given. */ 100 #define VTG_TYPE_SIZE_MASK UINT32_C(0x000000ff) 101 /** Indicates that VTG_TYPE_SIZE_MASK can be applied, UNSIGNED or SIGNED is 102 * usually set as well, so may PHYS. */ 103 #define VTG_TYPE_FIXED_SIZED RT_BIT_32(8) 104 /** It's a pointer type, the size is given by the context the probe fired in. */ 105 #define VTG_TYPE_POINTER RT_BIT_32(9) 106 /** A context specfic pointer or address, consult VTG_TYPE_CTX_XXX. */ 107 #define VTG_TYPE_CTX_POINTER RT_BIT_32(10) 108 /** The type has the same size as the host architecture. */ 109 #define VTG_TYPE_HC_ARCH_SIZED RT_BIT_32(11) 110 /** The type applies to ring-3 context. */ 111 #define VTG_TYPE_CTX_R3 RT_BIT_32(24) 112 /** The type applies to ring-0 context. */ 113 #define VTG_TYPE_CTX_R0 RT_BIT_32(25) 114 /** The type applies to raw-mode context. */ 115 #define VTG_TYPE_CTX_RC RT_BIT_32(26) 116 /** The type applies to guest context. */ 117 #define VTG_TYPE_CTX_GST RT_BIT_32(27) 118 /** The type context mask. */ 119 #define VTG_TYPE_CTX_MASK UINT32_C(0x0f000000) 120 /** The type is a physical address. */ 121 #define VTG_TYPE_PHYS RT_BIT_32(29) 122 /** The type is unsigned. */ 123 #define VTG_TYPE_UNSIGNED RT_BIT_32(30) 124 /** The type is signed. */ 125 #define VTG_TYPE_SIGNED RT_BIT_32(31) 126 /** @} */ 127 128 /** 129 * Checks if the VTG type flags indicates a large fixed size argument. 130 */ 131 #define VTG_TYPE_IS_LARGE(a_fType) \ 132 ( ((a_fType) & VTG_TYPE_SIZE_MASK) > 4 && ((a_fType) & VTG_TYPE_FIXED_SIZED) ) 133 134 97 135 /** 98 136 * VTG argument descriptor. … … 101 139 { 102 140 VTGSTROFF offType; 103 VTGSTROFF offName;141 uint32_t fType; 104 142 } VTGDESCARG; 105 143 /** Pointer to an argument descriptor. */ … … 113 151 { 114 152 uint8_t cArgs; 115 uint8_t abReserved[3]; 153 uint8_t fHaveLargeArgs; 154 uint8_t abReserved[2]; 116 155 VTGDESCARG aArgs[1]; 117 156 } VTGDESCARGLIST; … … 228 267 229 268 /** The current VTGOBJHDR::szMagic value. */ 230 #define VTGOBJHDR_MAGIC "VTG Object Header v1. 2\0"269 #define VTGOBJHDR_MAGIC "VTG Object Header v1.3\0" 231 270 232 271 /** The name of the VTG data object header symbol in the object file. */ -
trunk/include/VBox/err.h
r40818 r40878 1671 1671 /** The tracer cannot open it self in the same session. */ 1672 1672 #define VERR_SUPDRV_TRACER_CANNOT_OPEN_SELF (-3729) 1673 /** Bad argument flags. */ 1674 #define VERR_SUPDRV_TRACER_BAD_ARG_FLAGS (-3730) 1673 1675 /** @} */ 1674 1676
Note:
See TracChangeset
for help on using the changeset viewer.