]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commit
spapr-rtas: fix h_rtas parameters reading
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 27 Sep 2013 08:10:18 +0000 (18:10 +1000)
committerAlexander Graf <agraf@suse.de>
Fri, 25 Oct 2013 21:25:46 +0000 (23:25 +0200)
commit4fe822e075d6befa3714f7066158678e92cedb8b
tree43e4e4b3cf9d39a654ec68d04cf0a8357045bba4
parentdcb861cb883e9e6d236514a4d0b4def4db736d13
spapr-rtas: fix h_rtas parameters reading

On the real hardware, RTAS is called in real mode and therefore
top 4 bits of the address passed in the call are ignored.
So does the patch.

This converts h_rtas() to use existing rtas_ld() handlers.

This fixed rtas_ld()/rtas_st() to ignore top 4 bits.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_hcall.c
include/hw/ppc/spapr.h