mirror of
https://github.com/reactos/reactos.git
synced 2025-01-12 01:00:06 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
32 lines
774 B
ArmAsm
32 lines
774 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)
|
|
*/
|
|
|
|
.globl BaseThreadStartupThunk
|
|
.globl BaseProcessStartThunk
|
|
.intel_syntax noprefix
|
|
|
|
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
|
|
|
|
/* EOF */
|