summaryrefslogtreecommitdiff
path: root/target-s390x/helper.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2015-06-15 17:57:09 +0200
committerAlexander Graf <agraf@suse.de>2015-06-17 12:40:50 +0200
commitad8a4570add09a7635cb8cd1c9327640521ee7a7 (patch)
treec3e22b561f71282c70d197c1ccd88b355caf867f /target-s390x/helper.h
parent2ecacb0b4b6c73af424b7b4389fa55809368a98b (diff)
downloadqemu-ad8a4570add09a7635cb8cd1c9327640521ee7a7.tar.gz
qemu-ad8a4570add09a7635cb8cd1c9327640521ee7a7.tar.bz2
qemu-ad8a4570add09a7635cb8cd1c9327640521ee7a7.zip
target-s390x: wire up I/O instructions in TCG mode
The code handling the I/O instructions for KVM decodes the instruction itself. In TCG mode also pass the full instruction word to the helpers. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x/helper.h')
-rw-r--r--target-s390x/helper.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/target-s390x/helper.h b/target-s390x/helper.h
index 6be9f44aec..53db5193d9 100644
--- a/target-s390x/helper.h
+++ b/target-s390x/helper.h
@@ -116,4 +116,15 @@ DEF_HELPER_FLAGS_2(lura, TCG_CALL_NO_WG, i64, env, i64)
DEF_HELPER_FLAGS_2(lurag, TCG_CALL_NO_WG, i64, env, i64)
DEF_HELPER_FLAGS_3(stura, TCG_CALL_NO_WG, void, env, i64, i64)
DEF_HELPER_FLAGS_3(sturg, TCG_CALL_NO_WG, void, env, i64, i64)
+
+DEF_HELPER_2(xsch, void, env, i64)
+DEF_HELPER_2(csch, void, env, i64)
+DEF_HELPER_2(hsch, void, env, i64)
+DEF_HELPER_3(msch, void, env, i64, i64)
+DEF_HELPER_2(rchp, void, env, i64)
+DEF_HELPER_2(rsch, void, env, i64)
+DEF_HELPER_3(ssch, void, env, i64, i64)
+DEF_HELPER_3(stsch, void, env, i64, i64)
+DEF_HELPER_3(tsch, void, env, i64, i64)
+DEF_HELPER_2(chsc, void, env, i64)
#endif