summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-06-07 15:38:09 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-06-07 15:38:09 -0500
commitaa1db69f1de27bba8ee5e128f717557780f21e0d (patch)
tree2c6ad4cdeb366f2d5153a38c6ba078af3f347cef /src/lib
parent546a015f74fab0c4e359cf97f289ff26d6481844 (diff)
downloadtalos-hostboot-aa1db69f1de27bba8ee5e128f717557780f21e0d.tar.gz
talos-hostboot-aa1db69f1de27bba8ee5e128f717557780f21e0d.zip
Add syscall interfaces and task_yield
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/makefile2
-rw-r--r--src/lib/syscall_stub.S21
2 files changed, 22 insertions, 1 deletions
diff --git a/src/lib/makefile b/src/lib/makefile
index b4e27e478..9ea27377e 100644
--- a/src/lib/makefile
+++ b/src/lib/makefile
@@ -1,7 +1,7 @@
OBJDIR = ../../obj
include ../../config.mk
-OBJS = string.o stdlib.o
+OBJS = string.o stdlib.o syscall_stub.o
OBJECTS = $(addprefix ${OBJDIR}/, ${OBJS})
all: ${OBJECTS}
diff --git a/src/lib/syscall_stub.S b/src/lib/syscall_stub.S
new file mode 100644
index 000000000..a3b83326e
--- /dev/null
+++ b/src/lib/syscall_stub.S
@@ -0,0 +1,21 @@
+.section .text
+
+.global _syscall0
+.global _syscall1
+.global _syscall2
+.global _syscall3
+.global _syscall4
+.global _syscall5
+.global _syscall6
+.global _syscall7
+
+_syscall0:
+_syscall1:
+_syscall2:
+_syscall3:
+_syscall4:
+_syscall5:
+_syscall6:
+_syscall7:
+ sc
+ blr
OpenPOWER on IntegriCloud