* replaced sysbeos to system

This commit is contained in:
marco 2003-01-10 19:36:28 +00:00
parent 2102ce7031
commit 2ad2b10388
2 changed files with 8 additions and 8 deletions

View File

@ -41,9 +41,9 @@ _start:
call _init_c_library_
call _call_init_routines_
movl 8(%ebp),%eax
movl %eax,U_SYSBEOS_ARGC
movl %edi,U_SYSBEOS_ARGV
movl %esi,U_SYSBEOS_ENVP
movl %eax,U_SYSTEM_ARGC
movl %edi,U_SYSTEM_ARGV
movl %esi,U_SYSTEM_ENVP
xorl %ebp,%ebp
call PASCALMAIN
@ -52,7 +52,7 @@ _start:
_haltproc:
call _thread_do_exit_notification
xorl %ebx,%ebx
movw U_SYSBEOS_EXITCODE,%bx
movw U_SYSTEM_EXITCODE,%bx
pushl %ebx
call exit

View File

@ -8,9 +8,9 @@ start:
movl 16(%ebp),%ecx
movl 12(%ebp),%ebx
movl 8(%ebp),%eax
movl %eax,U_SYSBEOS_ARGC
movl %ebx,U_SYSBEOS_ARGV
movl %ecx,U_SYSBEOS_ENVP
movl %eax,U_SYSTEM_ARGC
movl %ebx,U_SYSTEM_ARGV
movl %ecx,U_SYSTEM_ENVP
xorl %ebp,%ebp
call PASCALMAIN
@ -18,7 +18,7 @@ start:
.type _haltproc,@function
_haltproc:
xorl %ebx,%ebx
movw U_SYSBEOS_EXITCODE,%bx
movw U_SYSTEM_EXITCODE,%bx
pushl %ebx
call sys_exit