Changeset View
Changeset View
Standalone View
Standalone View
head/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace.h
Show First 20 Lines • Show All 778 Lines • ▼ Show 20 Lines | typedef struct dof_relodesc { | ||||
dof_stridx_t dofr_name; /* string name of relocation symbol */ | dof_stridx_t dofr_name; /* string name of relocation symbol */ | ||||
uint32_t dofr_type; /* relo type (DOF_RELO_* constant) */ | uint32_t dofr_type; /* relo type (DOF_RELO_* constant) */ | ||||
uint64_t dofr_offset; /* byte offset for relocation */ | uint64_t dofr_offset; /* byte offset for relocation */ | ||||
uint64_t dofr_data; /* additional type-specific data */ | uint64_t dofr_data; /* additional type-specific data */ | ||||
} dof_relodesc_t; | } dof_relodesc_t; | ||||
#define DOF_RELO_NONE 0 /* empty relocation entry */ | #define DOF_RELO_NONE 0 /* empty relocation entry */ | ||||
#define DOF_RELO_SETX 1 /* relocate setx value */ | #define DOF_RELO_SETX 1 /* relocate setx value */ | ||||
#define DOF_RELO_DOFREL 2 /* relocate DOF-relative value */ | |||||
typedef struct dof_optdesc { | typedef struct dof_optdesc { | ||||
uint32_t dofo_option; /* option identifier */ | uint32_t dofo_option; /* option identifier */ | ||||
dof_secidx_t dofo_strtab; /* string table, if string option */ | dof_secidx_t dofo_strtab; /* string table, if string option */ | ||||
uint64_t dofo_value; /* option value or string index */ | uint64_t dofo_value; /* option value or string index */ | ||||
} dof_optdesc_t; | } dof_optdesc_t; | ||||
typedef uint32_t dof_attr_t; /* encoded stability attributes */ | typedef uint32_t dof_attr_t; /* encoded stability attributes */ | ||||
▲ Show 20 Lines • Show All 1,715 Lines • Show Last 20 Lines |