aboutsummaryrefslogtreecommitdiff
path: root/sim/cris/crisv32f.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-06 02:16:25 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-06 01:17:38 -0500
commit2875d098a59a72d3dd942d89901318aed6331cf6 (patch)
tree8df81d5386280597d2b398a7474330682cbbebf9 /sim/cris/crisv32f.c
parent1e1e987aed7d7454d42a1ea77c60a24f3d718ef0 (diff)
downloadfsf-binutils-gdb-2875d098a59a72d3dd942d89901318aed6331cf6.zip
fsf-binutils-gdb-2875d098a59a72d3dd942d89901318aed6331cf6.tar.gz
fsf-binutils-gdb-2875d098a59a72d3dd942d89901318aed6331cf6.tar.bz2
sim: cris: 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/cris/crisv32f.c')
-rw-r--r--sim/cris/crisv32f.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/cris/crisv32f.c b/sim/cris/crisv32f.c
index 3b01f08..0022626 100644
--- a/sim/cris/crisv32f.c
+++ b/sim/cris/crisv32f.c
@@ -565,11 +565,11 @@ MY (deliver_interrupt) (SIM_CPU *current_cpu,
enum cris_interrupt_type type,
unsigned int vec)
{
- unsigned32 old_ccs, shifted_ccs, new_ccs;
+ uint32_t old_ccs, shifted_ccs, new_ccs;
unsigned char entryaddr_le[4];
int was_user;
SIM_DESC sd = CPU_STATE (current_cpu);
- unsigned32 entryaddr;
+ uint32_t entryaddr;
/* We haven't implemented other interrupt-types yet. */
if (type != CRIS_INT_INT)
@@ -585,7 +585,7 @@ MY (deliver_interrupt) (SIM_CPU *current_cpu,
/* The M bit is handled by code below and the M bit setter function, but
we need to preserve the Q bit. */
- new_ccs = shifted_ccs | (old_ccs & (unsigned32) 0x80000000UL);
+ new_ccs = shifted_ccs | (old_ccs & (uint32_t) 0x80000000UL);
was_user = GET_H_UBIT_V32 ();
/* We need to force kernel mode since the setter method doesn't allow