Sync with trunk (r48123)
[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 .globl BaseThreadStartupThunk
10 .globl BaseProcessStartThunk
11 .intel_syntax noprefix
12
13 BaseThreadStartupThunk:
14
15 /* Start out fresh */
16 xor rbp, rbp
17
18 push rbx /* lpParameter */
19 push rax /* lpStartAddress */
20 push 0 /* Return RIP */
21 jmp BaseThreadStartup
22
23 BaseProcessStartThunk:
24
25 /* Start out fresh */
26 xor rbp, rbp
27
28 push rax /* lpStartAddress */
29 push 0 /* Return RIP */
30 jmp BaseProcessStartup
31
32 /* EOF */