Contents of /trunk/mkinitrd-magellan/klibc/usr/klibc/arch/mips/vfork.S
Parent Directory | Revision Log
Revision 532 -
(show annotations)
(download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File size: 283 byte(s)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File size: 283 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd
1 | #include <asm/asm.h> |
2 | #include <asm/regdef.h> |
3 | #include <asm/unistd.h> |
4 | |
5 | #define CLONE_VM 0x00000100 |
6 | #define CLONE_VFORK 0x00004000 |
7 | #define SIGCHLD 18 |
8 | |
9 | .set noreorder |
10 | |
11 | LEAF(vfork) |
12 | li a0, CLONE_VFORK | CLONE_VM | SIGCHLD |
13 | li a1, 0 |
14 | j __syscall_common |
15 | li v0, __NR_clone |
16 | END(vfork) |