git-svn-id: svn://kolibrios.org@7857 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Magomed Kostoev (mkostoevr) 2020-05-03 08:21:08 +00:00
parent a76259a20a
commit d7529d70c3
2 changed files with 2 additions and 2 deletions

View File

@ -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