Home
last modified time | relevance | path

Searched hist:ce3fa1ec (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/include/hw/ppc/
H A Dspapr.hce3fa1ec Tue Jun 24 22:54:29 CDT 2014 Sam bobroff <sam.bobroff@au1.ibm.com> spapr: Add rtas_st_buffer utility function

Add a function to write lengh + data into a buffer as required for the
emulation of the RTAS ibm,get-system-parameter call.

If the destination is smaller than the source, the write is truncated
and success is returned. This matches the behaviour of pHyp.

This will be used in following patches.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>