mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
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>
This commit is contained in:
parent
779a30df98
commit
afff880071
5 changed files with 28 additions and 85 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue