aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ppc/ppc.h
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2024-07-16 14:07:58 +0200
committerNicholas Piggin <npiggin@gmail.com>2024-11-04 10:09:36 +1000
commitafff8800717a768c48331e4f21ba6c84710cd762 (patch)
tree84314292cbdf7732ba0d94709f1bf27dcc3451d5 /include/hw/ppc/ppc.h
parent779a30df98a7d4875115044a8aaf0bb22c53844a (diff)
hw/ppc: Consolidate ppc440 initial mapping creation functions
Add a utility function and use it to replace very similar create_initial_mapping functions in 440 based machines. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com> Tested-by: Edgar E. Iglesias <edgar.iglesias@amd.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'include/hw/ppc/ppc.h')
-rw-r--r--include/hw/ppc/ppc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/ppc/ppc.h b/include/hw/ppc/ppc.h
index 070524b02e..8a14d623f8 100644
--- a/include/hw/ppc/ppc.h
+++ b/include/hw/ppc/ppc.h
@@ -119,6 +119,8 @@ enum {
#ifndef CONFIG_USER_ONLY
void booke206_set_tlb(ppcmas_tlb_t *tlb, target_ulong va, hwaddr pa,
hwaddr len);
+void booke_set_tlb(ppcemb_tlb_t *tlb, target_ulong va, hwaddr pa,
+ target_ulong size);
#endif
/* ppc_booke.c */