search for: __syscall_return

Displaying 5 results from an estimated 5 matches for "__syscall_return".

2006 Jun 26
0
[klibc 37/43] x86_64 support for klibc
...f _syscall2 +#undef _syscall3 +#undef _syscall4 +#undef _syscall5 +#undef _syscall6 + +#define _syscall0(type,name) \ +type name (void) \ +{ \ +long __res; \ +__asm__ volatile (__syscall \ + : "=a" (__res) \ + : "0" (__NR_##name) \ + : __syscall_clobber); \ +__syscall_return(type,__res); \ +} + +#define _syscall1(type,name,type1,arg1) \ +type name (type1 arg1) \ +{ \ +long __res; \ +__asm__ volatile (__syscall \ + : "=a" (__res) \ + : "0" (__NR_##name),"D" (arg1) \ + : __syscall_clobber); \ +__syscall_return(type,__res...
2006 Jun 26
0
[klibc 32/43] ppc64 support for klibc
...: __syscall_clobbers); \ + __sc_ret = __sc_3; \ + __sc_err = __sc_0; \ + } \ + __syscall_return (type); \ +} + +#endif /* _syscall6() missing */ + +#endif /* _KLIBC_ARCHSYS_H */ diff --git a/usr/klibc/arch/ppc64/MCONFIG b/usr/klibc/arch/ppc64/MCONFIG new file mode 100644 index 0000000..6d8e136 --- /dev/null +++ b/usr/klibc/arch/ppc64/MCONFIG @@ -0,...
2006 Jun 26
0
[klibc 33/43] s390 support for klibc
..." la %0,2" \ + : "=d" (__res) \ + : "i" (__NR_##name), \ + "d" (__argp) \ + : _svc_clobber); \ + __syscall_return(type, __res); \ +} + +#endif /* _syscall6() missing */ + +#endif /* _KLIBC_ARCHSYS_H */ diff --git a/usr/klibc/arch/s390/MCONFIG b/usr/klibc/arch/s390/MCONFIG new file mode 100644 index 0000000..dd4495a --- /dev/null +++ b/usr/klibc/arch/s390/MCONFIG @@ -0,0 +1,23 @@ +# -*- makefile -*...
2006 May 11
0
[patch] klibc: merge s390 and s390x
..." lgr %0,2" \ - : "=d" (__res) \ - : "i" (__NR_##name), \ - "d" (__argp) \ - : _svc_clobber); \ - __syscall_return(type, __res); \ -} - -#endif /* _syscall6() missing */ - -#endif /* _KLIBC_ARCHSYS_H */ diff -purN a/usr/klibc/Kbuild b/usr/klibc/Kbuild --- a/usr/klibc/Kbuild 2006-05-11 08:09:08.000000000 +0200 +++ b/usr/klibc/Kbuild 2006-05-11 08:10:07.000000000 +0200 @@ -68,14 +68,14 @@ KLIBCCFLAGS += -D...
2006 May 24
1
[patch] klibc: merge s390/s390x 2nd try
..." lgr %0,2" \ - : "=d" (__res) \ - : "i" (__NR_##name), \ - "d" (__argp) \ - : _svc_clobber); \ - __syscall_return(type, __res); \ -} - -#endif /* _syscall6() missing */ - -#endif /* _KLIBC_ARCHSYS_H */ diff -purN a/usr/klibc/Kbuild b/usr/klibc/Kbuild --- a/usr/klibc/Kbuild 2006-05-24 15:19:12.000000000 +0200 +++ b/usr/klibc/Kbuild 2006-05-24 13:02:18.000000000 +0200 @@ -68,14 +68,14 @@ KLIBCCFLAGS...