Revision e63ecc6f hw/ppc.c

b/hw/ppc.c
103 103
        case PPC6xx_INPUT_CKSTP_IN:
104 104
            /* Level sensitive - active low */
105 105
            /* XXX: TODO: relay the signal to CKSTP_OUT pin */
106
            /* XXX: Note that the only way to restart the CPU is to reset it */
106 107
            if (level) {
107 108
#if defined(PPC_DEBUG_IRQ)
108 109
                if (loglevel & CPU_LOG_INT) {
......
110 111
                }
111 112
#endif
112 113
                env->halted = 1;
113
            } else {
114
#if defined(PPC_DEBUG_IRQ)
115
                if (loglevel & CPU_LOG_INT) {
116
                    fprintf(logfile, "%s: restart the CPU\n", __func__);
117
                }
118
#endif
119
                env->halted = 0;
120 114
            }
121 115
            break;
122 116
        case PPC6xx_INPUT_HRESET:

Also available in: Unified diff