Changeset View
Changeset View
Standalone View
Standalone View
sys/cddl/contrib/opensolaris/uts/common/sys/ctf.h
Show First 20 Lines • Show All 262 Lines • ▼ Show 20 Lines | |||||
#define CTF_K_STRUCT 6 /* variant data is list of ctf_member_t's */ | #define CTF_K_STRUCT 6 /* variant data is list of ctf_member_t's */ | ||||
#define CTF_K_UNION 7 /* variant data is list of ctf_member_t's */ | #define CTF_K_UNION 7 /* variant data is list of ctf_member_t's */ | ||||
#define CTF_K_ENUM 8 /* variant data is list of ctf_enum_t's */ | #define CTF_K_ENUM 8 /* variant data is list of ctf_enum_t's */ | ||||
#define CTF_K_FORWARD 9 /* no additional data; ctt_name is tag */ | #define CTF_K_FORWARD 9 /* no additional data; ctt_name is tag */ | ||||
#define CTF_K_TYPEDEF 10 /* ctt_type is referenced type */ | #define CTF_K_TYPEDEF 10 /* ctt_type is referenced type */ | ||||
#define CTF_K_VOLATILE 11 /* ctt_type is base type */ | #define CTF_K_VOLATILE 11 /* ctt_type is base type */ | ||||
#define CTF_K_CONST 12 /* ctt_type is base type */ | #define CTF_K_CONST 12 /* ctt_type is base type */ | ||||
#define CTF_K_RESTRICT 13 /* ctt_type is base type */ | #define CTF_K_RESTRICT 13 /* ctt_type is base type */ | ||||
#define CTF_K_CONSTVAL 14 /* ctt_type is type; value is vlen-encoded | |||||
signed integer */ | |||||
#define CTF_K_MAX 31 /* Maximum possible CTF_K_* value */ | #define CTF_K_MAX 31 /* Maximum possible CTF_K_* value */ | ||||
/* | /* | ||||
* Values for ctt_type when kind is CTF_K_INTEGER. The flags, offset in bits, | * Values for ctt_type when kind is CTF_K_INTEGER. The flags, offset in bits, | ||||
* and size in bits are encoded as a single word using the following macros. | * and size in bits are encoded as a single word using the following macros. | ||||
*/ | */ | ||||
#define CTF_INT_ENCODING(data) (((data) & 0xff000000) >> 24) | #define CTF_INT_ENCODING(data) (((data) & 0xff000000) >> 24) | ||||
▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines |