Revision bbf7d96b target-sparc/op_helper.c
b/target-sparc/op_helper.c | ||
---|---|---|
446 | 446 |
DPRINTF_MXCC("%08x: unimplemented access size: %d\n", T0, size); |
447 | 447 |
break; |
448 | 448 |
case 0x01c00e00: /* MXCC error register */ |
449 |
// writing a 1 bit clears the error |
|
449 | 450 |
if (size == 8) |
450 |
env->mxccregs[6] = ((uint64_t)T1 << 32) | T2;
|
|
451 |
env->mxccregs[6] &= ~(((uint64_t)T1 << 32) | T2);
|
|
451 | 452 |
else |
452 | 453 |
DPRINTF_MXCC("%08x: unimplemented access size: %d\n", T0, size); |
453 |
if (env->mxccregs[6] == 0xffffffffffffffffULL) { |
|
454 |
// this is probably a reset |
|
455 |
} |
|
456 | 454 |
break; |
457 | 455 |
case 0x01c00f00: /* MBus port address register */ |
458 | 456 |
if (size == 8) |
Also available in: Unified diff