PowerPC64 .branch_lt address
[binutils-gdb.git] / sim / common / dv-pal.c
index 9a33de6245e5d40a0c609d7f2206ceb300fd9b0e..5f42fdab75b0ce2023f7921e79dcfdb8dda56619 100644 (file)
@@ -181,8 +181,8 @@ typedef struct _hw_pal_console_buffer {
 
 typedef struct _hw_pal_counter {
   struct hw_event *handler;
-  signed64 start;
-  unsigned32 delta;
+  int64_t start;
+  uint32_t delta;
   int periodic_p;
 } hw_pal_counter;
 
@@ -237,10 +237,10 @@ do_counter_read (struct hw *me,
                 hw_pal_device *pal,
                 const char *reg,
                 hw_pal_counter *counter,
-                unsigned32 *word,
+                uint32_t *word,
                 unsigned nr_bytes)
 {
-  unsigned32 val;
+  uint32_t val;
   if (nr_bytes != 4)
     hw_abort (me, "%s - bad read size must be 4 bytes", reg);
   val = counter->delta;
@@ -253,10 +253,10 @@ do_counter_value (struct hw *me,
                  hw_pal_device *pal,
                  const char *reg,
                  hw_pal_counter *counter,
-                 unsigned32 *word,
+                 uint32_t *word,
                  unsigned nr_bytes)
 {
-  unsigned32 val;
+  uint32_t val;
   if (nr_bytes != 4)
     hw_abort (me, "%s - bad read size must be 4 bytes", reg);
   if (counter->delta != 0)
@@ -273,7 +273,7 @@ do_counter_write (struct hw *me,
                  hw_pal_device *pal,
                  const char *reg,
                  hw_pal_counter *counter,
-                 const unsigned32 *word,
+                 const uint32_t *word,
                  unsigned nr_bytes)
 {
   if (nr_bytes != 4)