git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: dynamic boot medium probing and mounting
[lunaix-os.git]
/
lunaix-os
/
usr
/
uwrap.S
diff --git
a/lunaix-os/usr/uwrap.S
b/lunaix-os/usr/uwrap.S
index 5708463653a63d0564a37ba16f3d3899dabc68b9..c9e2bbc20aa9a43ec6c512b3c9d27e59563ca11c 100644
(file)
--- a/
lunaix-os/usr/uwrap.S
+++ b/
lunaix-os/usr/uwrap.S
@@
-9,13
+9,15
@@
.section .text
.global _u_start
_u_start:
+ movl (%esp), %eax
+ pushl %eax
call usr_pre_init
jnz 1f
popl %eax
- pushl (%eax) // argc
pushl 4(%eax) // argv
+ pushl (%eax) // argc
xorl %eax, %eax
call main