summaryrefslogtreecommitdiff
path: root/target-s390x/helper.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2015-06-13 00:45:57 +0200
committerAlexander Graf <agraf@suse.de>2015-06-17 12:40:52 +0200
commit2c2275eb41c612df4bd115cf71d6e651d105f69c (patch)
tree2058f1860964c2c3f941f0e638d329ccec0ad0f8 /target-s390x/helper.h
parent777c98c32ce577a9671b9267ff6e2802f69ebafd (diff)
downloadqemu-2c2275eb41c612df4bd115cf71d6e651d105f69c.tar.gz
target-s390x: PER successful-branching event support
For the PER successful-branching event support, we can't rely on any QEMU infrastucture. We therefore call an helper in all places where a branch can be taken. We have to pay attention to the branch to next case, as it's still a taken branch. We don't need to care about the cases using goto_tb, as we have disabled them in the previous patch. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-s390x/helper.h b/target-s390x/helper.h
index 7d2fa904eb..89197cb674 100644
--- a/target-s390x/helper.h
+++ b/target-s390x/helper.h
@@ -117,6 +117,7 @@ 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_1(per_check_exception, void, env)
+DEF_HELPER_FLAGS_3(per_branch, TCG_CALL_NO_RWG, void, env, i64, i64)
DEF_HELPER_2(xsch, void, env, i64)
DEF_HELPER_2(csch, void, env, i64)