git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
84fe24ec0183eda8dde63fbe8a4f60da8275c4c2
[lunaix-os.git]
/
lunaix-os
/
usr
/
uwrap.S
1
#define __ASM__
2
#include <lunaix/syscall.h>
3
4
.section .data
5
.global environ
6
environ:
7
.long 0
8
9
.section .text
10
.global _u_start
11
_u_start:
12
xorl %eax, %eax
13
call main
14
15
1:
16
movl %eax, %ebx
17
movl $__SYSCALL__exit, %eax
18
int $LUNAIX_SYS_CALL
19
20
ud2 // should not reach