aboutsummaryrefslogtreecommitdiff
path: root/target/ppc/helper.h
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2018-01-18 15:54:03 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2018-01-20 17:15:05 +1100
commit7af1e7b022641e4cc330a75ab50fa64683fe4847 (patch)
treedf50949b9f51441a74eb47417d56219d3635e968 /target/ppc/helper.h
parent3a14ba466488fc717dccd4429487295d79fe0775 (diff)
downloadqemu-7af1e7b022641e4cc330a75ab50fa64683fe4847.zip
qemu-7af1e7b022641e4cc330a75ab50fa64683fe4847.tar.gz
qemu-7af1e7b022641e4cc330a75ab50fa64683fe4847.tar.bz2
target/ppc: add support for hypervisor doorbells on book3s CPUs
The hypervisor doorbells are used by skiboot and Linux on POWER9 processors to wake up secondaries. This adds processor control support to the Server architecture by reusing the Embedded support. They are very similar, only the bits definition of the CPU identifier differ. Still to be done is message broadcast to all threads of the same processor. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc/helper.h')
-rw-r--r--target/ppc/helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/ppc/helper.h b/target/ppc/helper.h
index bb6a94a..5b73917 100644
--- a/target/ppc/helper.h
+++ b/target/ppc/helper.h
@@ -679,6 +679,8 @@ DEF_HELPER_FLAGS_3(store_sr, TCG_CALL_NO_RWG, void, env, tl, tl)
DEF_HELPER_FLAGS_1(602_mfrom, TCG_CALL_NO_RWG_SE, tl, tl)
DEF_HELPER_1(msgsnd, void, tl)
DEF_HELPER_2(msgclr, void, env, tl)
+DEF_HELPER_1(book3s_msgsnd, void, tl)
+DEF_HELPER_2(book3s_msgclr, void, env, tl)
#endif
DEF_HELPER_4(dlmzb, tl, env, tl, tl, i32)