.side_gather = { \
.u = { \
.side_vla = { \
+ .length_type = _length_type_gather, \
.offset = _offset, \
.access_mode = _access_mode, \
.type = { \
.attr = _attr, \
.nr_attr = SIDE_ARRAY_SIZE(SIDE_PARAM(_attr)), \
}, \
- .length_type = _length_type_gather, \
}, \
}, \
}, \
/* Stack-copy field arguments */
#define side_arg_null(_val) { .type = SIDE_TYPE_NULL }
-#define side_arg_bool(_val) { .type = SIDE_TYPE_BOOL, .u = { .side_static = { .bool_value.side_bool8 = !!(_val) } } }
+#define side_arg_bool(_val) { .type = SIDE_TYPE_BOOL, .u = { .side_static = { .bool_value = { .side_bool8 = !!(_val) } } } }
#define side_arg_byte(_val) { .type = SIDE_TYPE_BYTE, .u = { .side_static = { .byte_value = (_val) } } }
#define side_arg_string(_val) { .type = SIDE_TYPE_STRING, .u = { .side_static = { .string_value = (uintptr_t) (_val) } } }
static
uint64_t tracer_load_gather_integer_type(const struct side_type_gather *type_gather, const void *_ptr)
{
- enum side_type_gather_access_mode access_mode = type_gather->u.side_integer.access_mode;
+ enum side_type_gather_access_mode access_mode =
+ (enum side_type_gather_access_mode) type_gather->u.side_integer.access_mode;
uint32_t integer_size_bytes = type_gather->u.side_integer.type.integer_size;
const char *ptr = (const char *) _ptr;
union side_integer_value value;
static
uint32_t tracer_print_gather_bool_type(const struct side_type_gather *type_gather, const void *_ptr)
{
- enum side_type_gather_access_mode access_mode = type_gather->u.side_bool.access_mode;
+ enum side_type_gather_access_mode access_mode =
+ (enum side_type_gather_access_mode) type_gather->u.side_bool.access_mode;
uint32_t bool_size_bytes = type_gather->u.side_bool.type.bool_size;
const char *ptr = (const char *) _ptr;
union side_bool_value value;
static
uint32_t tracer_print_gather_byte_type(const struct side_type_gather *type_gather, const void *_ptr)
{
- enum side_type_gather_access_mode access_mode = type_gather->u.side_byte.access_mode;
+ enum side_type_gather_access_mode access_mode =
+ (enum side_type_gather_access_mode) type_gather->u.side_byte.access_mode;
const char *ptr = (const char *) _ptr;
uint8_t value;
uint32_t tracer_print_gather_integer_type(const struct side_type_gather *type_gather, const void *_ptr,
enum tracer_display_base default_base)
{
- enum side_type_gather_access_mode access_mode = type_gather->u.side_integer.access_mode;
+ enum side_type_gather_access_mode access_mode =
+ (enum side_type_gather_access_mode) type_gather->u.side_integer.access_mode;
uint32_t integer_size_bytes = type_gather->u.side_integer.type.integer_size;
const char *ptr = (const char *) _ptr;
union side_integer_value value;
static
uint32_t tracer_print_gather_float_type(const struct side_type_gather *type_gather, const void *_ptr)
{
- enum side_type_gather_access_mode access_mode = type_gather->u.side_float.access_mode;
+ enum side_type_gather_access_mode access_mode =
+ (enum side_type_gather_access_mode) type_gather->u.side_float.access_mode;
uint32_t float_size_bytes = type_gather->u.side_float.type.float_size;
const char *ptr = (const char *) _ptr;
union side_float_value value;
static
uint32_t tracer_print_gather_struct(const struct side_type_gather *type_gather, const void *_ptr)
{
- enum side_type_gather_access_mode access_mode = type_gather->u.side_struct.access_mode;
+ enum side_type_gather_access_mode access_mode =
+ (enum side_type_gather_access_mode) type_gather->u.side_struct.access_mode;
const char *ptr = (const char *) _ptr;
uint32_t i;
static
uint32_t tracer_print_gather_array(const struct side_type_gather *type_gather, const void *_ptr)
{
- enum side_type_gather_access_mode access_mode = type_gather->u.side_array.access_mode;
+ enum side_type_gather_access_mode access_mode =
+ (enum side_type_gather_access_mode) type_gather->u.side_array.access_mode;
const char *ptr = (const char *) _ptr, *orig_ptr;
uint32_t i;
uint32_t tracer_print_gather_vla(const struct side_type_gather *type_gather, const void *_ptr,
const void *_length_ptr)
{
- enum side_type_gather_access_mode access_mode = type_gather->u.side_vla.access_mode;
+ enum side_type_gather_access_mode access_mode =
+ (enum side_type_gather_access_mode) type_gather->u.side_vla.access_mode;
const char *ptr = (const char *) _ptr, *orig_ptr;
const char *length_ptr = (const char *) _length_ptr;
uint32_t i, length;