diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-12-05 20:31:52 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-12-05 20:31:52 +0000 |
commit | ba3c64fb476d57c35013970ac444f04f35893ca9 (patch) | |
tree | ef1a50165c32cf861862c94cfd9bcf9ebffcd9f2 /hw/slavio_misc.c | |
parent | b9788fc4c4974a4871e0ee46b5c06fee105a6aff (diff) |
Initial SPARC SMP support (Blue Swirl)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1694 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/slavio_misc.c')
-rw-r--r-- | hw/slavio_misc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/slavio_misc.c b/hw/slavio_misc.c index 1b681be483..904f44e515 100644 --- a/hw/slavio_misc.c +++ b/hw/slavio_misc.c @@ -124,9 +124,8 @@ static void slavio_misc_mem_writeb(void *opaque, target_phys_addr_t addr, uint32 case 0xa000000: MISC_DPRINTF("Write power management %2.2x\n", val & 0xff); #if 0 - // XXX: halting CPU does not work - raise_exception(EXCP_HLT); - cpu_loop_exit(); + // XXX almost works + cpu_interrupt(cpu_single_env, CPU_INTERRUPT_HALT); #endif break; } |