- Revert r52573
[reactos.git] / dll / win32 / kernel32 / thread / amd64 / 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
11
12 PUBLIC BaseThreadStartupThunk
13 PUBLIC BaseProcessStartThunk
14
15 BaseThreadStartupThunk:
16
17 /* Start out fresh */
18 xor rbp, rbp
19
20 push rbx /* lpParameter */
21 push rax /* lpStartAddress */
22 push 0 /* Return RIP */
23 jmp BaseThreadStartup
24
25 BaseProcessStartThunk:
26
27 /* Start out fresh */
28 xor rbp, rbp
29
30 push rax /* lpStartAddress */
31 push 0 /* Return RIP */
32 jmp BaseProcessStartup
33
34 END
35 /* EOF */