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:
parent
b6ab3057f6
commit
782ac76f36
@ -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>
|
2008-08-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
|
||||||
|
|
||||||
* include/shlwapi.h (ASSOCF_INIT_NOREMAPCLSID, ASSOCF_INIT_BYEXENAME,
|
* include/shlwapi.h (ASSOCF_INIT_NOREMAPCLSID, ASSOCF_INIT_BYEXENAME,
|
||||||
|
@ -3828,7 +3828,7 @@ KeGetCurrentIrql(
|
|||||||
* VOID)
|
* VOID)
|
||||||
*/
|
*/
|
||||||
#define KeGetCurrentProcessorNumber() \
|
#define KeGetCurrentProcessorNumber() \
|
||||||
((ULONG)KeGetCurrentKPCR()->ProcessorNumber)
|
((ULONG)KeGetCurrentKPCR()->Number)
|
||||||
|
|
||||||
|
|
||||||
#if __USE_NTOSKRNL__
|
#if __USE_NTOSKRNL__
|
||||||
@ -3842,13 +3842,13 @@ NTOSAPI
|
|||||||
LONG
|
LONG
|
||||||
DDKFASTAPI
|
DDKFASTAPI
|
||||||
InterlockedIncrement(
|
InterlockedIncrement(
|
||||||
/*IN*/ PLONG VOLATILE Addend);
|
/*IN*/ LONG VOLATILE *Addend);
|
||||||
|
|
||||||
NTOSAPI
|
NTOSAPI
|
||||||
LONG
|
LONG
|
||||||
DDKFASTAPI
|
DDKFASTAPI
|
||||||
InterlockedDecrement(
|
InterlockedDecrement(
|
||||||
/*IN*/ PLONG VOLATILE Addend);
|
/*IN*/ LONG VOLATILE *Addend);
|
||||||
|
|
||||||
NTOSAPI
|
NTOSAPI
|
||||||
LONG
|
LONG
|
||||||
@ -7349,6 +7349,11 @@ KeEnterCriticalRegion(
|
|||||||
*/
|
*/
|
||||||
#define KeFlushIoBuffers(_Mdl, _ReadOperation, _DmaOperation)
|
#define KeFlushIoBuffers(_Mdl, _ReadOperation, _DmaOperation)
|
||||||
|
|
||||||
|
NTOSAPI
|
||||||
|
VOID
|
||||||
|
DDKAPI
|
||||||
|
KeFlushQueuedDpcs(VOID);
|
||||||
|
|
||||||
NTOSAPI
|
NTOSAPI
|
||||||
PRKTHREAD
|
PRKTHREAD
|
||||||
DDKAPI
|
DDKAPI
|
||||||
@ -7449,6 +7454,8 @@ DDKAPI
|
|||||||
KeLeaveCriticalRegion(
|
KeLeaveCriticalRegion(
|
||||||
VOID);
|
VOID);
|
||||||
|
|
||||||
|
#define KeMemoryBarrier() asm("mfence;")
|
||||||
|
|
||||||
NTOSAPI
|
NTOSAPI
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
DDKAPI
|
DDKAPI
|
||||||
|
@ -506,6 +506,7 @@ KeEnterCriticalRegion@0
|
|||||||
;KeFindConfigurationEntry
|
;KeFindConfigurationEntry
|
||||||
;KeFindConfigurationNextEntry
|
;KeFindConfigurationNextEntry
|
||||||
;KeFlushEntireTb
|
;KeFlushEntireTb
|
||||||
|
KeFlushQueuedDpcs@0
|
||||||
KeGetCurrentThread@0
|
KeGetCurrentThread@0
|
||||||
KeGetPreviousMode@0
|
KeGetPreviousMode@0
|
||||||
KeGetRecommendedSharedDataAlignment@0
|
KeGetRecommendedSharedDataAlignment@0
|
||||||
@ -542,7 +543,7 @@ KeInsertQueueDpc@12
|
|||||||
;KeIsExecutingDpc
|
;KeIsExecutingDpc
|
||||||
KeLeaveCriticalRegion@0
|
KeLeaveCriticalRegion@0
|
||||||
;KeLoaderBlock DATA
|
;KeLoaderBlock DATA
|
||||||
;KeNumberProcessors DATA
|
KeNumberProcessors DATA
|
||||||
;KeProfileInterrupt
|
;KeProfileInterrupt
|
||||||
;KeProfileInterruptWithSource
|
;KeProfileInterruptWithSource
|
||||||
KePulseEvent@12
|
KePulseEvent@12
|
||||||
|
Loading…
x
Reference in New Issue
Block a user