2006-11-08 11:47:44 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS system libraries
|
2015-11-14 14:57:11 +00:00
|
|
|
* FILE: dll/win32/kernel32/client/i386/thread.S
|
2006-11-08 11:47:44 +00:00
|
|
|
* PURPOSE: Thread Start Thunks
|
|
|
|
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
|
|
|
|
*/
|
|
|
|
|
2010-11-27 22:12:15 +00:00
|
|
|
#include <asm.inc>
|
2011-07-23 12:05:38 +00:00
|
|
|
#include <ks386.inc>
|
2010-11-27 22:12:15 +00:00
|
|
|
|
|
|
|
.code
|
|
|
|
|
|
|
|
EXTERN _BaseThreadStartup@8:PROC
|
|
|
|
EXTERN _BaseProcessStartup@4:PROC
|
|
|
|
|
|
|
|
PUBLIC _BaseThreadStartupThunk@0
|
2006-11-08 11:47:44 +00:00
|
|
|
_BaseThreadStartupThunk@0:
|
|
|
|
|
|
|
|
/* Start out fresh */
|
|
|
|
xor ebp, ebp
|
|
|
|
|
|
|
|
push ebx /* lpParameter */
|
|
|
|
push eax /* lpStartAddress */
|
|
|
|
push 0 /* Return EIP */
|
|
|
|
jmp _BaseThreadStartup@8
|
2011-07-23 17:16:51 +00:00
|
|
|
|
2006-11-08 11:47:44 +00:00
|
|
|
|
2011-07-23 12:05:38 +00:00
|
|
|
PUBLIC _BaseProcessStartThunk@0
|
2006-11-08 11:47:44 +00:00
|
|
|
_BaseProcessStartThunk@0:
|
|
|
|
/* Start out fresh */
|
|
|
|
xor ebp, ebp
|
|
|
|
|
|
|
|
push eax /* lpStartAddress */
|
|
|
|
push 0 /* Return EIP */
|
|
|
|
jmp _BaseProcessStartup@4
|
|
|
|
|
2011-07-23 12:05:38 +00:00
|
|
|
|
|
|
|
END
|
|
|
|
|
2006-11-08 11:47:44 +00:00
|
|
|
/* EOF */
|