]> git.proxmox.com Git - mirror_qemu.git/commit
sPAPR: Introduce rtas_ldq()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Tue, 1 Sep 2015 01:05:12 +0000 (11:05 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 23 Sep 2015 00:51:09 +0000 (10:51 +1000)
commita14aa92b20c5482b9b694901304b8100b3c4b5a1
treea392e720fefe9f3e575003d43cb7869f9e9cc35d
parente6fc9568c865f2f81499475a4e322cd563fdfd90
sPAPR: Introduce rtas_ldq()

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 <gwshan@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_pci.c
include/hw/ppc/spapr.h