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