mirror of
https://github.com/reactos/reactos.git
synced 2024-10-09 02:35:42 +00:00
ecdfe19579
Switch to new asm syntax Add dependency to asm svn path=/branches/cmake-bringup/; revision=49648
36 lines
776 B
ArmAsm
36 lines
776 B
ArmAsm
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS system libraries
|
|
* FILE: lib/kernel32/thread/i386/thread.S
|
|
* PURPOSE: Thread Start Thunks
|
|
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
|
|
*/
|
|
|
|
#include <asm.inc>
|
|
|
|
|
|
PUBLIC BaseThreadStartupThunk
|
|
PUBLIC BaseProcessStartThunk
|
|
|
|
BaseThreadStartupThunk:
|
|
|
|
/* Start out fresh */
|
|
xor rbp, rbp
|
|
|
|
push rbx /* lpParameter */
|
|
push rax /* lpStartAddress */
|
|
push 0 /* Return RIP */
|
|
jmp BaseThreadStartup
|
|
|
|
BaseProcessStartThunk:
|
|
|
|
/* Start out fresh */
|
|
xor rbp, rbp
|
|
|
|
push rax /* lpStartAddress */
|
|
push 0 /* Return RIP */
|
|
jmp BaseProcessStartup
|
|
|
|
END
|
|
/* EOF */
|