From 2ac711791b2e4aabc5e4046b7428727828c705eb Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Fri, 8 May 2009 02:35:15 +0100 Subject: Replace cpu_abort with hw_error Signed-off-by: Paul Brook --- hw/pl181.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/pl181.c') 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); } -- cgit v1.2.3