qemu/target/ppc
BALATON Zoltan e48fb4c590 target/ppc: Remove pp_check() and reuse ppc_hash32_pp_prot()
The ppc_hash32_pp_prot() function in mmu-hash32.c is the same as
pp_check() in mmu_common.c, merge these to remove duplicated code.
Define the common function as static lnline otherwise exporting the
function from mmu-hash32.c would stop the compiler inlining it which
results in slightly lower performance.

Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
[np: move ppc_hash32_pp_prot inline without changing it]
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
2024-05-24 09:43:14 +10:00
..
translate target/ppc: add SMT support to msgsnd broadcast 2024-05-24 09:34:41 +10:00
arch_dump.c
compat.c
cpu_init.c target/ppc: Add a function to check for page protection bit 2024-05-24 09:43:13 +10:00
cpu-models.c
cpu-models.h
cpu-param.h
cpu-qom.h
cpu.c
cpu.h target/ppc: Move out BookE and related MMU functions from mmu_common.c 2024-05-24 09:43:13 +10:00
dfp_helper.c
excp_helper.c target/ppc: add SMT support to msgsnd broadcast 2024-05-24 09:34:41 +10:00
fpu_helper.c
gdbstub.c
helper_regs.c target/ppc: Remove id_tlbs flag from CPU env 2024-05-24 09:43:11 +10:00
helper_regs.h
helper.h target/ppc: Remove unused helper_rac() 2024-05-24 09:34:42 +10:00
insn32.decode target/ppc: Implement attn instruction on BookS 64-bit processors 2024-05-24 09:34:38 +10:00
insn64.decode
int_helper.c
internal.h target/ppc: Add a function to check for page protection bit 2024-05-24 09:43:13 +10:00
Kconfig
kvm_ppc.h
kvm.c
machine.c target/ppc: Add migration support for BHRB 2024-05-24 09:33:44 +10:00
mem_helper.c
meson.build target/ppc: Move out BookE and related MMU functions from mmu_common.c 2024-05-24 09:43:13 +10:00
misc_helper.c target/ppc: Implement SPRC/SPRD SPRs 2024-05-24 09:34:40 +10:00
mmu_common.c target/ppc: Remove pp_check() and reuse ppc_hash32_pp_prot() 2024-05-24 09:43:14 +10:00
mmu_helper.c target/ppc: Move out BookE and related MMU functions from mmu_common.c 2024-05-24 09:43:13 +10:00
mmu-book3s-v3.c
mmu-book3s-v3.h
mmu-booke.c target/ppc: Move out BookE and related MMU functions from mmu_common.c 2024-05-24 09:43:13 +10:00
mmu-booke.h target/ppc: Move out BookE and related MMU functions from mmu_common.c 2024-05-24 09:43:13 +10:00
mmu-books.h
mmu-hash32.c target/ppc: Remove pp_check() and reuse ppc_hash32_pp_prot() 2024-05-24 09:43:14 +10:00
mmu-hash32.h target/ppc: Remove pp_check() and reuse ppc_hash32_pp_prot() 2024-05-24 09:43:14 +10:00
mmu-hash64.c target/ppc: Add a function to check for page protection bit 2024-05-24 09:43:13 +10:00
mmu-hash64.h
mmu-radix64.c target/ppc: Add a function to check for page protection bit 2024-05-24 09:43:13 +10:00
mmu-radix64.h
power8-pmu-regs.c.inc
power8-pmu.c target/ppc: Add recording of taken branches to BHRB 2024-05-24 09:33:06 +10:00
power8-pmu.h target/ppc: Add recording of taken branches to BHRB 2024-05-24 09:33:06 +10:00
ppc-qmp-cmds.c
spr_common.h target/ppc: Implement SPRC/SPRD SPRs 2024-05-24 09:34:40 +10:00
tcg-stub.c
timebase_helper.c
trace-events
trace.h
translate.c target/ppc: Implement SPRC/SPRD SPRs 2024-05-24 09:34:40 +10:00
user_only_helper.c