aboutsummaryrefslogtreecommitdiff
path: root/target-lm32/helper.h
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2011-02-17 23:45:04 +0100
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-03-07 13:42:36 +0100
commit143e8951e40c7dfcc985801ac93a7e58e2e44985 (patch)
tree9354b602343e64394c8931b1e7e1ce3ff1dde541 /target-lm32/helper.h
parent17c0fa3d57ee1ee456a948b16b2905bf87833b8f (diff)
lm32: translation code helper
This patch adds translation helper functions. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-lm32/helper.h')
-rw-r--r--target-lm32/helper.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/target-lm32/helper.h b/target-lm32/helper.h
new file mode 100644
index 0000000000..9d335efc45
--- /dev/null
+++ b/target-lm32/helper.h
@@ -0,0 +1,14 @@
+#include "def-helper.h"
+
+DEF_HELPER_1(raise_exception, void, i32)
+DEF_HELPER_0(hlt, void)
+DEF_HELPER_1(wcsr_im, void, i32)
+DEF_HELPER_1(wcsr_ip, void, i32)
+DEF_HELPER_1(wcsr_jtx, void, i32)
+DEF_HELPER_1(wcsr_jrx, void, i32)
+DEF_HELPER_0(rcsr_im, i32)
+DEF_HELPER_0(rcsr_ip, i32)
+DEF_HELPER_0(rcsr_jtx, i32)
+DEF_HELPER_0(rcsr_jrx, i32)
+
+#include "def-helper.h"