aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/helper.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-01-31 03:18:35 +0100
committerAlexander Graf <agraf@suse.de>2012-02-02 02:47:47 +0100
commit9e0b5cb1ecf5543864fad0628a17be23bb617ed7 (patch)
tree96d5d130a7e73b4ed44e56b6e88a2a34098dd3a6 /target-ppc/helper.h
parenta9abd71770e64d22ba6cb40c30e4c35998e5c743 (diff)
PPC: E500: Implement msgclr
This patch implements the msgclr instruction. It is part of the Embedded.Processor Control specification and clears pending doorbell interrupts on the current CPU. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r--target-ppc/helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h
index 4798fd57ee..48ceb61462 100644
--- a/target-ppc/helper.h
+++ b/target-ppc/helper.h
@@ -358,6 +358,7 @@ DEF_HELPER_FLAGS_1(load_sr, TCG_CALL_CONST, tl, tl);
DEF_HELPER_FLAGS_2(store_sr, TCG_CALL_CONST, void, tl, tl)
DEF_HELPER_FLAGS_1(602_mfrom, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl)
+DEF_HELPER_1(msgclr, void, tl)
#endif
DEF_HELPER_3(dlmzb, tl, tl, tl, i32)