search for: f10a69e

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

2013 Nov 08
2
[PATCH 3/3] arm64: Introduce arm64 support
...ys have no connection with what is stored in them, they should be named fields in the structure, not an array. Do we need the fpregs saved even though klibc doesn't do fp? > diff --git a/usr/klibc/arch/arm64/pipe.c b/usr/klibc/arch/arm64/pipe.c > new file mode 100644 > index 0000000..f10a69e > --- /dev/null > +++ b/usr/klibc/arch/arm64/pipe.c > @@ -0,0 +1,10 @@ > +#include <unistd.h> > + > +#ifndef __NR_pipe > + > +int pipe(int pipefd[2]) > +{ > + return pipe2(pipefd, 0); > +} > + > +#endif /* __NR_pipe */ This is a generic routine, right?...
2013 Nov 11
0
[PATCH 3/3] arm64: Introduce arm64 support
...l-regs-only is supplied for building klibc and any software linked against klibc. I would much prefer to save/restore d8-d15 to avoid potential future headaches. > > diff --git a/usr/klibc/arch/arm64/pipe.c b/usr/klibc/arch/arm64/pipe.c > > new file mode 100644 > > index 0000000..f10a69e > > --- /dev/null > > +++ b/usr/klibc/arch/arm64/pipe.c > > @@ -0,0 +1,10 @@ > > +#include <unistd.h> > > + > > +#ifndef __NR_pipe > > + > > +int pipe(int pipefd[2]) > > +{ > > + return pipe2(pipefd, 0); > > +} > > + >...
2013 Nov 08
0
[PATCH 3/3] arm64: Introduce arm64 support
...__libc_init(elf_structure, atexit_ptr); +# } +# + + .text + .balign 8 + .type _start,#function + .globl _start + +_start: + mov x0, sp + mov x1, #0 + bl __libc_init + .size _start,.-_start diff --git a/usr/klibc/arch/arm64/pipe.c b/usr/klibc/arch/arm64/pipe.c new file mode 100644 index 0000000..f10a69e --- /dev/null +++ b/usr/klibc/arch/arm64/pipe.c @@ -0,0 +1,10 @@ +#include <unistd.h> + +#ifndef __NR_pipe + +int pipe(int pipefd[2]) +{ + return pipe2(pipefd, 0); +} + +#endif /* __NR_pipe */ diff --git a/usr/klibc/arch/arm64/setjmp.S b/usr/klibc/arch/arm64/setjmp.S new file mode 100644 ind...
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: