Author: tkreuzer
Date: Fri Sep 5 18:33:38 2008
New Revision: 35968
URL:
http://svn.reactos.org/svn/reactos?rev=35968&view=rev
Log:
use KeAcquireSpinLockAtDpcLevel and KeReleaseSpinLockFromDpcLevel instead of
KefAcquireSpinLockAtDpcLevel and KefReleaseSpinLockFromDpcLevel. Fix Size parameter of
CmpAllpcate (ULONG->SIZE_T).
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/config/cmwraprs.c
branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/cm.h
branches/ros-amd64-bringup/reactos/ntoskrnl/ke/ipi.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/config/cmwraprs.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/config/cmwraprs.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/config/cmwraprs.c [iso-8859-1] Fri Sep 5
18:33:38 2008
@@ -51,7 +51,7 @@
PVOID
NTAPI
-CmpAllocate(IN ULONG Size,
+CmpAllocate(IN SIZE_T Size,
IN BOOLEAN Paged,
IN ULONG Tag)
{
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/cm.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/cm.h [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/cm.h [iso-8859-1] Fri Sep
5 18:33:38 2008
@@ -1277,7 +1277,7 @@
PVOID
NTAPI
CmpAllocate(
- IN ULONG Size,
+ IN SIZE_T Size,
IN BOOLEAN Paged,
IN ULONG Tag
);
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ke/ipi.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/ke/ipi.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/ke/ipi.c [iso-8859-1] Fri Sep 5 18:33:38
2008
@@ -152,7 +152,7 @@
if (OldIrql < DISPATCH_LEVEL) KeRaiseIrql(DISPATCH_LEVEL, &OldIrql);
/* Acquire the IPI lock */
- KefAcquireSpinLockAtDpcLevel(&KiIpiLock);
+ KeAcquireSpinLockAtDpcLevel(&KiIpiLock);
/* Raise to IPI level */
KeRaiseIrql(IPI_LEVEL, &OldIrql2);
@@ -161,7 +161,7 @@
Status = Function(Argument);
/* Release the lock */
- KefReleaseSpinLockFromDpcLevel(&KiIpiLock);
+ KeReleaseSpinLockFromDpcLevel(&KiIpiLock);
/* Lower IRQL back */
KeLowerIrql(OldIrql);