提交 e2be8d8d 编写于 作者: A aurel32

PPC: convert effective address computation to TCG

Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5490 c046a42c-6fe2-441c-8c8c-71466251a162
上级 064f6633
...@@ -2899,19 +2899,6 @@ void ppc_hw_interrupt (CPUPPCState *env) ...@@ -2899,19 +2899,6 @@ void ppc_hw_interrupt (CPUPPCState *env)
} }
#endif /* !CONFIG_USER_ONLY */ #endif /* !CONFIG_USER_ONLY */
void cpu_dump_EA (target_ulong EA)
{
FILE *f;
if (logfile) {
f = logfile;
} else {
f = stdout;
return;
}
fprintf(f, "Memory access at address " ADDRX "\n", EA);
}
void cpu_dump_rfi (target_ulong RA, target_ulong msr) void cpu_dump_rfi (target_ulong RA, target_ulong msr)
{ {
FILE *f; FILE *f;
......
...@@ -26,12 +26,6 @@ ...@@ -26,12 +26,6 @@
#include "helper_regs.h" #include "helper_regs.h"
#include "op_helper.h" #include "op_helper.h"
void OPPROTO op_print_mem_EA (void)
{
do_print_mem_EA(T0);
RETURN();
}
/* PowerPC state maintenance operations */ /* PowerPC state maintenance operations */
/* set_Rc0 */ /* set_Rc0 */
void OPPROTO op_set_Rc0 (void) void OPPROTO op_set_Rc0 (void)
......
...@@ -60,12 +60,6 @@ void do_raise_exception (uint32_t exception) ...@@ -60,12 +60,6 @@ void do_raise_exception (uint32_t exception)
do_raise_exception_err(exception, 0); do_raise_exception_err(exception, 0);
} }
void cpu_dump_EA (target_ulong EA);
void do_print_mem_EA (target_ulong EA)
{
cpu_dump_EA(EA);
}
/*****************************************************************************/ /*****************************************************************************/
/* Registers load and stores */ /* Registers load and stores */
void do_load_cr (void) void do_load_cr (void)
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册