mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 13:34:53 +00:00
[ASM x64] Fix usage of macro .allocstack
.allocstack only accepts one 'size' parameter."
This commit is contained in:
parent
a7cb59728d
commit
ae4ce99e00
|
@ -67,7 +67,7 @@ PUBLIC KiUserCallbackDispatcher
|
||||||
.PUSHFRAME
|
.PUSHFRAME
|
||||||
|
|
||||||
/* This is for the Home space, Buffer, Length and ApiNumber */
|
/* This is for the Home space, Buffer, Length and ApiNumber */
|
||||||
.ALLOCSTACK 6 * 8
|
.ALLOCSTACK (6 * 8)
|
||||||
.ENDPROLOG
|
.ENDPROLOG
|
||||||
|
|
||||||
#if DBG
|
#if DBG
|
||||||
|
|
|
@ -146,7 +146,7 @@ PUBLIC KiThreadStartup
|
||||||
push rbp
|
push rbp
|
||||||
.pushreg rbp
|
.pushreg rbp
|
||||||
sub rsp, 6 * 8
|
sub rsp, 6 * 8
|
||||||
.allocstack 6 * 8
|
.allocstack (6 * 8)
|
||||||
.endprolog
|
.endprolog
|
||||||
|
|
||||||
/* Save WaitIrql as KSWITCH_FRAME::ApcBypass */
|
/* Save WaitIrql as KSWITCH_FRAME::ApcBypass */
|
||||||
|
|
|
@ -12,7 +12,7 @@ MACRO(GENERATE_EXCEPTION_FRAME)
|
||||||
/* Allocate a KEXCEPTION_FRAME on the stack */
|
/* Allocate a KEXCEPTION_FRAME on the stack */
|
||||||
/* -8 because the last field is the return address */
|
/* -8 because the last field is the return address */
|
||||||
sub rsp, KEXCEPTION_FRAME_LENGTH - 8
|
sub rsp, KEXCEPTION_FRAME_LENGTH - 8
|
||||||
.allocstack KEXCEPTION_FRAME_LENGTH - 8
|
.allocstack (KEXCEPTION_FRAME_LENGTH - 8)
|
||||||
|
|
||||||
/* Save non-volatiles in KEXCEPTION_FRAME */
|
/* Save non-volatiles in KEXCEPTION_FRAME */
|
||||||
mov [rsp + ExRbp], rbp
|
mov [rsp + ExRbp], rbp
|
||||||
|
|
Loading…
Reference in a new issue