forked from KolibriOS/kolibrios
Fix issue #48 [http://bugs.kolibri-n.org/?id=48]
git-svn-id: svn://kolibrios.org@7857 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
a76259a20a
commit
d7529d70c3
Binary file not shown.
@ -1,13 +1,13 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "public_stdcall.inc"
|
include "public_stdcall.inc"
|
||||||
section '.text' executable
|
section '.text' executable
|
||||||
extrn malloc
|
extrn sysmalloc
|
||||||
public_stdcall _ksys_start_thread,12
|
public_stdcall _ksys_start_thread,12
|
||||||
;arg1 - proc
|
;arg1 - proc
|
||||||
;arg2 - stacksize
|
;arg2 - stacksize
|
||||||
;arg3 - pid
|
;arg3 - pid
|
||||||
push dword [esp+8]
|
push dword [esp+8]
|
||||||
call malloc
|
call sysmalloc
|
||||||
test eax,eax
|
test eax,eax
|
||||||
jz .no_mem
|
jz .no_mem
|
||||||
push ebx
|
push ebx
|
||||||
|
Loading…
Reference in New Issue
Block a user