ntdll: Fix returning from various ARM assembler functions.
This commit is contained in:
parent
a18f84c0b1
commit
c13be7446e
|
@ -283,7 +283,7 @@ __ASM_STDCALL_FUNC( RtlCaptureContext, 4,
|
|||
"str PC, [r0, #0x40]\n\t" /* context->Pc */
|
||||
"mrs r1, CPSR\n\t"
|
||||
"str r1, [r0, #0x44]\n\t" /* context->Cpsr */
|
||||
"mov PC, LR\n"
|
||||
"bx lr"
|
||||
)
|
||||
|
||||
|
||||
|
@ -920,7 +920,7 @@ void signal_free_thread( TEB *teb )
|
|||
extern void set_tpidrurw( TEB *teb );
|
||||
__ASM_GLOBAL_FUNC( set_tpidrurw,
|
||||
"mcr p15, 0, r0, c13, c0, 2\n\t" /* TEB -> TPIDRURW */
|
||||
"blx lr" )
|
||||
"bx lr" )
|
||||
#else
|
||||
void set_tpidrurw( TEB *teb )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue