aboutsummaryrefslogtreecommitdiff
path: root/target-xtensa/helpers.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2011-09-06 03:55:48 +0400
committerBlue Swirl <blauwirbel@gmail.com>2011-09-10 16:57:39 +0000
commitb994e91b00cce463bfd306482dfe21630e11bf68 (patch)
tree097173c01d0e318e0201f30c877927193fce0e57 /target-xtensa/helpers.h
parent1ddeaa5d4277af76679d02bc59b08657c357aee6 (diff)
target-xtensa: implement interrupt option
See ISA, 4.4.6 (interrupt option), 4.4.7 (high priority interrupt option) and 4.4.8 (timer interrupt option) for details. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-xtensa/helpers.h')
-rw-r--r--target-xtensa/helpers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/target-xtensa/helpers.h b/target-xtensa/helpers.h
index 6e02d26dfd..28689c3088 100644
--- a/target-xtensa/helpers.h
+++ b/target-xtensa/helpers.h
@@ -17,4 +17,9 @@ DEF_HELPER_1(wsr_lend, void, i32)
DEF_HELPER_1(simcall, void, env)
DEF_HELPER_0(dump_state, void)
+DEF_HELPER_2(waiti, void, i32, i32)
+DEF_HELPER_2(timer_irq, void, i32, i32)
+DEF_HELPER_1(advance_ccount, void, i32)
+DEF_HELPER_1(check_interrupts, void, env)
+
#include "def-helper.h"