search for: callsys

Displaying 8 results from an estimated 8 matches for "callsys".

Did you mean: calls
2006 Jun 26
0
[klibc 21/43] alpha support for klibc
...;$19"); \ + register long _sc_20 __asm__("$20"); \ + \ + _sc_0 = __NR_##name; \ + __asm__("callsys" \ + : "=r"(_sc_0), "=r"(_sc_19), "=r" (_sc_20) \ + : "0"(_sc_0) \ + : _syscall_clobbers);...
2019 Jan 21
0
[klibc:master] alpha: Fix dual1 system call wrapper
...6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/klibc/arch/alpha/sysdual.S b/usr/klibc/arch/alpha/sysdual.S index 1719e37..03e719d 100644 --- a/usr/klibc/arch/alpha/sysdual.S +++ b/usr/klibc/arch/alpha/sysdual.S @@ -18,15 +18,15 @@ __syscall_dual1: .frame sp,0,ra,0 callsys - mov v0, a4 beq a3, 1f br pv, 2f # pv <- pc 2: ldgp gp, 0(pv) lda a1, errno - lda v0, -1(zero) - stl a3, 0(a1) + stl v0, 0(a1) + lda a4, -1(zero) 1: + mov a4, v0 ret zero,(ra),1 .size __syscall_dual1,.-__syscall_dual1
2020 Jul 25
0
[klibc:execstack-fixes] alpha: Set sa_restorer for signals and disable executable stack
.../arch/alpha/sigreturn.S @@ -0,0 +1,16 @@ +/* + * arch/alpha/sigreturn.S + */ + +#include <asm/unistd.h> + + .text + .align 3 + .type __sigreturn, at function + .ent __syscall_common,0 + .globl __sigreturn +__sigreturn: + mov sp,a0 ; struct sigcontext on stack + lda v0,__NR_sigreturn(zero) + callsys + .size __sigreturn,.-__sigreturn
2020 Aug 20
0
[klibc:execstack-fixes] alpha: Set sa_restorer for signals and disable executable stack
...klibc/arch/alpha/sigreturn.S @@ -0,0 +1,16 @@ +/* + * arch/alpha/sigreturn.S + */ + +#include <asm/unistd.h> + + .text + .align 3 + .type __sigreturn, at function + .ent __sigreturn,0 + .globl __sigreturn +__sigreturn: + mov sp,a0 ; struct sigcontext on stack + lda v0,__NR_sigreturn(zero) + callsys + .size __sigreturn,.-__sigreturn
2020 Aug 27
0
[klibc:master] alpha: Pass restorer to rt_sigaction() and disable executable stack
...0 +1,18 @@ +/* + * arch/alpha/sigreturn.S + */ + +#include <machine/asm.h> +#include <asm/unistd.h> + + .text + .align 3 + .type __sigreturn, at function + .ent __sigreturn,0 + .globl __sigreturn +__sigreturn: + mov sp,a0 # struct sigcontext on stack + lda v0,__NR_rt_sigreturn(zero) + callsys + .size __sigreturn,.-__sigreturn + .end __sigreturn diff --git a/usr/klibc/sigaction.c b/usr/klibc/sigaction.c index 0d7c5c9d..789494db 100644 --- a/usr/klibc/sigaction.c +++ b/usr/klibc/sigaction.c @@ -14,7 +14,7 @@ __extern int __rt_sigaction(int, const struct sigaction *, struct sigaction *,...
2000 Aug 08
2
Internal Error in nmbd
...8b8 in abort () at ../sysdeps/generic/abort.c:88 #3 0x12005b9f4 in smb_panic () #4 0x120042a40 in fault_report () #5 0x120042ad4 in sig_fault () (gdb) disass __kill Dump of assembler code for function __kill: 0x200005dbd20 <__kill>: lda v0,37(zero) 0x200005dbd24 <__kill+4>: callsys 0x200005dbd28 <__kill+8>: bne a3,0x200005dbd30 <__kill+16> 0x200005dbd2c <__kill+12>: ret zero,(ra),0x1 0x200005dbd30 <__kill+16>: br gp,0x200005dbd34 <__kill+20> 0x200005dbd34 <__kill+20>: ldah gp,31(gp) 0x200005dbd38 <__k...
2013 Jul 31
29
[PATCH 0/9] tools: remove or disable old/useless/unused/unmainted stuff
depends on "autoconf: regenerate configure scripts with 4.4 version" This series removes some of the really old deadwood from the tools build and makes some other things which are on their way out configurable at build time with a default depending on how far down the slope I judge them to be. * nuke in tree copy of libaio * nuke obsolete tools: xsview, miniterm, lomount & sv *
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: