Added stubs for additional newlib system calls
[akaros.git] / user / parlib / src / sparc / syscall.c
1 __asm__ (".global syscall               \n\t"
2          "syscall:                      \n\t"
3          "mov %o0,%g1           \n\t"
4          "mov %o1,%o0           \n\t"
5          "mov %o2,%o1           \n\t"
6          "mov %o3,%o2           \n\t"
7          "mov %o4,%o3           \n\t"
8          "mov %o5,%o4           \n\t"
9          "retl                  \n\t"
10          "ta 8                  \n\t");