]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: Add new H-CALL shells for in memory table translation
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Sun, 19 Mar 2017 23:46:45 +0000 (10:46 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 26 Apr 2017 02:00:41 +0000 (12:00 +1000)
commitd77a98b01575bbbeff87a83f6e7f5ca0ce3aefdb
treea0af9824d6b08046b6467d127e580061e77e7914
parentcf1c4cce7c0d53d2a778a4b124d02ea3a84f1663
target/ppc: Add new H-CALL shells for in memory table translation

The use of the new in memory tables introduced in ISAv3.00 for translation,
also referred to as process tables, requires the introduction of 3 new
H-CALLs; H_REGISTER_PROCESS_TABLE, H_CLEAN_SLB, and H_INVALIDATE_PID.

Add shells for each of these and register them as the hypercall handlers.
Currently they all log an unimplemented hypercall and return H_FUNCTION.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
[dwg: Fix style nits]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_hcall.c
include/hw/ppc/spapr.h