mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 16:20:37 +00:00
4019caae75
svn path=/branches/shell32_new-bringup/; revision=51893
39 lines
868 B
ArmAsm
39 lines
868 B
ArmAsm
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS system libraries
|
|
* FILE: lib/kernel32/thread/i386/thread.S
|
|
* PURPOSE: Thread Start Thunks
|
|
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
|
|
*/
|
|
|
|
#include <asm.inc>
|
|
|
|
.code
|
|
|
|
EXTERN _BaseThreadStartup@8:PROC
|
|
EXTERN _BaseProcessStartup@4:PROC
|
|
|
|
PUBLIC _BaseThreadStartupThunk@0
|
|
PUBLIC _BaseProcessStartThunk@0
|
|
|
|
_BaseThreadStartupThunk@0:
|
|
|
|
/* Start out fresh */
|
|
xor ebp, ebp
|
|
|
|
push ebx /* lpParameter */
|
|
push eax /* lpStartAddress */
|
|
push 0 /* Return EIP */
|
|
jmp _BaseThreadStartup@8
|
|
|
|
_BaseProcessStartThunk@0:
|
|
|
|
/* Start out fresh */
|
|
xor ebp, ebp
|
|
|
|
push eax /* lpStartAddress */
|
|
push 0 /* Return EIP */
|
|
jmp _BaseProcessStartup@4
|
|
|
|
END
|
|
/* EOF */
|