[CMAKE]
[reactos.git] / dll / win32 / kernel32 / thread / 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 .globl _BaseThreadStartupThunk@0
10 .globl _BaseProcessStartThunk@0
11 .intel_syntax noprefix
12
13 _BaseThreadStartupThunk@0:
14
15 /* Start out fresh */
16 xor ebp, ebp
17
18 push ebx /* lpParameter */
19 push eax /* lpStartAddress */
20 push 0 /* Return EIP */
21 jmp _BaseThreadStartup@8
22
23 _BaseProcessStartThunk@0:
24
25 /* Start out fresh */
26 xor ebp, ebp
27
28 push eax /* lpStartAddress */
29 push 0 /* Return EIP */
30 jmp _BaseProcessStartup@4
31
32 /* EOF */