mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
Fix array subscript above array bounds error
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5219 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
@@ -1061,7 +1061,7 @@ void helper_st_asi(target_ulong addr, uint64_t val, int asi, int size)
|
||||
break;
|
||||
case 0x01c00a04: /* MXCC control register */
|
||||
if (size == 4)
|
||||
env->mxccregs[3] = (env->mxccregs[0xa] & 0xffffffff00000000ULL)
|
||||
env->mxccregs[3] = (env->mxccregs[3] & 0xffffffff00000000ULL)
|
||||
| val;
|
||||
else
|
||||
DPRINTF_MXCC("%08x: unimplemented access size: %d\n", addr,
|
||||
|
||||
Reference in New Issue
Block a user