summaryrefslogtreecommitdiffstats
path: root/hw/mcf_intc.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-08 02:35:15 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-08 02:35:15 +0100
commit2ac711791b2e4aabc5e4046b7428727828c705eb (patch)
treec4ed47028dee4949cc7eace9760a20d1759406e2 /hw/mcf_intc.c
parente612a1f7256bb3546cf3e9ae6cad3997c4153663 (diff)
downloadhqemu-2ac711791b2e4aabc5e4046b7428727828c705eb.zip
hqemu-2ac711791b2e4aabc5e4046b7428727828c705eb.tar.gz
Replace cpu_abort with hw_error
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/mcf_intc.c')
-rw-r--r--hw/mcf_intc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/mcf_intc.c b/hw/mcf_intc.c
index 4e99aeb..ce378c2 100644
--- a/hw/mcf_intc.c
+++ b/hw/mcf_intc.c
@@ -67,7 +67,7 @@ static uint32_t mcf_intc_read(void *opaque, target_phys_addr_t addr)
case 0xe1: case 0xe2: case 0xe3: case 0xe4:
case 0xe5: case 0xe6: case 0xe7:
/* LnIACK */
- cpu_abort(cpu_single_env, "mcf_intc_read: LnIACK not implemented\n");
+ hw_error("mcf_intc_read: LnIACK not implemented\n");
default:
return 0;
}
@@ -99,8 +99,7 @@ static void mcf_intc_write(void *opaque, target_phys_addr_t addr, uint32_t val)
s->imr = (s->imr & 0xffffffff00000000ull) | (uint32_t)val;
break;
default:
- cpu_abort(cpu_single_env, "mcf_intc_write: Bad write offset %d\n",
- offset);
+ hw_error("mcf_intc_write: Bad write offset %d\n", offset);
break;
}
mcf_intc_update(s);
OpenPOWER on IntegriCloud