mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
openpic: export e500 epr enable into a ppc.c function
Enabling and disabling the EPR capability (mpic_proxy) is a system wide operation. As such, it belongs into the ppc.c file, since that's where PPC specific machine wide logic happens. Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
d3dccee187
commit
e49798b1bd
3 changed files with 18 additions and 6 deletions
2
hw/ppc.h
2
hw/ppc.h
|
@ -73,6 +73,8 @@ void ppc6xx_irq_init (CPUPPCState *env);
|
|||
void ppc970_irq_init (CPUPPCState *env);
|
||||
void ppcPOWER7_irq_init (CPUPPCState *env);
|
||||
|
||||
void ppce500_set_mpic_proxy(bool enabled);
|
||||
|
||||
/* PPC machines for OpenBIOS */
|
||||
enum {
|
||||
ARCH_PREP = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue