[ASM x64] Fix usage of macro .allocstack

.allocstack only accepts one 'size' parameter."
This commit is contained in:
Hervé Poussineau 2021-01-09 19:33:20 +01:00
parent a7cb59728d
commit ae4ce99e00
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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 */

View file

@ -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