qemu/target/ppc
Chen Qun cf77e27f1e target/ppc: replaced the TODO with LOG_UNIMP and add break for silence warnings
When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed warning:
target/ppc/mmu_helper.c: In function ‘dump_mmu’:
target/ppc/mmu_helper.c:1351:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1351 |         if (ppc64_v3_radix(env_archcpu(env))) {
      |            ^
target/ppc/mmu_helper.c:1358:5: note: here
 1358 |     default:
      |     ^~~~~~~

Use "qemu_log_mask(LOG_UNIMP**)" instead of the TODO comment.
And add the break statement to fix it.

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20201116024810.2415819-8-kuhn.chenqun@huawei.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-12-14 15:50:55 +11:00
..
translate ppc/translate: Implement lxvwsx opcode 2020-11-24 11:34:18 +11:00
arch_dump.c
compat.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
cpu-models.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
cpu-models.h powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 07:03:34 -07:00
cpu-qom.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 2020-09-18 14:12:32 -04:00
cpu.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
cpu.h powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
dfp_helper.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
excp_helper.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
fpu_helper.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
gdbstub.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
helper_regs.h powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
helper.h target/ppc: add vmulh{su}d instructions 2020-08-12 13:16:27 +10:00
int_helper.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
internal.h powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
kvm_ppc.h target/ppc: Fix kvmppc_load_htab_chunk() error reporting 2020-10-28 01:08:53 +11:00
kvm-stub.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
kvm.c ppc/: fix some comment spelling errors 2020-10-28 01:08:53 +11:00
machine.c ppc/: fix some comment spelling errors 2020-10-28 01:08:53 +11:00
mem_helper.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
meson.build meson: target 2020-08-21 06:30:35 -04:00
mfrom_table_gen.c target/ppc: Style fixes for mfrom_table.inc.c & mfrom_table_gen.c 2019-04-26 10:42:38 +10:00
mfrom_table.c.inc meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
misc_helper.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
mmu_helper.c target/ppc: replaced the TODO with LOG_UNIMP and add break for silence warnings 2020-12-14 15:50:55 +11:00
mmu-book3s-v3.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
mmu-book3s-v3.h powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
mmu-hash32.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
mmu-hash32.h
mmu-hash64.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
mmu-hash64.h ppc/hash64: Rework R and C bit updates 2019-04-26 11:37:57 +10:00
mmu-radix64.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
mmu-radix64.h target/ppc: Pass const pointer to ppc_radix64_get_prot_amr() 2020-05-27 15:29:36 +10:00
monitor.c hmp: Pass monitor to mon_get_cpu_env() 2020-11-13 12:45:51 +00:00
timebase_helper.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
trace-events trace-events: Delete unused trace points 2020-09-09 17:17:02 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
translate_init.c.inc powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
translate.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00
user_only_helper.c powerpc tcg: Fix Lesser GPL version number 2020-11-15 16:38:50 +01:00