qemu-e2k/hw/ppc
Anthony Liguori 210b580b10 spapr-rtas: add CPU argument to RTAS calls
RTAS is a hypervisor provided binary blob that a guest loads and
calls into to execute certain functions.  It's similar to the
vsyscall page in Linux or the short lived VMCI paravirt interface
from VMware.

The QEMU implementation of the RTAS blob is simply a passthrough
that proxies all RTAS calls to the hypervisor via an hypercall.

While we pass a CPU argument for hypercall handling in QEMU, we
don't pass it for RTAS calls.  Since some RTAs calls require
making hypercalls (normally RTAS is implemented as guest code) we
have nasty hacks to allow that.

Add a CPU argument to RTAS call handling so we can more easily
invoke hypercalls just as guest code would.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-07-01 01:11:16 +02:00
..
e500-ccsr.h
e500.c intc/openpic_kvm: Fix QOM and build issues 2013-07-01 01:11:15 +02:00
e500.h
e500plat.c PPC: e500: advertise 4.2 MPIC only if KVM supports EPR 2013-04-26 23:02:40 +02:00
mac_newworld.c target-ppc: Change default machine for 64-bit 2013-07-01 01:11:15 +02:00
mac_oldworld.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
mac.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
Makefile.objs hw: move NVRAM interfaces to hw/nvram/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
mpc8544_guts.c mpc8544_guts: Turn qdev initfn into instance_init 2013-07-01 01:11:15 +02:00
mpc8544ds.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
ppc4xx_devs.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
ppc4xx_pci.c hw: move PCI bridges to hw/pci-* or hw/ARCH 2013-04-08 18:13:14 +02:00
ppc405_boards.c Remove unneeded type casts 2013-04-19 11:36:33 +02:00
ppc405_uc.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ppc405.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ppc440_bamboo.c ppc: Remove CONFIG_FDT conditionals 2013-06-14 15:34:19 +01:00
ppc_booke.c Enable kvm emulated watchdog 2013-04-26 23:02:40 +02:00
ppc.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
ppce500_spin.c kvm: Change cpu_synchronize_state() argument to CPUState 2013-06-28 13:25:12 +02:00
prep.c cpu: Change cpu_exit() argument to CPUState 2013-06-28 13:25:12 +02:00
spapr_events.c spapr-rtas: add CPU argument to RTAS calls 2013-07-01 01:11:16 +02:00
spapr_hcall.c spapr-rtas: add CPU argument to RTAS calls 2013-07-01 01:11:16 +02:00
spapr_iommu.c spapr_vio: take care of creating our own AddressSpace/DMAContext 2013-06-20 16:32:48 +02:00
spapr_pci.c spapr-rtas: add CPU argument to RTAS calls 2013-07-01 01:11:16 +02:00
spapr_rtas.c spapr-rtas: add CPU argument to RTAS calls 2013-07-01 01:11:16 +02:00
spapr_vio.c spapr-rtas: add CPU argument to RTAS calls 2013-07-01 01:11:16 +02:00
spapr.c target-ppc: Change default machine for 64-bit 2013-07-01 01:11:15 +02:00
virtex_ml507.c ppc: Remove CONFIG_FDT conditionals 2013-06-14 15:34:19 +01:00
xics.c spapr-rtas: add CPU argument to RTAS calls 2013-07-01 01:11:16 +02:00