diff options
author | Sam bobroff <sam.bobroff@au1.ibm.com> | 2014-06-25 13:54:29 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-06-27 13:48:25 +0200 |
commit | ce3fa1eca2c60673fede2222defb4bd13a3b5b1e (patch) | |
tree | 281f01a48f0537f149df3f56d68d5b8d5ed8b12f /roms | |
parent | 6026db4501f773caaa2895cde7f93022960c7169 (diff) | |
download | qemu-ce3fa1eca2c60673fede2222defb4bd13a3b5b1e.zip qemu-ce3fa1eca2c60673fede2222defb4bd13a3b5b1e.tar.gz qemu-ce3fa1eca2c60673fede2222defb4bd13a3b5b1e.tar.bz2 |
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>
Diffstat (limited to 'roms')
0 files changed, 0 insertions, 0 deletions