qemu-e2k/include
Michael Roth 0cb688d22b spapr_drc: use RTAS return codes for methods called by RTAS
Certain methods in sPAPRDRConnector objects are only ever called by
RTAS and in many cases are responsible for the logic that determines
the RTAS return codes.

Rather than having a level of indirection requiring RTAS code to
re-interpret return values from such methods to determine the
appropriate return code, just pass them through directly.

This requires changing method return types to uint32_t to match the
type of values currently passed to RTAS helpers.

In the case of read accesses like drc->entity_sense() where we weren't
previously reporting any errors, just the read value, we modify the
function to return RTAS return code, and pass the read value back via
reference.

Suggested-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Suggested-by: David Gibson <david@gibson.dropbear.id.au>
Cc: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2015-09-23 10:51:10 +10:00
..
block block: Allow specifying driver-specific options to reopen 2015-09-14 16:51:36 +02:00
crypto crypto: introduce new module for handling TLS sessions 2015-09-15 15:07:43 +01:00
disas disas: Add print_insn to disassemble info 2015-07-09 15:20:40 +02:00
exec include/exec: Move cputlb exec.c defs out 2015-09-16 17:33:33 +02:00
fpu
hw spapr_drc: use RTAS return codes for methods called by RTAS 2015-09-23 10:51:10 +10:00
libdecnumber
migration migration: Fix global state with Xen. 2015-08-03 16:13:23 +00:00
monitor qom: Don't use 'gen': false for qom-get, qom-set, object-add 2015-09-21 09:56:49 +02:00
net qmp: Wean off qerror_report() 2015-06-22 18:20:40 +02:00
qapi qapi: Introduce a first class 'any' type 2015-09-21 09:56:49 +02:00
qemu machine: Eliminate QEMUMachine and qemu_register_machine() 2015-09-19 16:40:30 +02:00
qom cpu: Add crash_occurred flag into CPUState 2015-09-16 17:33:32 +02:00
standard-headers target-i386: move asm-x86/hyperv.h to standard-headers 2015-09-16 17:33:32 +02:00
sysemu machine: Eliminate QEMUMachine and qemu_register_machine() 2015-09-19 16:40:30 +02:00
ui Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
config.h
elf.h linux-user: Support tilegx architecture in linux-user 2015-09-15 07:41:19 -07:00
glib-compat.h glib: remove stale compat functions 2015-05-22 15:58:06 -04:00
qemu-common.h * Support for jemalloc 2015-09-14 16:13:16 +01:00
qemu-io.h
qjson.h
trace-tcg.h
trace.h