search for: _klibc_no_mmu

Displaying 16 results from an estimated 16 matches for "_klibc_no_mmu".

2018 Jul 17
1
[PATCH klibc 1/2] rename, renameat: Use renameat2() system call
New architectures only define the renameat2() system call, which was added in Linux 3.15. Define rename() and renameat() as wrappers for it if necessary. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -59,7 +59,8 @@ klib-y += vsnprintf.o snprintf.o vsprint inet/inet_ntoa.o inet/inet_aton.o inet/inet_addr.o \
2023 Feb 20
1
[PATCH] Add LoongArch64 port
...klibc/archconfig.h @@ -0,0 +1,15 @@ +/* + * include/arch/loongarch64/klibc/archconfig.h + * + * See include/klibc/sysconfig.h for the options that can be set in + * this file. + * + */ + +#ifndef _KLIBC_ARCHCONFIG_H +#define _KLIBC_ARCHCONFIG_H + +/* We have an MMU but no fork() syscall */ +#define _KLIBC_NO_MMU 0 + +#endif /* _KLIBC_ARCHCONFIG_H */ diff --git a/usr/include/arch/loongarch64/klibc/archsetjmp.h b/usr/include/arch/loongarch64/klibc/archsetjmp.h new file mode 100644 index 00000000..939c0f5f --- /dev/null +++ b/usr/include/arch/loongarch64/klibc/archsetjmp.h @@ -0,0 +1,26 @@ +/* + * include/...
2019 Jan 18
0
[klibc:master] Add RISC-V (RV64) port
...ch/riscv64/klibc/archconfig.h * * See include/klibc/sysconfig.h for the options that can be set in * this file. @@ -9,9 +9,7 @@ #ifndef _KLIBC_ARCHCONFIG_H #define _KLIBC_ARCHCONFIG_H -/* Use rt_* signals */ -#define _KLIBC_USE_RT_SIG 1 +/* We have an MMU but no fork() syscall */ #define _KLIBC_NO_MMU 0 -#define _KLIBC_REAL_VFORK 1 #endif /* _KLIBC_ARCHCONFIG_H */ diff --git a/usr/include/arch/mips64/klibc/archsetjmp.h b/usr/include/arch/riscv64/klibc/archsetjmp.h similarity index 67% copy from usr/include/arch/mips64/klibc/archsetjmp.h copy to usr/include/arch/riscv64/klibc/archsetjmp.h i...
2006 Apr 22
1
ia64 build failure - no fork or ppoll syscalls in 2.6.16
...n __ppoll(ufds, nfds, timeout, sigmask, sizeof *sigmask); } + +#endif --- klibc-1.3.7.orig/klibc/SYSCALLS.def +++ klibc-1.3.7/klibc/SYSCALLS.def @@ -21,7 +21,7 @@ <?!ia64> pid_t clone::__clone(unsigned long, void *) <?ia64> pid_t clone::__clone2(unsigned long, void *, void *) # if ! _KLIBC_NO_MMU -<!sparc> pid_t fork() +<!sparc,ia64> pid_t fork() <sparc> pid_t fork@forkish() #endif #if _KLIBC_REAL_VFORK -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: Ceci est une pa...
2013 Nov 12
0
[klibc:master] arm64: Add arm64 support
...rch/arm64/klibc/archconfig.h @@ -1,5 +1,5 @@ /* - * include/arch/sh/klibc/archconfig.h + * include/arch/arm64/klibc/archconfig.h * * See include/klibc/sysconfig.h for the options that can be set in * this file. @@ -11,5 +11,7 @@ /* Use rt_* signals */ #define _KLIBC_USE_RT_SIG 1 +#define _KLIBC_NO_MMU 0 +#define _KLIBC_REAL_VFORK 1 #endif /* _KLIBC_ARCHCONFIG_H */ diff --git a/usr/include/arch/arm64/klibc/archsetjmp.h b/usr/include/arch/arm64/klibc/archsetjmp.h new file mode 100644 index 0000000..edc3312 --- /dev/null +++ b/usr/include/arch/arm64/klibc/archsetjmp.h @@ -0,0 +1,22 @@ +/* + *...
2013 Nov 08
0
[PATCH 3/3] arm64: Introduce arm64 support
...bc/archconfig.h @@ -0,0 +1,17 @@ +/* + * include/arch/arm64/klibc/archconfig.h + * + * See include/klibc/sysconfig.h for the options that can be set in + * this file. + * + */ + +#ifndef _KLIBC_ARCHCONFIG_H +#define _KLIBC_ARCHCONFIG_H + +/* Use rt_* signals */ +#define _KLIBC_USE_RT_SIG 1 +#define _KLIBC_NO_MMU 0 +#define _KLIBC_REAL_VFORK 1 + +#endif /* _KLIBC_ARCHCONFIG_H */ diff --git a/usr/include/arch/arm64/klibc/archsetjmp.h b/usr/include/arch/arm64/klibc/archsetjmp.h new file mode 100644 index 0000000..1738617 --- /dev/null +++ b/usr/include/arch/arm64/klibc/archsetjmp.h @@ -0,0 +1,20 @@ +/* + *...
2020 Aug 29
0
[klibc:master] ia64: Fix sigaction function implementation
...files changed, 56 insertions(+), 2 deletions(-) diff --git a/usr/include/arch/ia64/klibc/archconfig.h b/usr/include/arch/ia64/klibc/archconfig.h index adbd1ee4..9bf3c071 100644 --- a/usr/include/arch/ia64/klibc/archconfig.h +++ b/usr/include/arch/ia64/klibc/archconfig.h @@ -13,5 +13,8 @@ #define _KLIBC_NO_MMU 0 /* IA64 doesn't have sys_vfork, it has architecture-specific code */ #define _KLIBC_REAL_VFORK 1 +/* Need to fix-up function pointers to function descriptor pointers + * in struct sigaction */ +#define _KLIBC_NEEDS_SIGACTION_FIXUP 1 #endif /* _KLIBC_ARCHCONFIG_H */ diff --git a/usr/kl...
2020 Aug 28
0
[klibc:ia64-signal-fix] ia64: Fix sigaction struct layout and function implementation
...files changed, 56 insertions(+), 2 deletions(-) diff --git a/usr/include/arch/ia64/klibc/archconfig.h b/usr/include/arch/ia64/klibc/archconfig.h index adbd1ee4..9bf3c071 100644 --- a/usr/include/arch/ia64/klibc/archconfig.h +++ b/usr/include/arch/ia64/klibc/archconfig.h @@ -13,5 +13,8 @@ #define _KLIBC_NO_MMU 0 /* IA64 doesn't have sys_vfork, it has architecture-specific code */ #define _KLIBC_REAL_VFORK 1 +/* Need to fix-up function pointers to function descriptor pointers + * in struct sigaction */ +#define _KLIBC_NEEDS_SIGACTION_FIXUP 1 #endif /* _KLIBC_ARCHCONFIG_H */ diff --git a/usr/kl...
2013 Oct 09
0
[PATCH 1/1] Porting klibc to AArch64
...sr/include/arch/aarch64/klibc/archconfig.h b/usr/include/arch/aarch64/klibc/archconfig.h index 5cc1e7e..5ee278d 100644 --- a/usr/include/arch/aarch64/klibc/archconfig.h +++ b/usr/include/arch/aarch64/klibc/archconfig.h @@ -11,5 +11,7 @@ /* Use rt_* signals */ #define _KLIBC_USE_RT_SIG 1 +#define _KLIBC_NO_MMU 0 +#define _KLIBC_REAL_VFORK 1 #endif /* _KLIBC_ARCHCONFIG_H */ diff --git a/usr/include/arch/aarch64/klibc/archsetjmp.h b/usr/include/arch/aarch64/klibc/archsetjmp.h index 38ffb67..d959988 100644 --- a/usr/include/arch/aarch64/klibc/archsetjmp.h +++ b/usr/include/arch/aarch64/klib...
2011 Jul 08
4
[PATCH 0/4] usr/kinit checkpatch
Various coding style fixes checkpatch warns about. The goal is not to be 100% checkpatch compliant, but to have more consistent coding style. As this is a trivial patch serie, will land in 24 hours in klibc git, unless of course ml review hits a bugger. Checked with size(3) that the generated kinit, fstype, ipconfig and nfsmount are the same. maximilian attems (4): [klibc] ipconfig: reduce
2020 Jun 18
1
[PATCH] Kbuild for klibc and nfsmount: fix multiple definitions
...mmon with lrand48.c, srand48.c */ +extern unsigned short __rand48_seed[3]; /* Common with lrand48.c, srand48.c */ long mrand48(void) { diff --git a/usr/klibc/sbrk.c b/usr/klibc/sbrk.c index 4896ce0b1f9d..125aae6529d7 100644 --- a/usr/klibc/sbrk.c +++ b/usr/klibc/sbrk.c @@ -11,7 +11,7 @@ #if !_KLIBC_NO_MMU /* uClinux doesn't have brk() */ -char *__current_brk; /* Common with brk.c */ +extern char *__current_brk; /* Common with brk.c */ /* p is an address, a is alignment; must be a power of 2 */ static inline void *align_up(void *p, uintptr_t a) diff --git a/usr/klibc/srand48.c b/usr/kli...
2023 Mar 05
0
[klibc:master] Add LoongArch64 port
...b/usr/klibc/SYSCALLS.def index 660efc66..9b6b1127 100644 --- a/usr/klibc/SYSCALLS.def +++ b/usr/klibc/SYSCALLS.def @@ -21,7 +21,7 @@ void _exit,exit::_exit(int); <?!ia64> pid_t clone::__clone(unsigned long, void *); <?ia64> pid_t clone::__clone2(unsigned long, void *, void *); # if ! _KLIBC_NO_MMU -<!sparc,sparc64,ia64,arm64,riscv64> pid_t fork(); +<!sparc,sparc64,ia64,arm64,riscv64,loongarch64> pid_t fork(); <sparc,sparc64> pid_t fork at forkish(); #endif #if _KLIBC_REAL_VFORK diff --git a/usr/klibc/arch/loongarch64/Kbuild b/usr/klibc/arch/loongarch64/Kbuild new file mo...
2013 Nov 11
5
[PATCH V2 0/3] Introduce arm64 support
Hello, Here is V2 of the arm64 support for klibc patch set. Notable changes since the original series: * fp regs dropped from setjmp/longjmp * chmod, lstat and stat re-implemented with *at functions. * open64 merged into open. As with the original, this series is to be applied against the latest klibc, just after 25a66fa README.klibc: update build information V2 has been tested on x86_64
2013 Nov 08
9
[PATCH 0/3] Introduce arm64 support
Hello, This series introduces arm64 support to klibc. I've rebased the work from Neil Williams and Anil Singhar into the following three patches. Most of the code changes are due to new syscall implementations being needed for arm64 as a only a minimal set of syscalls are defined in the arm64 kernel. This series is to be applied against the latest klibc, just after 25a66fa README.klibc:
2006 Jun 26
0
[klibc 25/43] ia64 support for klibc
...nfig.h @@ -0,0 +1,17 @@ +/* + * include/arch/ia64/klibc/archconfig.h + * + * See include/klibc/sysconfig.h for the options that can be set in + * this file. + * + */ + +#ifndef _KLIBC_ARCHCONFIG_H +#define _KLIBC_ARCHCONFIG_H + +/* IA64 doesn't have sys_fork, but it does have an MMU */ +#define _KLIBC_NO_MMU 0 +/* IA64 doesn't have sys_vfork, it has architecture-specific code */ +#define _KLIBC_REAL_VFORK 1 + +#endif /* _KLIBC_ARCHCONFIG_H */ diff --git a/usr/include/arch/ia64/klibc/archsetjmp.h b/usr/include/arch/ia64/klibc/archsetjmp.h new file mode 100644 index 0000000..43564ee --- /dev/null...
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: