aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-06 02:09:47 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-06 01:17:38 -0500
commit4650ee9378306c288e7f2b72070961e5eff4b639 (patch)
tree0fa0b42825ec0802d412eb1678a33906a9c0a50f /sim
parent39a5fdbc652ee79f6c20a70c31eb40478ced27e2 (diff)
downloadgdb-4650ee9378306c288e7f2b72070961e5eff4b639.zip
gdb-4650ee9378306c288e7f2b72070961e5eff4b639.tar.gz
gdb-4650ee9378306c288e7f2b72070961e5eff4b639.tar.bz2
sim: bfin: migrate to standard uintXX_t types
Move off the sim-specific unsignedXX types and to the standard uintXX_t types that C11 provides.
Diffstat (limited to 'sim')
-rw-r--r--sim/bfin/dv-bfin_ctimer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/bfin/dv-bfin_ctimer.c b/sim/bfin/dv-bfin_ctimer.c
index b6fbb34..64dc5c5 100644
--- a/sim/bfin/dv-bfin_ctimer.c
+++ b/sim/bfin/dv-bfin_ctimer.c
@@ -30,7 +30,7 @@ struct bfin_ctimer
{
bu32 base;
struct hw_event *handler;
- signed64 timeout;
+ int64_t timeout;
/* Order after here is important -- matches hardware MMR layout. */
bu32 tcntl, tperiod, tscale, tcount;
@@ -84,7 +84,7 @@ static void
bfin_ctimer_update_count (struct hw *me, struct bfin_ctimer *ctimer)
{
bu32 scale, ticks;
- signed64 timeout;
+ int64_t timeout;
/* If the timer was enabled w/out autoreload and has expired, then
there's nothing to calculate here. */