Revision 50443c98 cpu-exec.c

b/cpu-exec.c
265 265
        }
266 266
    }
267 267
#elif defined(TARGET_PPC)
268
    if (env1->msr[MSR_POW]) {
268
    if (env1->halted) {
269 269
        if (env1->msr[MSR_EE] && 
270 270
            (env1->interrupt_request & 
271 271
             (CPU_INTERRUPT_HARD | CPU_INTERRUPT_TIMER))) {
272
            env1->msr[MSR_POW] = 0;
272
            env1->halted = 0;
273 273
        } else {
274 274
            return EXCP_HALTED;
275 275
        }

Also available in: Unified diff