mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 03:48:17 +00:00
9393fc320e
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
42 lines
884 B
ArmAsm
42 lines
884 B
ArmAsm
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS system libraries
|
|
* FILE: dll/win32/kernel32/client/i386/thread.S
|
|
* PURPOSE: Thread Start Thunks
|
|
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
|
|
*/
|
|
|
|
#include <asm.inc>
|
|
#include <ks386.inc>
|
|
|
|
.code
|
|
|
|
EXTERN _BaseThreadStartup@8:PROC
|
|
EXTERN _BaseProcessStartup@4:PROC
|
|
|
|
PUBLIC _BaseThreadStartupThunk@0
|
|
_BaseThreadStartupThunk@0:
|
|
|
|
/* Start out fresh */
|
|
xor ebp, ebp
|
|
|
|
push ebx /* lpParameter */
|
|
push eax /* lpStartAddress */
|
|
push 0 /* Return EIP */
|
|
jmp _BaseThreadStartup@8
|
|
|
|
|
|
PUBLIC _BaseProcessStartThunk@0
|
|
_BaseProcessStartThunk@0:
|
|
/* Start out fresh */
|
|
xor ebp, ebp
|
|
|
|
push eax /* lpStartAddress */
|
|
push 0 /* Return EIP */
|
|
jmp _BaseProcessStartup@4
|
|
|
|
|
|
END
|
|
|
|
/* EOF */
|