#include "exp.h"
Go to the source code of this file.
Defines | |
#define | HARDERROR_MSG_OVERHEAD (sizeof(HARDERROR_MSG) - sizeof(PORT_MESSAGE)) |
#define | HARDERROR_API_MSG_LENGTH sizeof(HARDERROR_MSG)<<16 | (HARDERROR_MSG_OVERHEAD) |
Functions | |
NTSTATUS | ExpRaiseHardError (IN NTSTATUS ErrorStatus, IN ULONG NumberOfParameters, IN ULONG UnicodeStringParameterMask, IN PULONG_PTR Parameters, IN ULONG ValidResponseOptions, OUT PULONG Response) |
VOID | ExpSystemErrorHandler (IN NTSTATUS ErrorStatus, IN ULONG NumberOfParameters, IN ULONG UnicodeStringParameterMask, IN PULONG_PTR Parameters, IN BOOLEAN CallShutdown) |
NTSTATUS | NtRaiseHardError (IN NTSTATUS ErrorStatus, IN ULONG NumberOfParameters, IN ULONG UnicodeStringParameterMask, IN PULONG_PTR Parameters, IN ULONG ValidResponseOptions, OUT PULONG Response) |
NTSTATUS | ExRaiseHardError (IN NTSTATUS ErrorStatus, IN ULONG NumberOfParameters, IN ULONG UnicodeStringParameterMask, IN PULONG_PTR Parameters, IN ULONG ValidResponseOptions, OUT PULONG Response) |
NTSTATUS | NtSetDefaultHardErrorPort (IN HANDLE DefaultHardErrorPort) |
VOID __cdecl | _purecall () |
Variables | |
ULONG | KiBugCheckData [5] |
ULONG | KeBugCheckCount |
PEPROCESS | ExpDefaultErrorPortProcess |
BOOLEAN | ExReadyForErrors = FALSE |
BOOLEAN | ExpTooLateForErrors = FALSE |
HANDLE | ExpDefaultErrorPort |
PVOID | PsSystemDllDllBase |
|
Definition at line 54 of file ex/harderr.c. Referenced by ExpRaiseHardError(). |
|
Definition at line 53 of file ex/harderr.c. |
|
Definition at line 926 of file ex/harderr.c. References ASSERTMSG, ExRaiseStatus(), and FALSE.
|
|
Definition at line 349 of file ex/harderr.c. References _EPROCESS::DefaultHardErrorProcessing, EXCEPTION_EXECUTE_HANDLER, _EPROCESS::ExceptionPort, ExpDefaultErrorPort, ExpDefaultErrorPortProcess, ExpSystemErrorHandler(), ExReadyForErrors, FALSE, HARDERROR_API_MSG_LENGTH, IS_SYSTEM_THREAD, KeQuerySystemTime(), KernelMode, KPROCESSOR_MODE, LpcRequestWaitReplyPort(), NT_ERROR, NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, PsGetCurrentProcess, PsGetCurrentThread, SeShutdownPrivilege, SeSinglePrivilegeCheck(), Status, and TRUE. Referenced by ExRaiseHardError(), and NtRaiseHardError().
|
|
Definition at line 64 of file ex/harderr.c. References ASSERT, CHAR, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), ExpSystemErrorHandler(), FALSE, KeBugCheckEx(), KeGetCurrentPrcb, KiSaveProcessorControlState(), NlsMbCodePageTag, NonPagedPool, NT_SUCCESS, NTSTATUS(), PoShutdownBugCheck(), PsSystemDllDllBase, RtlAnsiStringToUnicodeString(), RtlFindMessage(), RtlInitAnsiString(), RtlInitUnicodeString(), RtlUnicodeStringToAnsiString(), RtlUnicodeStringToOemString(), Status, strlen(), TRUE, and USHORT. Referenced by ExpRaiseHardError(), and ExpSystemErrorHandler().
|
|
Definition at line 700 of file ex/harderr.c. References Buffer, ExpRaiseHardError(), ExpTooLateForErrors, NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, and Status. Referenced by CmpDiskFullWarningWorker(), CmpInitializeHiveList(), CmpQuotaWarningWorker(), IopHardErrorThread(), IopRaiseHardError(), IopRaiseInformationalHardError(), NtRaiseHardError(), and xxxCreateThreadInfo().
|
|
Definition at line 532 of file ex/harderr.c. References DbgPrint, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), ExpRaiseHardError(), ExRaiseHardError(), KdDebuggerEnabled, KernelMode, KPROCESSOR_MODE, NTSTATUS(), NULL, PAGED_CODE, PagedPool, ProbeForRead, ProbeForWriteUlong, and Status. Referenced by LdrpCreateDllSection(), LdrpInitializationFailure(), LdrpMapDll(), LdrpSnapThunk(), PsLocateSystemDll(), and ServiceMessageBox().
|
|
Definition at line 886 of file ex/harderr.c. References ExpDefaultErrorPort, ExpDefaultErrorPortProcess, ExReadyForErrors, LpcPortObjectType, NT_SUCCESS, NTSTATUS(), NULL, ObReferenceObjectByHandle(), PAGED_CODE, PsGetCurrentProcess, SeSinglePrivilegeCheck(), SeTcbPrivilege, Status, and TRUE.
|
|
Definition at line 60 of file ex/harderr.c. Referenced by ExpRaiseHardError(), and NtSetDefaultHardErrorPort(). |
|
Definition at line 57 of file ex/harderr.c. Referenced by ExpRaiseHardError(), MiCheckForUserStackOverflow(), MiLoadImageSection(), NtSetDefaultHardErrorPort(), and NtSetInformationThread(). |
|
Definition at line 59 of file ex/harderr.c. Referenced by ExRaiseHardError(). |
|
Definition at line 58 of file ex/harderr.c. Referenced by CmpClaimGlobalQuota(), CmpDiskFullWarning(), ExpRaiseHardError(), IopHardErrorThread(), IopRaiseHardError(), IopRaiseInformationalHardError(), and NtSetDefaultHardErrorPort(). |
|
Definition at line 24 of file ex/harderr.c. Referenced by KeBugCheckEx(), and KeEnterKernelDebugger(). |
|
Definition at line 23 of file ex/harderr.c. Referenced by KeBugCheckEx(). |
|
Definition at line 61 of file ex/harderr.c. Referenced by ExpSystemErrorHandler(), and PsLocateSystemDll(). |