Commit 295db11371adb11d1117446e79162bbe5ebd046a

Authored by blueswir1
1 parent 7820dbf3

Add MXCC module reset register (Robert Reif)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3661 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 8 additions and 0 deletions
target-sparc/op_helper.c
... ... @@ -207,6 +207,14 @@ void helper_ld_asi(int asi, int size, int sign)
207 207 else
208 208 DPRINTF_MXCC("%08x: unimplemented access size: %d\n", T0, size);
209 209 break;
  210 + case 0x01c00c00: /* Module reset register */
  211 + if (size == 8) {
  212 + ret = env->mxccregs[5] >> 32;
  213 + T0 = env->mxccregs[5];
  214 + // should we do something here?
  215 + } else
  216 + DPRINTF_MXCC("%08x: unimplemented access size: %d\n", T0, size);
  217 + break;
210 218 case 0x01c00f00: /* MBus port address register */
211 219 if (size == 8) {
212 220 ret = env->mxccregs[7];
... ...