Commit 295db11371adb11d1117446e79162bbe5ebd046a
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,6 +207,14 @@ void helper_ld_asi(int asi, int size, int sign) | ||
207 | else | 207 | else |
208 | DPRINTF_MXCC("%08x: unimplemented access size: %d\n", T0, size); | 208 | DPRINTF_MXCC("%08x: unimplemented access size: %d\n", T0, size); |
209 | break; | 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 | case 0x01c00f00: /* MBus port address register */ | 218 | case 0x01c00f00: /* MBus port address register */ |
211 | if (size == 8) { | 219 | if (size == 8) { |
212 | ret = env->mxccregs[7]; | 220 | ret = env->mxccregs[7]; |