diff options
author | Suraj Jitindar Singh | 2017-03-20 00:46:45 +0100 |
---|---|---|
committer | David Gibson | 2017-04-26 04:00:41 +0200 |
commit | d77a98b01575bbbeff87a83f6e7f5ca0ce3aefdb (patch) | |
tree | a0af9824d6b08046b6467d127e580061e77e7914 /include/hw/ppc | |
parent | target-ppc: support KVM_CAP_PPC_MMU_RADIX, KVM_CAP_PPC_MMU_HASH_V3 (diff) | |
download | qemu-d77a98b01575bbbeff87a83f6e7f5ca0ce3aefdb.tar.gz qemu-d77a98b01575bbbeff87a83f6e7f5ca0ce3aefdb.tar.xz qemu-d77a98b01575bbbeff87a83f6e7f5ca0ce3aefdb.zip |
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>
Diffstat (limited to 'include/hw/ppc')
-rw-r--r-- | include/hw/ppc/spapr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index ba9e689ee2..342f7a61f4 100644 --- a/include/hw/ppc/spapr.h +++ b/include/hw/ppc/spapr.h @@ -361,6 +361,9 @@ struct sPAPRMachineState { #define H_XIRR_X 0x2FC #define H_RANDOM 0x300 #define H_SET_MODE 0x31C +#define H_CLEAN_SLB 0x374 +#define H_INVALIDATE_PID 0x378 +#define H_REGISTER_PROC_TBL 0x37C #define H_SIGNAL_SYS_RESET 0x380 #define MAX_HCALL_OPCODE H_SIGNAL_SYS_RESET |