Add MXCC module reset register (Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3661 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2007-11-17 08:18:59 +00:00
parent 7820dbf3f0
commit 295db11371
1 changed files with 8 additions and 0 deletions

View File

@ -207,6 +207,14 @@ void helper_ld_asi(int asi, int size, int sign)
else
DPRINTF_MXCC("%08x: unimplemented access size: %d\n", T0, size);
break;
case 0x01c00c00: /* Module reset register */
if (size == 8) {
ret = env->mxccregs[5] >> 32;
T0 = env->mxccregs[5];
// should we do something here?
} else
DPRINTF_MXCC("%08x: unimplemented access size: %d\n", T0, size);
break;
case 0x01c00f00: /* MBus port address register */
if (size == 8) {
ret = env->mxccregs[7];