search for: _klibc_asmmacros_h

Displaying 9 results from an estimated 9 matches for "_klibc_asmmacros_h".

2013 Nov 12
0
[klibc:master] arm64: remove useless <klibc/asmmacros.h> file
...mmacros.h b/usr/include/arch/arm64/klibc/asmmacros.h deleted file mode 100644 index c298f66..0000000 --- a/usr/include/arch/arm64/klibc/asmmacros.h +++ /dev/null @@ -1,11 +0,0 @@ -/* - * usr/include/arch/arm64/klibc/asmmacros.h - * - * Assembly macros used by arm64 system call stubs - */ - -#ifndef _KLIBC_ASMMACROS_H -#define _KLIBC_ASMMACROS_H - - -#endif /* _KLIBC_ASMMACROS_H */ diff --git a/usr/klibc/arch/arm64/setjmp.S b/usr/klibc/arch/arm64/setjmp.S index 13ab99d..284e328 100644 --- a/usr/klibc/arch/arm64/setjmp.S +++ b/usr/klibc/arch/arm64/setjmp.S @@ -4,8 +4,6 @@ # setjmp/longjmp for arm64 # -#includ...
2011 May 17
2
[PATCH] arm: use bx on thumb2 v3
...bea0e 100644 --- a/usr/include/arch/arm/klibc/asmmacros.h +++ b/usr/include/arch/arm/klibc/asmmacros.h @@ -27,4 +27,10 @@ (((x) & ~0xf000000f) == 0) || \ (((x) & ~0xc000003f) == 0)) +#if _KLIBC_ARM_USE_BX +# define BX(x) bx ##x +#else +# define BX(x) mov pc, ##x +#endif + #endif /* _KLIBC_ASMMACROS_H */ diff --git a/usr/include/klibc/sysconfig.h b/usr/include/klibc/sysconfig.h index bf1daf5..a1c37fd 100644 --- a/usr/include/klibc/sysconfig.h +++ b/usr/include/klibc/sysconfig.h @@ -196,4 +196,13 @@ # define _KLIBC_SYS_SOCKETCALL 0 #endif +/* + * _KLIBC_ARM_USE_BX + * + * This arm architectur...
2011 Aug 08
0
[PATCH/RFC] Add initial avr32 port
...c/asmmacros.h b/usr/include/arch/avr32/klibc/asmmacros.h new file mode 100644 index 0000000..32bc2d3 --- /dev/null +++ b/usr/include/arch/avr32/klibc/asmmacros.h @@ -0,0 +1,10 @@ +/* + * usr/include/arch/avr32/klibc/asmmacros.h + * + * Assembly macros used by AVR32 system call stubs + */ + +#ifndef _KLIBC_ASMMACROS_H +#define _KLIBC_ASMMACROS_H + +#endif /* _KLIBC_ASMMACROS_H */ diff --git a/usr/klibc/README.klibc b/usr/klibc/README.klibc index b4135cb..81b28ba 100644 --- a/usr/klibc/README.klibc +++ b/usr/klibc/README.klibc @@ -38,7 +38,7 @@ b) If you're cross-compiling, you need to set KLIBCARCH to the...
2013 Nov 12
0
[klibc:master] arm64: Add arm64 support
...c/asmmacros.h b/usr/include/arch/arm64/klibc/asmmacros.h new file mode 100644 index 0000000..c298f66 --- /dev/null +++ b/usr/include/arch/arm64/klibc/asmmacros.h @@ -0,0 +1,11 @@ +/* + * usr/include/arch/arm64/klibc/asmmacros.h + * + * Assembly macros used by arm64 system call stubs + */ + +#ifndef _KLIBC_ASMMACROS_H +#define _KLIBC_ASMMACROS_H + + +#endif /* _KLIBC_ASMMACROS_H */ diff --git a/usr/klibc/README.klibc b/usr/klibc/README.klibc index 7de5fea..c72ae47 100644 --- a/usr/klibc/README.klibc +++ b/usr/klibc/README.klibc @@ -36,6 +36,7 @@ b) If you're cross-compiling, you need to set KLIBCARCH to the...
2013 Nov 08
0
[PATCH 3/3] arm64: Introduce arm64 support
...c/asmmacros.h b/usr/include/arch/arm64/klibc/asmmacros.h new file mode 100644 index 0000000..c298f66 --- /dev/null +++ b/usr/include/arch/arm64/klibc/asmmacros.h @@ -0,0 +1,11 @@ +/* + * usr/include/arch/arm64/klibc/asmmacros.h + * + * Assembly macros used by arm64 system call stubs + */ + +#ifndef _KLIBC_ASMMACROS_H +#define _KLIBC_ASMMACROS_H + + +#endif /* _KLIBC_ASMMACROS_H */ diff --git a/usr/klibc/README.klibc b/usr/klibc/README.klibc index 7de5fea..c72ae47 100644 --- a/usr/klibc/README.klibc +++ b/usr/klibc/README.klibc @@ -36,6 +36,7 @@ b) If you're cross-compiling, you need to set KLIBCARCH to the...
2006 Jun 26
0
[klibc 22/43] arm support for klibc
...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/arm/klibc/asmmacros.h @@ -0,0 +1,30 @@ +/* + * usr/include/arch/arm/klibc/asmmacros.h + * + * Assembly macros used by ARM system call stubs + */ + +#ifndef _KLIBC_ASMMACROS_H +#define _KLIBC_ASMMACROS_H + +/* An immediate in ARM can be any 8-bit value rotated by an even number of bits */ + +#define ARM_VALID_IMM(x) \ + ((((x) & ~0x000000ff) == 0) || \ + (((x) & ~0x000003fc) == 0) || \ + (((x) & ~0x00000ff0) == 0) || \ + (((x) & ~0x00003fc0) == 0) || \...
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 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: