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/hw-events.c | |
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/hw-events.c')
-rw-r--r-- | sim/common/hw-events.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sim/common/hw-events.c b/sim/common/hw-events.c index 62eb1c7..9bde016 100644 --- a/sim/common/hw-events.c +++ b/sim/common/hw-events.c @@ -87,7 +87,7 @@ bounce_hw_event (SIM_DESC sd, struct hw_event * hw_event_queue_schedule (struct hw *me, - signed64 delta_time, + int64_t delta_time, hw_event_callback *callback, void *data) { @@ -96,7 +96,7 @@ hw_event_queue_schedule (struct hw *me, struct hw_event * hw_event_queue_schedule_tracef (struct hw *me, - signed64 delta_time, + int64_t delta_time, hw_event_callback *callback, void *data, const char *fmt, @@ -112,7 +112,7 @@ hw_event_queue_schedule_tracef (struct hw *me, struct hw_event * hw_event_queue_schedule_vtracef (struct hw *me, - signed64 delta_time, + int64_t delta_time, hw_event_callback *callback, void *data, const char *fmt, @@ -160,17 +160,17 @@ hw_event_queue_deschedule (struct hw *me, } -signed64 +int64_t hw_event_queue_time (struct hw *me) { return sim_events_time (hw_system (me)); } /* Returns the time that remains before the event is raised. */ -signed64 +int64_t hw_event_remain_time (struct hw *me, struct hw_event *event) { - signed64 t; + int64_t t; t = sim_events_remain_time (hw_system (me), event->real); return t; |