Displaying 9 results from an estimated 9 matches for "__fpregs".
2013 Nov 08
2
[PATCH 3/3] arm64: Introduce arm64 support
On 11/08/2013 09:12 AM, Steve Capper wrote:
> +
> +/*
> + * x19-x28 are callee saved, also save fp, lr, sp.
> + * d8-d15 are also callee saved.
> + */
> +
> +struct __jmp_buf {
> + uint64_t __gregs[13];
> + uint64_t __fpregs[8];
> +};
> +
Since the index of these arrays 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/pi...
2013 Nov 11
0
[PATCH 3/3] arm64: Introduce arm64 support
...wrote:
> On 11/08/2013 09:12 AM, Steve Capper wrote:
> > +
> > +/*
> > + * x19-x28 are callee saved, also save fp, lr, sp.
> > + * d8-d15 are also callee saved.
> > + */
> > +
> > +struct __jmp_buf {
> > + uint64_t __gregs[13];
> > + uint64_t __fpregs[8];
> > +};
> > +
>
> Since the index of these arrays 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?
>
I agree about the named struct...
2006 Jun 26
0
[klibc 33/43] s390 support for klibc
...0a
--- /dev/null
+++ b/usr/include/arch/s390/klibc/archsetjmp.h
@@ -0,0 +1,26 @@
+/*
+ * arch/s390/include/klibc/archsetjmp.h
+ */
+
+#ifndef _KLIBC_ARCHSETJMP_H
+#define _KLIBC_ARCHSETJMP_H
+
+#ifndef __s390x__
+
+struct __jmp_buf {
+ uint32_t __gregs[10]; /* general registers r6-r15 */
+ uint64_t __fpregs[2]; /* fp registers f4 and f6 */
+};
+
+#else /* __s390x__ */
+
+struct __jmp_buf {
+ uint64_t __gregs[10]; /* general registers r6-r15 */
+ uint64_t __fpregs[4]; /* fp registers f1, f3, f5, f7 */
+};
+
+#endif /* __s390x__ */
+
+typedef struct __jmp_buf jmp_buf[1];
+
+#endif /* _SETJMP_H */
d...
2006 May 11
0
[patch] klibc: merge s390 and s390x
...-05-11 08:09:08.000000000 +0200
+++ b/usr/include/arch/s390/klibc/archsetjmp.h 2006-05-11 08:10:07.000000000 +0200
@@ -5,6 +5,8 @@
#ifndef _KLIBC_ARCHSETJMP_H
#define _KLIBC_ARCHSETJMP_H
+#ifndef __s390x__
+
struct __jmp_buf {
uint32_t __gregs[10]; /* general registers r6-r15 */
uint64_t __fpregs[2]; /* fp registers f4 and f6 */
@@ -12,4 +14,14 @@ struct __jmp_buf {
typedef struct __jmp_buf jmp_buf[1];
+#else /* __s390x__ */
+
+struct __jmp_buf {
+ uint64_t __gregs[10]; /* general registers r6-r15 */
+ uint64_t __fpregs[4]; /* fp registers f1, f3, f5, f7 */
+};
+
+typedef struct __...
2006 May 24
1
[patch] klibc: merge s390/s390x 2nd try
...-05-24 15:19:12.000000000 +0200
+++ b/usr/include/arch/s390/klibc/archsetjmp.h 2006-05-24 13:06:50.000000000 +0200
@@ -5,11 +5,22 @@
#ifndef _KLIBC_ARCHSETJMP_H
#define _KLIBC_ARCHSETJMP_H
+#ifndef __s390x__
+
struct __jmp_buf {
uint32_t __gregs[10]; /* general registers r6-r15 */
uint64_t __fpregs[2]; /* fp registers f4 and f6 */
};
+#else /* __s390x__ */
+
+struct __jmp_buf {
+ uint64_t __gregs[10]; /* general registers r6-r15 */
+ uint64_t __fpregs[4]; /* fp registers f1, f3, f5, f7 */
+};
+
+#endif /* __s390x__ */
+
typedef struct __jmp_buf jmp_buf[1];
#endif /* _SETJMP_H */
d...
2013 Nov 08
0
[PATCH 3/3] arm64: Introduce arm64 support
...libc/archsetjmp.h
@@ -0,0 +1,20 @@
+/*
+ * arch/arm64/include/klibc/archsetjmp.h
+ */
+
+#ifndef _KLIBC_ARCHSETJMP_H
+#define _KLIBC_ARCHSETJMP_H
+
+/*
+ * x19-x28 are callee saved, also save fp, lr, sp.
+ * d8-d15 are also callee saved.
+ */
+
+struct __jmp_buf {
+ uint64_t __gregs[13];
+ uint64_t __fpregs[8];
+};
+
+typedef struct __jmp_buf jmp_buf[1];
+
+#endif /* _SETJMP_H */
diff --git a/usr/include/arch/arm64/klibc/archsignal.h b/usr/include/arch/arm64/klibc/archsignal.h
new file mode 100644
index 0000000..94e6bc8
--- /dev/null
+++ b/usr/include/arch/arm64/klibc/archsignal.h
@@ -0,0 +1,14 @@...
2013 Oct 09
0
[PATCH 1/1] Porting klibc to AArch64
...e temporary, starting at x8, skip x16, go up to x30
-also store the d registers, d8 to d15.
+/* 0-7 are temporary, starting at x8, skip x16, go up to x30,
+include sp, also store the d registers, d8 to d15.
*/
struct __jmp_buf {
- uint64_t __gregs[22];
+ uint64_t __gregs[23];
uint64_t __fpregs[8];
};
diff --git a/usr/include/arch/aarch64/klibc/archstat.h
b/usr/include/arch/aarch64/klibc/archstat.h
index 451a370..a7c854d 100644
--- a/usr/include/arch/aarch64/klibc/archstat.h
+++ b/usr/include/arch/aarch64/klibc/archstat.h
@@ -6,21 +6,26 @@
#define _STATBUF_ST_NSEC
struct stat {
-...
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 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: