refactor: restructure the user space stuff.
[lunaix-os.git] / lunaix-os / usr / uwrap.S
diff --git a/lunaix-os/usr/uwrap.S b/lunaix-os/usr/uwrap.S
deleted file mode 100644 (file)
index 84fe24e..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#define __ASM__
-#include <lunaix/syscall.h>
-
-.section .data
-    .global environ
-    environ:
-        .long 0
-
-.section .text
-    .global _u_start
-    _u_start:        
-        xorl %eax, %eax
-        call main
-        
-    1:
-        movl %eax, %ebx
-        movl $__SYSCALL__exit, %eax
-        int $LUNAIX_SYS_CALL
-
-        ud2 // should not reach
\ No newline at end of file