2008-08-29 Andy Grover <andy.grover@oracle.com>

* include/ddk/winddk.h (KeFlushQueuedDpcs, KeMemoryBarrier): Define.
        (KeGetCurrentProcessorNumber): Fix incorrect member reference.
        (InterlockedIncrement, InterlockedDecrement): fix warning.
        * lib/ddk/ntoskrnl.def (KeFlushQueuedDpcs, KeMemoryBarrier): Export.
        (KeNumberProcessors): Export.
This commit is contained in:
Chris Sutcliffe 2008-08-30 02:16:11 +00:00
parent b6ab3057f6
commit 782ac76f36
3 changed files with 20 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2008-08-29 Andy Grover <andy.grover@oracle.com>
* include/ddk/winddk.h (KeFlushQueuedDpcs, KeMemoryBarrier): Define.
(KeGetCurrentProcessorNumber): Fix incorrect member reference.
(InterlockedIncrement, InterlockedDecrement): fix warning.
* lib/ddk/ntoskrnl.def (KeFlushQueuedDpcs, KeMemoryBarrier): Export.
(KeNumberProcessors): Export.
2008-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/shlwapi.h (ASSOCF_INIT_NOREMAPCLSID, ASSOCF_INIT_BYEXENAME,

View File

@ -3828,7 +3828,7 @@ KeGetCurrentIrql(
* VOID)
*/
#define KeGetCurrentProcessorNumber() \
((ULONG)KeGetCurrentKPCR()->ProcessorNumber)
((ULONG)KeGetCurrentKPCR()->Number)
#if __USE_NTOSKRNL__
@ -3842,13 +3842,13 @@ NTOSAPI
LONG
DDKFASTAPI
InterlockedIncrement(
/*IN*/ PLONG VOLATILE Addend);
/*IN*/ LONG VOLATILE *Addend);
NTOSAPI
LONG
DDKFASTAPI
InterlockedDecrement(
/*IN*/ PLONG VOLATILE Addend);
/*IN*/ LONG VOLATILE *Addend);
NTOSAPI
LONG
@ -7349,6 +7349,11 @@ KeEnterCriticalRegion(
*/
#define KeFlushIoBuffers(_Mdl, _ReadOperation, _DmaOperation)
NTOSAPI
VOID
DDKAPI
KeFlushQueuedDpcs(VOID);
NTOSAPI
PRKTHREAD
DDKAPI
@ -7449,6 +7454,8 @@ DDKAPI
KeLeaveCriticalRegion(
VOID);
#define KeMemoryBarrier() asm("mfence;")
NTOSAPI
NTSTATUS
DDKAPI

View File

@ -506,6 +506,7 @@ KeEnterCriticalRegion@0
;KeFindConfigurationEntry
;KeFindConfigurationNextEntry
;KeFlushEntireTb
KeFlushQueuedDpcs@0
KeGetCurrentThread@0
KeGetPreviousMode@0
KeGetRecommendedSharedDataAlignment@0
@ -542,7 +543,7 @@ KeInsertQueueDpc@12
;KeIsExecutingDpc
KeLeaveCriticalRegion@0
;KeLoaderBlock DATA
;KeNumberProcessors DATA
KeNumberProcessors DATA
;KeProfileInterrupt
;KeProfileInterruptWithSource
KePulseEvent@12