qemu-patch-raspberry4/hw/ppc
David Gibson d5aea6f367 mmu-hash*: Add header file for definitions
Currently cpu.h contains a number of definitions relating to the 64-bit
hash MMU.  Some are used in the MMU emulation code, but some are only used
in the spapr MMU management hcall implementations.

This patch moves these definitions (except for a few that are needed
more widely) into mmu-hash64.h header, shared between the MMU emulation
code and the spapr hcall code.  The MMU emulation code is also updated to
actually use a number of those definitions in place of hard coded
constants.

Similarly, we add new analogous definitions to mmu-hash32.h and use those
in place of many hard-coded constants in mmu-hash32.c

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
[agraf: fix 32-bit hosts]
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-03-22 15:28:48 +01:00
..
e500-ccsr.h ppc: do not use ../ in include files 2013-03-01 13:57:33 +01:00
e500.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
e500.h PPC: e500: Select MPIC v4.2 on ppce500 platform 2013-01-25 22:02:56 +01:00
e500plat.c ppc: do not use ../ in include files 2013-03-01 13:57:33 +01:00
mac.h cuda: Move ADB bus into CUDA state 2013-01-25 22:02:55 +01:00
mac_newworld.c PPC: Fix dma interrupt 2013-03-08 21:04:53 +01:00
mac_oldworld.c fw_cfg: Remove FW_CFG_MAX_CPUS from fw_cfg_init() 2013-01-27 14:34:27 +01:00
Makefile.objs ppc: move more files to hw/ppc 2013-03-01 15:01:19 +01:00
mpc8544_guts.c ppc: move files referencing CPU to hw/ppc/ 2013-03-01 15:01:19 +01:00
mpc8544ds.c ppc: do not use ../ in include files 2013-03-01 13:57:33 +01:00
ppc.c cpu: Pass CPUState to cpu_interrupt() 2013-03-12 10:35:55 +01:00
ppc4xx_devs.c ppc: move files referencing CPU to hw/ppc/ 2013-03-01 15:01:19 +01:00
ppc405_boards.c hw: move boards and other isolated files to hw/ARCH 2013-03-01 15:01:19 +01:00
ppc405_uc.c cpu: Pass CPUState to cpu_interrupt() 2013-03-12 10:35:55 +01:00
ppc440_bamboo.c hw: move boards and other isolated files to hw/ARCH 2013-03-01 15:01:19 +01:00
ppc_booke.c hw: move boards and other isolated files to hw/ARCH 2013-03-01 15:01:19 +01:00
ppce500_spin.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
prep.c pci_host: Drop write-only address_space field 2013-03-08 13:15:27 +01:00
spapr.c pseries: Move XICS initialization before cpu initialization 2013-03-22 15:28:45 +01:00
spapr_events.c ppc: move more files to hw/ppc 2013-03-01 15:01:19 +01:00
spapr_hcall.c mmu-hash*: Add header file for definitions 2013-03-22 15:28:48 +01:00
spapr_iommu.c ppc: move more files to hw/ppc 2013-03-01 15:01:19 +01:00
spapr_rtas.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
spapr_vio.c ppc: move files referencing CPU to hw/ppc/ 2013-03-01 15:01:19 +01:00
virtex_ml507.c hw: move boards and other isolated files to hw/ARCH 2013-03-01 15:01:19 +01:00
xics.c pseries: Move XICS initialization before cpu initialization 2013-03-22 15:28:45 +01:00