aboutsummaryrefslogtreecommitdiff
path: root/hw/pl181.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl181.c')
-rw-r--r--hw/pl181.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pl181.c b/hw/pl181.c
index 8583490d92..b0709dc14f 100644
--- a/hw/pl181.c
+++ b/hw/pl181.c
@@ -332,7 +332,7 @@ static uint32_t pl181_read(void *opaque, target_phys_addr_t offset)
return value;
}
default:
- cpu_abort (cpu_single_env, "pl181_read: Bad offset %x\n", (int)offset);
+ hw_error("pl181_read: Bad offset %x\n", (int)offset);
return 0;
}
}
@@ -403,7 +403,7 @@ static void pl181_write(void *opaque, target_phys_addr_t offset,
}
break;
default:
- cpu_abort (cpu_single_env, "pl181_write: Bad offset %x\n", (int)offset);
+ hw_error("pl181_write: Bad offset %x\n", (int)offset);
}
pl181_update(s);
}