- Export KeI386MachineType and KeInitializeThreadedDpc

- Stubplement and export IoEnumerateRegisteredFiltersList, IoGetPagingIoPriority, KdRefreshDebuggerNotPresent, KeAcquireInStackQueuedSpinLockForDpc, KeReleaseInStackQueuedSpinLockForDpc,  KeAcquireSpinLockForDpc, KeReleaseSpinLockForDpc, KeRegisterNmiCallback, KeDeregisterNmiCallback, KeInitializeCrashDumpHeader, KeTestSpinLock and MmAllocatePagesForMdlEx
- Add IO_PAGING_PRIORITY enumeration and PNMI_CALLBACK prototype to headers

svn path=/trunk/; revision=35103
This commit is contained in:
Stefan Ginsberg
2008-08-04 15:48:46 +00:00
parent 3841e59604
commit 9a37df12d7
9 changed files with 187 additions and 14 deletions
+14
View File
@@ -747,6 +747,15 @@ typedef struct _KUSER_SHARED_DATA
#define IRP_MN_REGINFO_EX 0x0b
typedef enum _IO_PAGING_PRIORITY
{
IoPagingPriorityInvalid,
IoPagingPriorityNormal,
IoPagingPriorityHigh,
IoPagingPriorityReserved1,
IoPagingPriorityReserved2
} IO_PAGING_PRIORITY;
typedef enum _IO_ALLOCATION_ACTION {
KeepObject = 1,
DeallocateObject,
@@ -4856,6 +4865,11 @@ typedef struct _KBUGCHECK_CALLBACK_RECORD {
UCHAR State;
} KBUGCHECK_CALLBACK_RECORD, *PKBUGCHECK_CALLBACK_RECORD;
typedef BOOLEAN
(DDKAPI *PNMI_CALLBACK)(
IN PVOID Context,
IN BOOLEAN Handled);
/*
* VOID
* KeInitializeCallbackRecord(
+13
View File
@@ -1534,6 +1534,19 @@ IoFreeIrp(IN PIRP Irp)
}
}
/*
* @unimplemented
*/
IO_PAGING_PRIORITY
NTAPI
IoGetPagingIoPriority(IN PIRP Irp)
{
UNIMPLEMENTED;
/* Lie and say this isn't a paging IRP -- FIXME! */
return IoPagingPriorityInvalid;
}
/*
* @implemented
*/
+13
View File
@@ -645,6 +645,19 @@ IopMountVolume(IN PDEVICE_OBJECT DeviceObject,
/* PUBLIC FUNCTIONS **********************************************************/
/*
* @unimplemented
*/
NTSTATUS
NTAPI
IoEnumerateRegisteredFiltersList(IN PDRIVER_OBJECT *DriverObjectList,
IN ULONG DriverObjectListSize,
OUT PULONG ActualNumberDriverObjects)
{
UNIMPLEMENTED;
return STATUS_UNSUCCESSFUL;
}
/*
* @implemented
*/
+13
View File
@@ -207,6 +207,19 @@ KdpCallGdb(IN PKTRAP_FRAME TrapFrame,
/* PUBLIC FUNCTIONS *********************************************************/
/*
* @implemented
*/
BOOLEAN
NTAPI
KdRefreshDebuggerNotPresent(VOID)
{
UNIMPLEMENTED;
/* Just return whatever was set previously -- FIXME! */
return KdDebuggerNotPresent;
}
/*
* @implemented
*/
+11
View File
@@ -1300,6 +1300,17 @@ KdDisableDebugger(VOID)
return STATUS_SUCCESS;
}
/*
* @unimplemented
*/
BOOLEAN
NTAPI
KdRefreshDebuggerNotPresent(VOID)
{
/* HACK */
return KdDebuggerNotPresent;
}
NTSTATUS
NTAPI
NtQueryDebugFilterState(ULONG ComponentId,
+38
View File
@@ -1207,6 +1207,21 @@ KeBugCheckWithTf(IN ULONG BugCheckCode,
/* PUBLIC FUNCTIONS **********************************************************/
/*
* @unimplemented
*/
NTSTATUS
NTAPI
KeInitializeCrashDumpHeader(IN ULONG Type,
IN ULONG Flags,
OUT PVOID Buffer,
IN ULONG BufferSize,
OUT ULONG BufferNeeded OPTIONAL)
{
UNIMPLEMENTED;
return STATUS_UNSUCCESSFUL;
}
/*
* @implemented
*/
@@ -1262,6 +1277,17 @@ KeDeregisterBugCheckReasonCallback(
return Status;
}
/*
* @unimplemented
*/
NTSTATUS
NTAPI
KeDeregisterNmiCallback(PVOID Handle)
{
UNIMPLEMENTED;
return STATUS_UNSUCCESSFUL;
}
/*
* @implemented
*/
@@ -1332,6 +1358,18 @@ KeRegisterBugCheckReasonCallback(
return Status;
}
/*
* @unimplemented
*/
PVOID
NTAPI
KeRegisterNmiCallback(IN PNMI_CALLBACK CallbackRoutine,
IN PVOID Context)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @implemented
*/
+55
View File
@@ -260,4 +260,59 @@ KeReleaseInterruptSpinLock(IN PKINTERRUPT Interrupt,
KeLowerIrql(OldIrql);
}
/*
* @unimplemented
*/
KIRQL
FASTCALL
KeAcquireSpinLockForDpc(IN PKSPIN_LOCK SpinLock)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
VOID
FASTCALL
KeReleaseSpinLockForDpc(IN PKSPIN_LOCK SpinLock,
IN KIRQL OldIrql)
{
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
KIRQL
FASTCALL
KeAcquireInStackQueuedSpinLockForDpc(IN PKSPIN_LOCK SpinLock,
IN PKLOCK_QUEUE_HANDLE LockHandle)
{
UNIMPLEMENTED;
return 0;
}
/*
* @unimplemented
*/
VOID
FASTCALL
KeReleaseInStackQueuedSpinLockForDpc(IN PKLOCK_QUEUE_HANDLE LockHandle)
{
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
BOOLEAN
FASTCALL
KeTestSpinLock(IN PKSPIN_LOCK SpinLock)
{
UNIMPLEMENTED;
return FALSE;
}
/* EOF */
+16
View File
@@ -615,6 +615,22 @@ MmAllocatePagesForMdl(IN PHYSICAL_ADDRESS LowAddress,
return Mdl;
}
/*
* @unimplemented
*/
PMDL
NTAPI
MmAllocatePagesForMdlEx(IN PHYSICAL_ADDRESS LowAddress,
IN PHYSICAL_ADDRESS HighAddress,
IN PHYSICAL_ADDRESS SkipBytes,
IN SIZE_T Totalbytes,
IN MEMORY_CACHING_TYPE CacheType,
IN ULONG Flags)
{
UNIMPLEMENTED;
return NULL;
}
/*
* @implemented
*/
+14 -14
View File
@@ -388,7 +388,7 @@ IoDisconnectInterrupt@4
IoDriverObjectType DATA
IoEnqueueIrp@4
IoEnumerateDeviceObjectList@16
;IoEnumerateRegisteredFiltersList
IoEnumerateRegisteredFiltersList@12
IoFastQueryNetworkAttributes@20
IoFileObjectType=_IoFileObjectType
IoForwardAndCatchIrp@8=IoForwardIrpSynchronously@8
@@ -416,7 +416,7 @@ IoGetDriverObjectExtension@8
IoGetFileObjectGenericMapping@0
IoGetInitialStack@0
IoGetLowerDeviceObject@4
;IoGetPagingIoPriority
IoGetPagingIoPriority@4
IoGetRelatedDeviceObject@4
IoGetRequestorProcess@4
IoGetRequestorProcessId@4
@@ -535,7 +535,7 @@ KdEnableDebugger@0
KdEnteredDebugger
KdPollBreakIn@0
KdPowerTransition@4
;KdRefreshDebuggerNotPresent
KdRefreshDebuggerNotPresent@0
KdSystemDebugControl@28
Ke386CallBios@8
;Ke386IoSetAccessProcess
@@ -544,10 +544,10 @@ Ke386CallBios@8
@KeAcquireGuardedMutex@4
@KeAcquireGuardedMutexUnsafe@4
@KeAcquireInStackQueuedSpinLockAtDpcLevel@8
;KeAcquireInStackQueuedSpinLockForDpc
@KeAcquireInStackQueuedSpinLockForDpc@8
KeAcquireInterruptSpinLock@4
KeAcquireSpinLockAtDpcLevel@4
;KeAcquireSpinLockForDpc
@KeAcquireSpinLockForDpc@4
KeAddSystemServiceTable@20
KeAreAllApcsDisabled@0
KeAreApcsDisabled@0
@@ -561,7 +561,7 @@ KeConnectInterrupt@4
KeDelayExecutionThread@12
KeDeregisterBugCheckCallback@4
KeDeregisterBugCheckReasonCallback@4
;KeDeregisterNmiCallback
KeDeregisterNmiCallback@4
KeDetachProcess@0
KeDisconnectInterrupt@4
KeEnterCriticalRegion@0=_KeEnterCriticalRegion@0
@@ -581,12 +581,12 @@ KeI386AllocateGdtSelectors@8
;KeI386Call16BitFunction
KeI386FlatToGdtSelector@12
;KeI386GetLid
;KeI386MachineType DATA
KeI386MachineType DATA
KeI386ReleaseGdtSelectors@8
;KeI386ReleaseLid
;KeI386SetGdtSelector
KeInitializeApc@32
;KeInitializeCrashDumpHeader
KeInitializeCrashDumpHeader@20
KeInitializeDeviceQueue@4
KeInitializeDpc@12
KeInitializeEvent@12
@@ -597,7 +597,7 @@ KeInitializeMutex@8
KeInitializeQueue@8
KeInitializeSemaphore@12
KeInitializeSpinLock@4
;KeInitializeThreadedDpc
KeInitializeThreadedDpc@12
KeInitializeTimer@4
KeInitializeTimerEx@8
KeInsertByKeyDeviceQueue@12
@@ -634,16 +634,16 @@ KeReadStateSemaphore@4
KeReadStateTimer@4
KeRegisterBugCheckCallback@20
KeRegisterBugCheckReasonCallback@16
;KeRegisterNmiCallback
KeRegisterNmiCallback@8
@KeReleaseGuardedMutex@4
@KeReleaseGuardedMutexUnsafe@4
;KeReleaseInStackQueuedSpinLockForDpc
@KeReleaseInStackQueuedSpinLockForDpc@4
@KeReleaseInStackQueuedSpinLockFromDpcLevel@4
KeReleaseInterruptSpinLock@8
KeReleaseMutant@16
KeReleaseMutex@8
KeReleaseSemaphore@16
;KeReleaseSpinLockForDpc
@KeReleaseSpinLockForDpc@8
KeReleaseSpinLockFromDpcLevel@4
KeRemoveByKeyDeviceQueue@8
KeRemoveByKeyDeviceQueueIfBusy@8
@@ -679,7 +679,7 @@ KeSetTimerEx@20
KeStackAttachProcess@8
KeSynchronizeExecution@12
KeTerminateThread@4
;KeTestSpinLock
@KeTestSpinLock@4
KeTickCount DATA
@KeTryToAcquireGuardedMutex@4
@KeTryToAcquireSpinLockAtDpcLevel@4
@@ -727,7 +727,7 @@ MmAllocateContiguousMemorySpecifyCache@32
MmAllocateMappingAddress@8
MmAllocateNonCachedMemory@4
MmAllocatePagesForMdl@28
;MmAllocatePagesForMdlEx
MmAllocatePagesForMdlEx@36
MmBuildMdlForNonPagedPool@4
MmCanFileBeTruncated@8
;MmCommitSessionMappedView