search for: __syscall_varadic

Displaying 4 results from an estimated 4 matches for "__syscall_varadic".

2006 Jun 26
0
[klibc 24/43] i386 support for klibc
...nistd.h> + +/* <asm/fcntl.h>, despite the name, isn't assembly-safe */ +#define O_LARGEFILE 0100000 + +#ifdef __NR_openat /* Don't build if kernel headers too old */ + + .globl openat + .type openat, at function + +openat: + orl $O_LARGEFILE,12(%esp) + pushl $__NR_openat + jmp __syscall_varadic + + .size openat,.-openat + +#endif diff --git a/usr/klibc/arch/i386/setjmp.S b/usr/klibc/arch/i386/setjmp.S new file mode 100644 index 0000000..b766792 --- /dev/null +++ b/usr/klibc/arch/i386/setjmp.S @@ -0,0 +1,58 @@ +# +# arch/i386/setjmp.S +# +# setjmp/longjmp for the i386 architecture +# + +#...
2006 Feb 19
0
[patch] openat build with older !openat linux tree
...x 3955eae..40ab299 100644 --- a/klibc/arch/i386/openat.S +++ b/klibc/arch/i386/openat.S @@ -6,6 +6,7 @@ * and the need for O_LARGEFILE. */ +#ifdef __NR_openat #include <asm/unistd.h> /* <asm/fcntl.h>, despite the name, isn't assembly-safe */ @@ -20,3 +21,4 @@ openat: jmp __syscall_varadic .size openat,.-openat +#endif /* __NR_openat */ diff --git a/klibc/openat.c b/klibc/openat.c index 2975112..e2ce67b 100644 --- a/klibc/openat.c +++ b/klibc/openat.c @@ -10,7 +10,7 @@ #include <fcntl.h> #include <bitsize.h> -#if _BITSIZE == 32 && !defined(__i386__) &&...
2014 Jan 25
0
[klibc:master] i386: use the vdso for system calls on i386
...ex 0dd363b..b7814e8 100644 --- a/usr/klibc/arch/i386/syscall.S +++ b/usr/klibc/arch/i386/syscall.S @@ -37,7 +37,7 @@ __syscall_common: #endif .globl __syscall_common_tail __syscall_common_tail: - int $0x80 + call *__syscall_entry cmpl $-4095,%eax @@ -66,3 +66,17 @@ __syscall_common_tail: __syscall_varadic = __syscall_common #endif + + .align 4 +__syscall_int80: + int $0x80 + ret + .type __syscall_int80, at function + .size __syscall_int80,.-__syscall_int80 + + .data + .align 4 + .globl __syscall_entry +__syscall_entry: + .long __syscall_int80 + .size __syscall_entry,.-__syscall_entry diff --git a...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: