https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b9958c7be7e5df9a602fb…
commit b9958c7be7e5df9a602fb9cbcd0338cf30c15012
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Thu Aug 10 14:46:29 2023 +0300
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Thu Aug 10 14:46:29 2023 +0300
[XDK] Fix definition of KeRaiseIrqlToSynchLevel for x64 UP
---
sdk/include/xdk/amd64/ke.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sdk/include/xdk/amd64/ke.h b/sdk/include/xdk/amd64/ke.h
index b9238ccfd17..87d46752af8 100644
--- a/sdk/include/xdk/amd64/ke.h
+++ b/sdk/include/xdk/amd64/ke.h
@@ -116,7 +116,11 @@ FORCEINLINE
KIRQL
KeRaiseIrqlToSynchLevel(VOID)
{
+#ifdef CONFIG_SMP
return KfRaiseIrql(12); // SYNCH_LEVEL = IPI_LEVEL - 2
+#else
+ return KfRaiseIrql(2); // SYNCH_LEVEL = DISPATCH_LEVEL
+#endif
}
FORCEINLINE