diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-12-06 02:29:47 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-06 01:17:39 -0500 |
commit | e4c803f5bb08e946f0550260b39f71eff0192262 (patch) | |
tree | b63f746ac5cc0496d802a5c2c27f27598333dcc2 /sim/common/sim-trace.h | |
parent | 9850d2d83eb919dc9e333e8ad9d7f308d2d1967b (diff) | |
download | binutils-e4c803f5bb08e946f0550260b39f71eff0192262.zip binutils-e4c803f5bb08e946f0550260b39f71eff0192262.tar.gz binutils-e4c803f5bb08e946f0550260b39f71eff0192262.tar.bz2 |
sim: common: migrate to standard uintXX_t types
Drop the sim-specific unsignedXX types and move to the standard uintXX_t
types that C11 provides.
Diffstat (limited to 'sim/common/sim-trace.h')
-rw-r--r-- | sim/common/sim-trace.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sim/common/sim-trace.h b/sim/common/sim-trace.h index c68a5ee..d08810d 100644 --- a/sim/common/sim-trace.h +++ b/sim/common/sim-trace.h @@ -179,13 +179,13 @@ typedef struct _trace_data { /* Buffer to save the inputs for the current instruction. Use a union to force the buffer into correct alignment */ union { - unsigned8 i8; - unsigned16 i16; - unsigned32 i32; - unsigned64 i64; + uint8_t i8; + uint16_t i16; + uint32_t i32; + uint64_t i64; } trace_input_data[16]; - unsigned8 trace_input_fmt[16]; - unsigned8 trace_input_size[16]; + uint8_t trace_input_fmt[16]; + uint8_t trace_input_size[16]; int trace_input_idx; #define TRACE_INPUT_DATA(t) ((t)->trace_input_data) #define TRACE_INPUT_FMT(t) ((t)->trace_input_fmt) |