mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
c2d0d784c7
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
38 lines
833 B
ArmAsm
38 lines
833 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>
|
|
.code64
|
|
|
|
EXTERN BaseThreadStartup:PROC
|
|
EXTERN BaseProcessStartup:PROC
|
|
|
|
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 */
|