Revision ba3c64fb hw/slavio_misc.c

b/hw/slavio_misc.c
124 124
    case 0xa000000:
125 125
	MISC_DPRINTF("Write power management %2.2x\n", val & 0xff);
126 126
#if 0
127
	// XXX: halting CPU does not work
128
	raise_exception(EXCP_HLT);
129
	cpu_loop_exit();
127
        // XXX almost works
128
        cpu_interrupt(cpu_single_env, CPU_INTERRUPT_HALT);
130 129
#endif
131 130
	break;
132 131
    }

Also available in: Unified diff