Magellan Linux

Diff of /trunk/mkinitrd-magellan/klibc/usr/klibc/arch/arm/vfork.S

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1296 by niro, Sat Sep 1 22:45:15 2007 UTC revision 1297 by niro, Fri May 27 15:12:11 2011 UTC
# Line 4  Line 4 
4   * vfork - nasty system call which must not use the stack.   * vfork - nasty system call which must not use the stack.
5   */   */
6    
7    #include <klibc/asmmacros.h>
8  #include <asm/unistd.h>  #include <asm/unistd.h>
9    
10   .type vfork,#function   .type vfork,#function
# Line 25  vfork: Line 26  vfork:
26          ldrcs r3, 1f          ldrcs r3, 1f
27          mvncs r0, #0          mvncs r0, #0
28          strcs r2, [r3]          strcs r2, [r3]
29   mov pc, lr   BX(lr)
30    
31   .balign 4   .balign 4
32  1:  1:
# Line 49  vfork: Line 50  vfork:
50   str r2, [r1]   str r2, [r1]
51   neg r0, r0   neg r0, r0
52  1:  1:
53   mov pc, lr   BX(lr)
54    
55   .balign 4   .balign 4
56  2:  2:

Legend:
Removed from v.1296  
changed lines
  Added in v.1297