qemu-e2k/hw/nvram
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
..
ds1225y.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
eeprom93xx.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
fw_cfg.c fw_cfg: fw_cfg is a singleton 2013-06-02 18:14:14 +03:00
mac_nvram.c firmware_abi: move to include/hw/nvram/ 2013-06-02 18:13:54 +03:00
Makefile.objs hw: move NVRAM interfaces to hw/nvram/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
spapr_nvram.c spapr-rtas: add CPU argument to RTAS calls 2013-07-01 01:11:16 +02:00