From 143e8951e40c7dfcc985801ac93a7e58e2e44985 Mon Sep 17 00:00:00 2001 From: Michael Walle Date: Thu, 17 Feb 2011 23:45:04 +0100 Subject: lm32: translation code helper This patch adds translation helper functions. Signed-off-by: Michael Walle Signed-off-by: Edgar E. Iglesias --- target-lm32/helper.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 target-lm32/helper.h (limited to 'target-lm32/helper.h') 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" -- cgit v1.2.3