Re: [Qemu-devel] [PATCH v6 6/8] sPAPR: Introduce rtas_ldq()

2015-08-25 Thread Thomas Huth
On 24/08/15 14:03, Gavin Shan wrote: > This introduces rtas_ldq() to load 64-bits parameter from continuous > two 4-bytes memory chunk of RTAS parameter buffer, to simplify the > code. > > Signed-off-by: Gavin Shan > --- > hw/ppc/spapr_pci.c | 20 ++-- > include/hw/ppc/spapr.

[Qemu-devel] [PATCH v6 6/8] sPAPR: Introduce rtas_ldq()

2015-08-24 Thread Gavin Shan
This introduces rtas_ldq() to load 64-bits parameter from continuous two 4-bytes memory chunk of RTAS parameter buffer, to simplify the code. Signed-off-by: Gavin Shan --- hw/ppc/spapr_pci.c | 20 ++-- include/hw/ppc/spapr.h | 5 + 2 files changed, 15 insertions(+), 10 d