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-events.h | |
parent | 9850d2d83eb919dc9e333e8ad9d7f308d2d1967b (diff) | |
download | fsf-binutils-gdb-e4c803f5bb08e946f0550260b39f71eff0192262.zip fsf-binutils-gdb-e4c803f5bb08e946f0550260b39f71eff0192262.tar.gz fsf-binutils-gdb-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-events.h')
-rw-r--r-- | sim/common/sim-events.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sim/common/sim-events.h b/sim/common/sim-events.h index 1531171..b50a427 100644 --- a/sim/common/sim-events.h +++ b/sim/common/sim-events.h @@ -95,8 +95,8 @@ struct _sim_events { /* timekeeping */ unsigned long elapsed_wallclock; SIM_ELAPSED_TIME resume_wallclock; - signed64 time_of_event; - signed64 time_from_event; + int64_t time_of_event; + int64_t time_from_event; }; @@ -110,13 +110,13 @@ extern SIM_RC sim_events_install (SIM_DESC sd); extern sim_event *sim_events_schedule (SIM_DESC sd, - signed64 delta_time, + int64_t delta_time, sim_event_handler *handler, void *data); extern sim_event *sim_events_schedule_tracef (SIM_DESC sd, - signed64 delta_time, + int64_t delta_time, sim_event_handler *handler, void *data, const char *fmt, @@ -124,7 +124,7 @@ extern sim_event *sim_events_schedule_tracef extern sim_event *sim_events_schedule_vtracef (SIM_DESC sd, - signed64 delta_time, + int64_t delta_time, sim_event_handler *handler, void *data, const char *fmt, @@ -133,7 +133,7 @@ extern sim_event *sim_events_schedule_vtracef extern void sim_events_schedule_after_signal (SIM_DESC sd, - signed64 delta_time, + int64_t delta_time, sim_event_handler *handler, void *data); @@ -157,8 +157,8 @@ extern sim_event *sim_events_watch_clock extern sim_event *sim_events_watch_pc (SIM_DESC sd, int is_within, - unsigned64 lb, - unsigned64 ub, + uint64_t lb, + uint64_t ub, sim_event_handler *handler, void *data); @@ -177,8 +177,8 @@ extern sim_event *sim_events_watch_sim int nr_bytes, enum bfd_endian byte_order, int is_within, - unsigned64 lb, - unsigned64 ub, + uint64_t lb, + uint64_t ub, sim_event_handler *handler, void *data); @@ -198,8 +198,8 @@ extern sim_event *sim_events_watch_core int nr_bytes, enum bfd_endian byte_order, int is_within, - unsigned64 lb, - unsigned64 ub, + uint64_t lb, + uint64_t ub, sim_event_handler *handler, void *data); @@ -274,7 +274,7 @@ INLINE_SIM_EVENTS\ /* local concept of elapsed target time */ INLINE_SIM_EVENTS\ -(signed64) sim_events_time +(int64_t) sim_events_time (SIM_DESC sd); @@ -286,7 +286,7 @@ INLINE_SIM_EVENTS\ /* Returns the time that remains before the event is raised. */ INLINE_SIM_EVENTS\ -(signed64) sim_events_remain_time +(int64_t) sim_events_remain_time (SIM_DESC sd, sim_event *event); |