aboutsummaryrefslogtreecommitdiff
path: root/hw/arm_sysctl.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-11 13:03:18 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-11 13:03:18 +0000
commitf3d6b95e835ba12e9cfdca76124897122c47cd1b (patch)
treea2a4240c0e97229dee690c8fecde0b242593f949 /hw/arm_sysctl.c
parent5adb4839e3c35382832bedc7155b3317b7b7d560 (diff)
downloadqemu-f3d6b95e835ba12e9cfdca76124897122c47cd1b.zip
qemu-f3d6b95e835ba12e9cfdca76124897122c47cd1b.tar.gz
qemu-f3d6b95e835ba12e9cfdca76124897122c47cd1b.tar.bz2
ARM reabbot support (orginal patch by Aurelien Jarno).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2476 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/arm_sysctl.c')
-rw-r--r--hw/arm_sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm_sysctl.c b/hw/arm_sysctl.c
index e9de998..90ea76e 100644
--- a/hw/arm_sysctl.c
+++ b/hw/arm_sysctl.c
@@ -149,7 +149,7 @@ static void arm_sysctl_write(void *opaque, target_phys_addr_t offset,
if (s->lockval == LOCK_VALUE) {
s->resetlevel = val;
if (val & 0x100)
- cpu_abort(cpu_single_env, "Board reset\n");
+ qemu_system_reset_request ();
}
break;
case 0x44: /* PCICTL */