summaryrefslogtreecommitdiffstats
path: root/bsps/moxie/moxiesim/console/syscalls.S
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/moxie/moxiesim/console/syscalls.S')
-rw-r--r--bsps/moxie/moxiesim/console/syscalls.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/bsps/moxie/moxiesim/console/syscalls.S b/bsps/moxie/moxiesim/console/syscalls.S
new file mode 100644
index 0000000000..f9a63a29b5
--- /dev/null
+++ b/bsps/moxie/moxiesim/console/syscalls.S
@@ -0,0 +1,15 @@
+/*
+ * System call support for simulator in gdb.
+ *
+ * COPYRIGHT (c) 2011 Anthony Green <green@moxielogic.com>
+ */
+
+#define SYS_write 5
+
+ .section .text
+ .align 2
+ .global _sys_write
+_sys_write:
+ swi SYS_write
+ ret
+ .end