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)
9 .globl BaseThreadStartupThunk
10 .globl BaseProcessStartThunk
11 .intel_syntax noprefix
13 BaseThreadStartupThunk:
18 push rbx /* lpParameter */
19 push rax /* lpStartAddress */
20 push 0 /* Return RIP */
23 BaseProcessStartThunk:
28 push rax /* lpStartAddress */
29 push 0 /* Return RIP */
30 jmp BaseProcessStartup