search for: __arg1

Displaying 6 results from an estimated 6 matches for "__arg1".

Did you mean: __arg
2006 Jun 07
0
[patch] s390: fix mmap complilation
....4c43779 100644 --- a/usr/klibc/arch/s390/mmap.c +++ b/usr/klibc/arch/s390/mmap.c @@ -1,3 +1,4 @@ +#include <errno.h> #include <sys/types.h> #include <linux/unistd.h> @@ -32,7 +33,7 @@ void *__mmap2(void *addr, size_t len, in : "i"(__NR_mmap2), "0"(__arg1) : "1", "cc", "memory"); __res = __svcres; - if (__res >= (unsigned long)-125) { + if (__res >= (unsigned long)-4095) { errno = -__res; __res = -1; } @@ -64,7 +65,7 @@ void * mmap(void * addr, size_t len, int "0" (__arg1) : &q...
2006 Jun 26
0
[klibc 33/43] s390 support for klibc
...d *__mmap2(void *addr, size_t len, int prot, int flags, int fd, long offset) +{ + struct mmap_arg_struct args = { + (unsigned long)addr, + (unsigned long)len, + (unsigned long)prot, + (unsigned long)flags, + (unsigned long)fd, + (unsigned long)offset, + }; + + register struct mmap_arg_struct *__arg1 asm("2") = &args; + register long __svcres asm("2"); + unsigned long __res; + + __asm__ __volatile__(" svc %b1\n" + : "=d"(__svcres) + : "i"(__NR_mmap2), "0"(__arg1) + : "1", "cc", "memo...
2006 May 11
0
[patch] klibc: merge s390 and s390x
...* addr, size_t len, int prot, int flags, + int fd, off_t offset) +{ + struct mmap_arg_struct args = { + (unsigned long) addr, + (unsigned long) len, + (unsigned long) prot, + (unsigned long) flags, + (unsigned long) fd, + (unsigned long) offset, + }; + + register struct mmap_arg_struct *__arg1 asm("2") = &args; + register long __svcres asm("2"); + unsigned long __res; + + __asm__ __volatile__ ( + " svc %b1\n" + : "=d" (__svcres) + : "i" (__NR_mmap), + "0" (__arg1) + : "1", "cc", "memory&quo...
2006 May 24
1
[patch] klibc: merge s390/s390x 2nd try
...* addr, size_t len, int prot, int flags, + int fd, off_t offset) +{ + struct mmap_arg_struct args = { + (unsigned long) addr, + (unsigned long) len, + (unsigned long) prot, + (unsigned long) flags, + (unsigned long) fd, + (unsigned long) offset, + }; + + register struct mmap_arg_struct *__arg1 asm("2") = &args; + register long __svcres asm("2"); + unsigned long __res; + + __asm__ __volatile__ ( + " svc %b1\n" + : "=d" (__svcres) + : "i" (__NR_mmap), + "0" (__arg1) + : "1", "cc", "memory&quo...
2013 Jul 31
29
[PATCH 0/9] tools: remove or disable old/useless/unused/unmainted stuff
depends on "autoconf: regenerate configure scripts with 4.4 version" This series removes some of the really old deadwood from the tools build and makes some other things which are on their way out configurable at build time with a default depending on how far down the slope I judge them to be. * nuke in tree copy of libaio * nuke obsolete tools: xsview, miniterm, lomount & sv *
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: