https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ae4ce99e00bdd3b2475926...
commit ae4ce99e00bdd3b2475926d69b52d68c357e5a3d Author: Hervé Poussineau hpoussin@reactos.org AuthorDate: Sat Jan 9 19:33:20 2021 +0100 Commit: Hervé Poussineau hpoussin@reactos.org CommitDate: Thu Jan 28 20:31:16 2021 +0100
[ASM x64] Fix usage of macro .allocstack
.allocstack only accepts one 'size' parameter." --- dll/ntdll/dispatch/amd64/dispatch.S | 2 +- ntoskrnl/ke/amd64/ctxswitch.S | 2 +- sdk/include/asm/kxamd64.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dll/ntdll/dispatch/amd64/dispatch.S b/dll/ntdll/dispatch/amd64/dispatch.S index c78ff86e78d..a78ca687c23 100644 --- a/dll/ntdll/dispatch/amd64/dispatch.S +++ b/dll/ntdll/dispatch/amd64/dispatch.S @@ -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 diff --git a/ntoskrnl/ke/amd64/ctxswitch.S b/ntoskrnl/ke/amd64/ctxswitch.S index ddd9a734499..94c726aa486 100644 --- a/ntoskrnl/ke/amd64/ctxswitch.S +++ b/ntoskrnl/ke/amd64/ctxswitch.S @@ -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 */ diff --git a/sdk/include/asm/kxamd64.inc b/sdk/include/asm/kxamd64.inc index dccf8a2c409..61751f69529 100644 --- a/sdk/include/asm/kxamd64.inc +++ b/sdk/include/asm/kxamd64.inc @@ -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