aboutsummaryrefslogtreecommitdiff
path: root/sim/rx/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/rx/syscalls.c')
-rw-r--r--sim/rx/syscalls.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/rx/syscalls.c b/sim/rx/syscalls.c
index 6d2f163..9263257 100644
--- a/sim/rx/syscalls.c
+++ b/sim/rx/syscalls.c
@@ -43,6 +43,12 @@ set_callbacks (struct host_callback_struct *cb)
callbacks = cb;
}
+struct host_callback_struct *
+get_callbacks (void)
+{
+ return callbacks;
+}
+
/* Arguments 1..4 are in R1..R4, remainder on stack.