From 9d1423e832a6ed53eb2364089ce018014d7d9bc6 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Mon, 9 Jan 2006 23:54:10 +0000 Subject: [PATCH] - Fixed KiExitDispatcher. - Defined KeIpiGenericCall. It is necessary for the smp build. svn path=/trunk/; revision=20759 --- reactos/ntoskrnl/include/internal/ke.h | 8 +++++++- reactos/ntoskrnl/ke/wait.c | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/include/internal/ke.h b/reactos/ntoskrnl/include/internal/ke.h index 24d91a96969..74faed6154b 100644 --- a/reactos/ntoskrnl/include/internal/ke.h +++ b/reactos/ntoskrnl/include/internal/ke.h @@ -56,7 +56,6 @@ extern ULONG_PTR KERNEL_BASE; #define KeReleaseDispatcherDatabaseLockFromDpcLevel() \ KeReleaseSpinLockFromDpcLevel(&DispatcherDatabaseLock); #define KeReleaseDispatcherDatabaseLock(OldIrql) \ - KeReleaseSpinLockFromDpcLevel(&DispatcherDatabaseLock); \ KiExitDispatcher(OldIrql); #else #define KeInitializeDispatcher() @@ -304,6 +303,13 @@ KiIpiSendRequest( ULONG IpiRequest ); +VOID +NTAPI +KeIpiGenericCall( + VOID (STDCALL *WorkerRoutine)(PVOID), + PVOID Argument +); + /* next file ***************************************************************/ VOID diff --git a/reactos/ntoskrnl/ke/wait.c b/reactos/ntoskrnl/ke/wait.c index 5f9e79ec80b..c1823468d2c 100644 --- a/reactos/ntoskrnl/ke/wait.c +++ b/reactos/ntoskrnl/ke/wait.c @@ -844,6 +844,10 @@ KiExitDispatcher(KIRQL OldIrql) { KiDispatchThreadNoLock(Ready); } + else + { + KeReleaseDispatcherDatabaseLockFromDpcLevel(); + } /* Lower irql back */ KeLowerIrql(OldIrql); -- 2.17.1