search for: _klibc_archsys_h

Displaying 19 results from an estimated 19 matches for "_klibc_archsys_h".

2006 Jun 26
0
[klibc 26/43] m32r support for klibc
...nclude/arch/m32r/klibc/archsys.h b/usr/include/arch/m32r/klibc/archsys.h new file mode 100644 index 0000000..a48f124 --- /dev/null +++ b/usr/include/arch/m32r/klibc/archsys.h @@ -0,0 +1,12 @@ +/* + * arch/m32r/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +/* No special syscall definitions for this architecture */ + +#endif /* _KLIBC_ARCHSYS_H */ diff --git a/usr/klibc/arch/m32r/MCONFIG b/usr/klibc/arch/m32r/MCONFIG new file mode 100644 index 0000000..2f9db0b --- /dev/null +++ b/usr/klibc/arch/m32r/MCONFIG @@ -0,0 +1,1...
2006 Jun 26
0
[klibc 34/43] sh support for klibc
...a/usr/include/arch/sh/klibc/archsys.h b/usr/include/arch/sh/klibc/archsys.h new file mode 100644 index 0000000..4a077fa --- /dev/null +++ b/usr/include/arch/sh/klibc/archsys.h @@ -0,0 +1,12 @@ +/* + * arch/sh/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +/* No special syscall definitions for this architecture */ + +#endif /* _KLIBC_ARCHSYS_H */ diff --git a/usr/klibc/arch/sh/MCONFIG b/usr/klibc/arch/sh/MCONFIG new file mode 100644 index 0000000..f0106e1 --- /dev/null +++ b/usr/klibc/arch/sh/MCONFIG @@ -0,0 +1,18 @@ +...
2006 Jun 26
0
[klibc 36/43] sparc64 support for klibc
...sparc64/klibc/archsys.h b/usr/include/arch/sparc64/klibc/archsys.h new file mode 100644 index 0000000..43151b6 --- /dev/null +++ b/usr/include/arch/sparc64/klibc/archsys.h @@ -0,0 +1,10 @@ +/* + * arch/sparc64/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +#endif /* _KLIBC_ARCHSYS_H */ diff --git a/usr/klibc/arch/sparc64/MCONFIG b/usr/klibc/arch/sparc64/MCONFIG new file mode 100644 index 0000000..443250a --- /dev/null +++ b/usr/klibc/arch/sparc64/MCONFIG @@ -0,0 +1,21 @@ +# -*- makefile -*- +# +# arch/sparc64/MCONFIG +...
2006 Jun 26
0
[klibc 27/43] m68k support for klibc
...nclude/arch/m68k/klibc/archsys.h b/usr/include/arch/m68k/klibc/archsys.h new file mode 100644 index 0000000..1a3a7b7 --- /dev/null +++ b/usr/include/arch/m68k/klibc/archsys.h @@ -0,0 +1,12 @@ +/* + * arch/m68k/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +/* No special syscall definitions for this architecture */ + +#endif /* _KLIBC_ARCHSYS_H */ diff --git a/usr/klibc/arch/m68k/MCONFIG b/usr/klibc/arch/m68k/MCONFIG new file mode 100644 index 0000000..4360408 --- /dev/null +++ b/usr/klibc/arch/m68k/MCONFIG @@ -0,0 +1,1...
2006 Jun 26
0
[klibc 30/43] parisc support for klibc
...rch/parisc/klibc/archsys.h b/usr/include/arch/parisc/klibc/archsys.h new file mode 100644 index 0000000..681ee76 --- /dev/null +++ b/usr/include/arch/parisc/klibc/archsys.h @@ -0,0 +1,12 @@ +/* + * arch/parisc/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +/* No special syscall definitions for this architecture */ + +#endif /* _KLIBC_ARCHSYS_H */ diff --git a/usr/klibc/arch/parisc/MCONFIG b/usr/klibc/arch/parisc/MCONFIG new file mode 100644 index 0000000..83c2e9e --- /dev/null +++ b/usr/klibc/arch/parisc/MCONFIG @@ -0,...
2006 Jun 26
0
[klibc 31/43] ppc support for klibc
...sr/include/arch/ppc/klibc/archsys.h b/usr/include/arch/ppc/klibc/archsys.h new file mode 100644 index 0000000..24752da --- /dev/null +++ b/usr/include/arch/ppc/klibc/archsys.h @@ -0,0 +1,61 @@ +/* + * arch/ppc/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +/* PowerPC seems to lack _syscall6() in its headers */ +/* This seems to work on both 32- and 64-bit ppc */ + +#ifndef _syscall6 + +#define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ + type5,arg5,type6,arg6) \ +type name (type1 arg1,type...
2006 Jun 26
0
[klibc 32/43] ppc64 support for klibc
...de/arch/ppc64/klibc/archsys.h b/usr/include/arch/ppc64/klibc/archsys.h new file mode 100644 index 0000000..e65d188 --- /dev/null +++ b/usr/include/arch/ppc64/klibc/archsys.h @@ -0,0 +1,52 @@ +/* + * arch/ppc64/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +#ifndef _syscall6 + +#define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ + type5,arg5,type6,arg6) \ +type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5,type6 arg6) \ +{ \ + unsigned long __sc_ret, __sc_err;...
2006 Jun 26
0
[klibc 33/43] s390 support for klibc
...nclude/arch/s390/klibc/archsys.h b/usr/include/arch/s390/klibc/archsys.h new file mode 100644 index 0000000..63079b4 --- /dev/null +++ b/usr/include/arch/s390/klibc/archsys.h @@ -0,0 +1,41 @@ +/* + * arch/s390/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +/* S/390 only has five syscall parameters, and uses a structure for + 6-argument syscalls. */ + +#ifndef _syscall6 + +#define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,\ + type4,arg4,type5,arg5,type6,arg6) \ +type name(type1 arg1,...
2006 Jun 26
0
[klibc 23/43] cris support for klibc
...nclude/arch/cris/klibc/archsys.h b/usr/include/arch/cris/klibc/archsys.h new file mode 100644 index 0000000..e655680 --- /dev/null +++ b/usr/include/arch/cris/klibc/archsys.h @@ -0,0 +1,12 @@ +/* + * arch/cris/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +/* No special syscall definitions for this architecture */ + +#endif /* _KLIBC_ARCHSYS_H */ diff --git a/usr/klibc/arch/cris/MCONFIG b/usr/klibc/arch/cris/MCONFIG new file mode 100644 index 0000000..659789b --- /dev/null +++ b/usr/klibc/arch/cris/MCONFIG @@ -0,0 +1,2...
2006 Jun 26
0
[klibc 22/43] arm support for klibc
...r/include/arch/arm/klibc/archsys.h b/usr/include/arch/arm/klibc/archsys.h new file mode 100644 index 0000000..e655680 --- /dev/null +++ b/usr/include/arch/arm/klibc/archsys.h @@ -0,0 +1,12 @@ +/* + * arch/cris/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +/* No special syscall definitions for this architecture */ + +#endif /* _KLIBC_ARCHSYS_H */ diff --git a/usr/include/arch/arm/klibc/asmmacros.h b/usr/include/arch/arm/klibc/asmmacros.h new file mode 100644 index 0000000..8a21c94 --- /dev/null +++ b/usr/include/arch/a...
2006 Jun 26
0
[klibc 37/43] x86_64 support for klibc
...ch/x86_64/klibc/archsys.h b/usr/include/arch/x86_64/klibc/archsys.h new file mode 100644 index 0000000..45c71a7 --- /dev/null +++ b/usr/include/arch/x86_64/klibc/archsys.h @@ -0,0 +1,109 @@ +/* + * arch/x86_64/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +/* The x86-64 syscall headers are needlessly inefficient */ + +#undef _syscall0 +#undef _syscall1 +#undef _syscall2 +#undef _syscall3 +#undef _syscall4 +#undef _syscall5 +#undef _syscall6 + +#define _syscall0(type,name) \ +type name (void) \ +{ \ +long __res; \ +__asm__...
2006 Jun 26
0
[klibc 21/43] alpha support for klibc
...de/arch/alpha/klibc/archsys.h b/usr/include/arch/alpha/klibc/archsys.h new file mode 100644 index 0000000..a60a0f2 --- /dev/null +++ b/usr/include/arch/alpha/klibc/archsys.h @@ -0,0 +1,53 @@ +/* + * arch/alpha/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +/* Alpha has some bizarre Tru64-derived system calls which return two + different values in $0 and $20(!), respectively. The standard + macros can't deal with these; even the ones that give the right + return value have the wrong clobbers. */ + +#define _sysc...
2006 May 11
0
[patch] klibc: merge s390 and s390x
...c/archsys.h --- a/usr/include/arch/s390x/klibc/archsys.h 2006-05-11 08:09:08.000000000 +0200 +++ b/usr/include/arch/s390x/klibc/archsys.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,41 +0,0 @@ -/* - * arch/s390x/include/klibc/archsys.h - * - * Architecture-specific syscall definitions - */ - -#ifndef _KLIBC_ARCHSYS_H -#define _KLIBC_ARCHSYS_H - -/* S/390X only has five syscall parameters, and uses a structure for - 6-argument syscalls. */ - -#ifndef _syscall6 - -#define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,\ - type4,arg4,type5,arg5,type6,arg6) \ -type name(type1 arg1,...
2006 Jun 26
2
[klibc 28/43] mips support for klibc
...nclude/arch/mips/klibc/archsys.h b/usr/include/arch/mips/klibc/archsys.h new file mode 100644 index 0000000..252d80c --- /dev/null +++ b/usr/include/arch/mips/klibc/archsys.h @@ -0,0 +1,12 @@ +/* + * arch/mips/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +/* No special syscall definitions for this architecture */ + +#endif /* _KLIBC_ARCHSYS_H */ diff --git a/usr/include/arch/mips/machine/asm.h b/usr/include/arch/mips/machine/asm.h new file mode 100644 index 0000000..f524bc6 --- /dev/null +++ b/usr/include/arch/mips/ma...
2006 May 24
1
[patch] klibc: merge s390/s390x 2nd try
...c/archsys.h --- a/usr/include/arch/s390x/klibc/archsys.h 2006-05-24 15:19:12.000000000 +0200 +++ b/usr/include/arch/s390x/klibc/archsys.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,41 +0,0 @@ -/* - * arch/s390x/include/klibc/archsys.h - * - * Architecture-specific syscall definitions - */ - -#ifndef _KLIBC_ARCHSYS_H -#define _KLIBC_ARCHSYS_H - -/* S/390X only has five syscall parameters, and uses a structure for - 6-argument syscalls. */ - -#ifndef _syscall6 - -#define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,\ - type4,arg4,type5,arg5,type6,arg6) \ -type name(type1 arg1,...
2006 Jun 26
0
[klibc 25/43] ia64 support for klibc
...clude/arch/ia64/klibc/archsys.h b/usr/include/arch/ia64/klibc/archsys.h new file mode 100644 index 0000000..6007821 --- /dev/null +++ b/usr/include/arch/ia64/klibc/archsys.h @@ -0,0 +1,217 @@ +/* + * arch/ia64/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +#define __IA64_BREAK "break 0x100000;;\n\t" + +#define _syscall0(type,name) \ +type \ +name (void)...
2006 Jun 26
0
[klibc 24/43] i386 support for klibc
...nclude/arch/i386/klibc/archsys.h b/usr/include/arch/i386/klibc/archsys.h new file mode 100644 index 0000000..e655680 --- /dev/null +++ b/usr/include/arch/i386/klibc/archsys.h @@ -0,0 +1,12 @@ +/* + * arch/cris/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +/* No special syscall definitions for this architecture */ + +#endif /* _KLIBC_ARCHSYS_H */ diff --git a/usr/include/arch/i386/klibc/diverr.h b/usr/include/arch/i386/klibc/diverr.h new file mode 100644 index 0000000..fa238ac --- /dev/null +++ b/usr/include/arch/i386/...
2006 Jun 26
0
[klibc 35/43] sparc support for klibc
...de/arch/sparc/klibc/archsys.h b/usr/include/arch/sparc/klibc/archsys.h new file mode 100644 index 0000000..a6ca545 --- /dev/null +++ b/usr/include/arch/sparc/klibc/archsys.h @@ -0,0 +1,10 @@ +/* + * arch/sparc/include/klibc/archsys.h + * + * Architecture-specific syscall definitions + */ + +#ifndef _KLIBC_ARCHSYS_H +#define _KLIBC_ARCHSYS_H + +#endif /* _KLIBC_ARCHSYS_H */ diff --git a/usr/include/arch/sparc/machine/asm.h b/usr/include/arch/sparc/machine/asm.h new file mode 100644 index 0000000..04fe9b1 --- /dev/null +++ b/usr/include/arch/sparc/machine/asm.h @@ -0,0 +1,191 @@ +/* $NetBSD: asm.h,v 1.14 200...
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: