提交 170f4c55 编写于 作者: I Igor V. Kovalenko 提交者: Blue Swirl

sparc64: fix mmu demap operand typo

- must use store address operand to demap, not store value
Signed-off-by: NIgor V. Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 1012e960
...@@ -2877,7 +2877,7 @@ void helper_st_asi(target_ulong addr, target_ulong val, int asi, int size) ...@@ -2877,7 +2877,7 @@ void helper_st_asi(target_ulong addr, target_ulong val, int asi, int size)
return; return;
} }
case 0x57: // I-MMU demap case 0x57: // I-MMU demap
demap_tlb(env->itlb, val, "immu", env); demap_tlb(env->itlb, addr, "immu", env);
return; return;
case 0x58: // D-MMU regs case 0x58: // D-MMU regs
{ {
...@@ -2942,7 +2942,7 @@ void helper_st_asi(target_ulong addr, target_ulong val, int asi, int size) ...@@ -2942,7 +2942,7 @@ void helper_st_asi(target_ulong addr, target_ulong val, int asi, int size)
return; return;
} }
case 0x5f: // D-MMU demap case 0x5f: // D-MMU demap
demap_tlb(env->dtlb, val, "dmmu", env); demap_tlb(env->dtlb, addr, "dmmu", env);
return; return;
case 0x49: // Interrupt data receive case 0x49: // Interrupt data receive
// XXX // XXX
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册