aboutsummaryrefslogtreecommitdiff
path: root/target-openrisc/helper.h
diff options
context:
space:
mode:
authorJia Liu <proljc@gmail.com>2012-07-20 15:50:42 +0800
committerBlue Swirl <blauwirbel@gmail.com>2012-07-27 21:12:58 +0000
commit1d7d4034690a4dd292b214a788298a2cacd09fb2 (patch)
tree38c8069c4d421fb10161499c56dfbe57aede215b /target-openrisc/helper.h
parentb6a71ef7e01bcac7aeb47d8de4082704fbc6479c (diff)
target-or32: Add exception support
Add OpenRISC exception support. Signed-off-by: Jia Liu <proljc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-openrisc/helper.h')
-rw-r--r--target-openrisc/helper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-openrisc/helper.h b/target-openrisc/helper.h
index 7ced5eaaec..43b23caca8 100644
--- a/target-openrisc/helper.h
+++ b/target-openrisc/helper.h
@@ -19,6 +19,9 @@
#include "def-helper.h"
+/* exception */
+DEF_HELPER_FLAGS_2(exception, 0, void, env, i32)
+
/* interrupt */
DEF_HELPER_FLAGS_1(rfe, 0, void, env)