mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target/microblaze: Remove helper_debug and env->debug
This is not used, and seems redundant with -d cpu. Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
41060b74bf
commit
eb2022b7d0
4 changed files with 2 additions and 39 deletions
|
@ -71,29 +71,6 @@ void helper_raise_exception(CPUMBState *env, uint32_t index)
|
|||
cpu_loop_exit(cs);
|
||||
}
|
||||
|
||||
void helper_debug(CPUMBState *env)
|
||||
{
|
||||
int i;
|
||||
|
||||
qemu_log("PC=%08x\n", env->pc);
|
||||
qemu_log("rmsr=%x resr=%x rear=%" PRIx64 " "
|
||||
"debug[%x] imm=%x iflags=%x\n",
|
||||
env->msr, env->esr, env->ear,
|
||||
env->debug, env->imm, env->iflags);
|
||||
qemu_log("btaken=%d btarget=%x mode=%s(saved=%s) eip=%d ie=%d\n",
|
||||
env->btaken, env->btarget,
|
||||
(env->msr & MSR_UM) ? "user" : "kernel",
|
||||
(env->msr & MSR_UMS) ? "user" : "kernel",
|
||||
(bool)(env->msr & MSR_EIP),
|
||||
(bool)(env->msr & MSR_IE));
|
||||
for (i = 0; i < 32; i++) {
|
||||
qemu_log("r%2.2d=%8.8x ", i, env->regs[i]);
|
||||
if ((i + 1) % 4 == 0)
|
||||
qemu_log("\n");
|
||||
}
|
||||
qemu_log("\n\n");
|
||||
}
|
||||
|
||||
static inline uint32_t compute_carry(uint32_t a, uint32_t b, uint32_t cin)
|
||||
{
|
||||
uint32_t cout = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue