aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/hw_opic.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-06 02:42:00 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-06 01:17:39 -0500
commit95e40d770e95c0d5317c2566a7976bd3421f380a (patch)
treeee409c8b3279492f88f1b3b5e675e86d254b899d /sim/ppc/hw_opic.c
parente4c803f5bb08e946f0550260b39f71eff0192262 (diff)
downloadgdb-95e40d770e95c0d5317c2566a7976bd3421f380a.zip
gdb-95e40d770e95c0d5317c2566a7976bd3421f380a.tar.gz
gdb-95e40d770e95c0d5317c2566a7976bd3421f380a.tar.bz2
sim: ppc: 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/ppc/hw_opic.c')
-rw-r--r--sim/ppc/hw_opic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/ppc/hw_opic.c b/sim/ppc/hw_opic.c
index 9404204..4247411 100644
--- a/sim/ppc/hw_opic.c
+++ b/sim/ppc/hw_opic.c
@@ -305,7 +305,7 @@ typedef struct _opic_timer {
hw_opic_device *opic; /* ditto */
unsigned base_count;
int inhibited;
- signed64 count; /* *ONLY* if inhibited */
+ int64_t count; /* *ONLY* if inhibited */
event_entry_tag timeout_event;
opic_interrupt_source *interrupt_source;
} opic_timer;
@@ -347,7 +347,7 @@ struct _hw_opic_device {
unsigned timer_frequency;
/* init register */
- unsigned32 init;
+ uint32_t init;
/* address maps */
opic_idu idu;