diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-15 22:36:53 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-15 22:36:53 +0000 |
commit | 8fec2b8c454f00d9200e6eb75c6cda73f8425c00 (patch) | |
tree | de4093e5d448a6c15560ab338ded7deb3a098eaf /target-mips/op_helper.c | |
parent | 31b1a7b4f5f87a239ee62feb8ba5bd00d6e26744 (diff) | |
download | qemu-8fec2b8c454f00d9200e6eb75c6cda73f8425c00.zip qemu-8fec2b8c454f00d9200e6eb75c6cda73f8425c00.tar.gz qemu-8fec2b8c454f00d9200e6eb75c6cda73f8425c00.tar.bz2 |
global s/loglevel & X/qemu_loglevel_mask(X)/ (Eduardo Habkost)
These are references to 'loglevel' that aren't on a simple 'if (loglevel &
X) qemu_log()' statement.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6340 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/op_helper.c')
-rw-r--r-- | target-mips/op_helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index 6b0600a..50f5e67 100644 --- a/target-mips/op_helper.c +++ b/target-mips/op_helper.c @@ -1194,7 +1194,7 @@ void do_mtc0_status (target_ulong t0) old = env->CP0_Status; env->CP0_Status = (env->CP0_Status & ~mask) | val; compute_hflags(env); - if (loglevel & CPU_LOG_EXEC) + if (qemu_loglevel_mask(CPU_LOG_EXEC)) do_mtc0_status_debug(old, val); cpu_mips_update_irq(env); } @@ -1705,7 +1705,7 @@ target_ulong do_ei (void) static void debug_pre_eret (void) { - if (loglevel & CPU_LOG_EXEC) { + if (qemu_loglevel_mask(CPU_LOG_EXEC)) { qemu_log("ERET: PC " TARGET_FMT_lx " EPC " TARGET_FMT_lx, env->active_tc.PC, env->CP0_EPC); if (env->CP0_Status & (1 << CP0St_ERL)) @@ -1718,7 +1718,7 @@ static void debug_pre_eret (void) static void debug_post_eret (void) { - if (loglevel & CPU_LOG_EXEC) { + if (qemu_loglevel_mask(CPU_LOG_EXEC)) { qemu_log(" => PC " TARGET_FMT_lx " EPC " TARGET_FMT_lx, env->active_tc.PC, env->CP0_EPC); if (env->CP0_Status & (1 << CP0St_ERL)) |