]> git.proxmox.com Git - mirror_qemu.git/commit - configure
Implement hcall based RTAS for pSeries machines
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 1 Apr 2011 04:15:23 +0000 (15:15 +1100)
committerAlexander Graf <agraf@suse.de>
Fri, 1 Apr 2011 16:34:56 +0000 (18:34 +0200)
commit39ac8455106af1ed669b8e10223420cf1ac5b190
tree48c935a56286ff50f76982c9d7aab1a0eb835e03
parentf43e35255cffb6ac6230dd09d308f7909f823f96
Implement hcall based RTAS for pSeries machines

On pSeries machines, operating systems can instantiate "RTAS" (Run-Time
Abstraction Services), a runtime component of the firmware which implements
a number of low-level, infrequently used operations.  On logical partitions
under a hypervisor, many of the RTAS functions require hypervisor
privilege.  For simplicity, therefore, hypervisor systems typically
implement the in-partition RTAS as just a tiny wrapper around a hypercall
which actually implements the various RTAS functions.

This patch implements such a hypercall based RTAS for our emulated pSeries
machine.  A tiny in-partition "firmware" calls a new hypercall, which
looks up available RTAS services in a table.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Makefile
Makefile.target
configure
hw/spapr.c
hw/spapr.h
hw/spapr_hcall.c
hw/spapr_rtas.c [new file with mode: 0644]
pc-bios/spapr-rtas.bin [new file with mode: 0755]
pc-bios/spapr-rtas/Makefile [new file with mode: 0644]
pc-bios/spapr-rtas/spapr-rtas.S [new file with mode: 0644]