1/* 2 * COPYRIGHT: See COPYING in the top level directory 3 * PROJECT: ReactOS system libraries 4 * FILE: dll/win32/kernel32/client/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 14EXTERN _BaseThreadStartup@8:PROC 15EXTERN _BaseProcessStartup@4:PROC 16 17PUBLIC _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 29PUBLIC _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 39END 40 41/* EOF */ 42