diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-12-05 12:29:43 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-06 01:17:38 -0500 |
commit | 4a92dedc592fd0d5e8bbf9987ed2602b92607bed (patch) | |
tree | 900dbb4cdaeccdbf6f51389468fdef3315bd7c45 /sim/erc32/interf.c | |
parent | 74ccc978200bc96b48ef52385cadf5ddb131dc21 (diff) | |
download | binutils-4a92dedc592fd0d5e8bbf9987ed2602b92607bed.zip binutils-4a92dedc592fd0d5e8bbf9987ed2602b92607bed.tar.gz binutils-4a92dedc592fd0d5e8bbf9987ed2602b92607bed.tar.bz2 |
sim: erc32: migrate to standard uintXX_t types
This old port setup its own uintXX types, but since we require C11
now, we can assume the standard uintXX_t types exist and use them.
Diffstat (limited to 'sim/erc32/interf.c')
-rw-r--r-- | sim/erc32/interf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c index 9ab2582..d04d07c 100644 --- a/sim/erc32/interf.c +++ b/sim/erc32/interf.c @@ -62,7 +62,7 @@ int sis_gdb_break = 1; host_callback *sim_callback; int -run_sim(struct pstate *sregs, uint64 icount, int dis) +run_sim(struct pstate *sregs, uint64_t icount, int dis) { int mexc, irq; @@ -400,13 +400,13 @@ flush_windows (void) for (win = invwin; ; win = (win - 1) & PSR_CWP) { - uint32 sp; + uint32_t sp; int i; sp = sregs.r[(win * 16 + 14) & 0x7f]; #if 1 if (sis_verbose > 2) { - uint32 fp = sregs.r[(win * 16 + 30) & 0x7f]; + uint32_t fp = sregs.r[(win * 16 + 30) & 0x7f]; printf("flush_window: win %d, sp %x, fp %x\n", win, sp, fp); } #endif |