Displaying 3 results from an estimated 3 matches for "___syscall_common".
Did you mean:
__syscall_common
2006 Jun 26
0
[klibc 34/43] sh support for klibc
...the syscall number (set by generated stub);
+ * r4..r7 contain arguments 0-3 per the standard calling convention,
+ * and arguments 4-5 are passed in r0 and r1.
+ *
+ * The return value is in r3 rather than standard r0.
+ */
+
+ .section ".text.syscall","ax"
+ .align 2
+ .globl ___syscall_common
+ .type ___syscall_common, at function
+___syscall_common:
+ mov.l @(sp),r0
+ mov.l @(4,sp),r1
+ trapa #0x15
+ mov.l 1f,r0
+ cmp/hs r0,r3
+ bt/s 3f
+ neg r3,r4
+ mov.l 2f,r5
+ mov.l r4, at r5
+ rts
+ mov #-1,r0
+3:
+ rts
+ mov r3,r0
+
+ .align 2
+1: .long -4096 /* Errno limit */
+2: .long er...
2004 Jun 23
4
CRIS port of klibc
...rN ./klibc/arch/cris/syscall.S
../klibc-0.146-modified/klibc/arch/cris/syscall.S
--- ./klibc/arch/cris/syscall.S Thu Jun 10 08:59:15 2004
+++ ../klibc-0.146-modified/klibc/arch/cris/syscall.S Wed Jun 23 10:36:07
2004
@@ -9,9 +9,9 @@
.section ".text","ax"
.balign 4
- .globl ___syscall_common
- .type ___syscall_common,@function
-___syscall_common:
+ .globl __syscall_common
+ .type __syscall_common,@function
+__syscall_common:
push $srp
move [$sp+4],$mof
move [$sp+8],$srp
@@ -19,11 +19,12 @@
cmp.d -4096,$r10
blt 1f
- neg.d $r10,$r11
- move.d $r11,[_errno]
+ neg.d $r10,$r11...
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: