- Update to r53061
[reactos.git] / dll / win32 / kernel32 / client / i386 / thread.S
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: lib/kernel32/thread/i386/thread.S
5 * PURPOSE: Thread Start Thunks
6 * PROGRAMMER: Alex Ionescu (alex@relsoft.net)
7 */
8
9 #include <asm.inc>
10 #include <ks386.inc>
11
12 .code
13
14 EXTERN _BaseThreadStartup@8:PROC
15 EXTERN _BaseProcessStartup@4:PROC
16
17 PUBLIC _BaseThreadStartupThunk@0
18 _BaseThreadStartupThunk@0:
19
20 /* Start out fresh */
21 xor ebp, ebp
22
23 push ebx /* lpParameter */
24 push eax /* lpStartAddress */
25 push 0 /* Return EIP */
26 jmp _BaseThreadStartup@8
27
28
29 PUBLIC _BaseProcessStartThunk@0
30 _BaseProcessStartThunk@0:
31 /* Start out fresh */
32 xor ebp, ebp
33
34 push eax /* lpStartAddress */
35 push 0 /* Return EIP */
36 jmp _BaseProcessStartup@4
37
38
39 END
40
41 /* EOF */