ReactOS
0.4.15-dev-4871-g4471ee4
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
DECLSPEC_NORETURN VOID NTAPI KeBugCheck | ( | ULONG | BugCheckCode | ) |
Definition at line 1427 of file bug.c.
Referenced by CcInitCacheZeroPage(), CcpDereferenceCache(), CcRosRequestVacb(), CcScheduleReadAhead(), ClassSendStartUnit(), ExeFmtpReadFile(), ExInitSystem(), ExpInitializeExecutive(), ExpInitNls(), FsRtlCreateSectionForDataScan(), HalpInitializeTsc(), i8042KbdInterruptService(), KdbEnterDebuggerException(), KdpCauseBugCheck(), KeDetachProcess(), Kei386EoiHelper(), KeRaiseIrqlToDpcLevel(), KeUnstackDetachProcess(), KeWaitForMultipleObjects(), KfLowerIrql(), KfRaiseIrql(), KiInitializeCpu(), KiSetAffinityThread(), KiSystemStartupBootStack(), KiThreadStartup(), KiUnexpectedInterrupt(), MiBalancerThread(), MiInitBalancerThread(), MiReadPageFile(), MiRosUnmapViewOfSection(), MiTrimMemoryConsumer(), MmAccessFaultSectionView(), MmAllocPage(), MmAllocSwapPage(), MmCreatePageFileMapping(), MmCreateVirtualMapping(), MmCreateVirtualMappingUnsafe(), MmDeleteRmap(), MmDeleteVirtualMapping(), MmFreeSwapPage(), MmInsertRmap(), MmNotPresentFaultSectionView(), MmPageOutPhysicalAddress(), MmpPageOutPhysicalAddress(), MmReleasePageMemoryConsumer(), MmRequestPageMemoryConsumer(), MmSetDirtyBit(), MmSetPageProtect(), MmSharePageEntrySectionSegment(), MmspPageAlignSegments(), MmUnsharePageEntrySectionSegment(), MmWriteToSwapPage(), MupDereferenceMasterQueryContext(), Phase1InitializationDiscard(), PpInitSystem(), PspDeleteProcess(), PspDeleteThread(), PspSystemThreadStartup(), RawDispatch(), TdiAddressSizeFromType(), USBCCGP_PDOSelectConfiguration(), UserProcessCreate(), VfatReadFileData(), VfatWriteFileData(), and xHalIoAssignDriveLetters().
DECLSPEC_NORETURN VOID NTAPI KeBugCheckEx | ( | IN ULONG | BugCheckCode, |
IN ULONG_PTR | BugCheckParameter1, | ||
IN ULONG_PTR | BugCheckParameter2, | ||
IN ULONG_PTR | BugCheckParameter3, | ||
IN ULONG_PTR | BugCheckParameter4 | ||
) |
Definition at line 514 of file bug.c.
Referenced by KeBugCheckWithTf(), KeRosDumpStackFrameArray(), and KiDisplayBlueScreen().
DECLSPEC_NORETURN VOID NTAPI KeBugCheckWithTf | ( | IN ULONG | BugCheckCode, |
IN ULONG_PTR | BugCheckParameter1, | ||
IN ULONG_PTR | BugCheckParameter2, | ||
IN ULONG_PTR | BugCheckParameter3, | ||
IN ULONG_PTR | BugCheckParameter4, | ||
IN PKTRAP_FRAME | TrapFrame | ||
) |
Definition at line 708 of file bug.c.
Referenced by KeBugCheck(), and KeBugCheckEx().
BOOLEAN NTAPI KeDeregisterBugCheckCallback | ( | IN PKBUGCHECK_CALLBACK_RECORD | CallbackRecord | ) |
Definition at line 1202 of file bug.c.
Referenced by NdisMDeregisterAdapterShutdownHandler().
BOOLEAN NTAPI KeDeregisterBugCheckReasonCallback | ( | IN PKBUGCHECK_REASON_CALLBACK_RECORD | CallbackRecord | ) |
Definition at line 1229 of file bug.c.
Definition at line 1361 of file bug.c.
Definition at line 334 of file bug.c.
Referenced by KiDisplayBlueScreen().
NTSTATUS NTAPI KeInitializeCrashDumpHeader | ( | IN ULONG | Type, |
IN ULONG | Flags, | ||
OUT PVOID | Buffer, | ||
IN ULONG | BufferSize, | ||
OUT ULONG BufferNeeded | OPTIONAL | ||
) |
BOOLEAN NTAPI KeRegisterBugCheckCallback | ( | IN PKBUGCHECK_CALLBACK_RECORD | CallbackRecord, |
IN PKBUGCHECK_CALLBACK_ROUTINE | CallbackRoutine, | ||
IN PVOID | Buffer, | ||
IN ULONG | Length, | ||
IN PUCHAR | Component | ||
) |
Definition at line 1257 of file bug.c.
Referenced by NdisMRegisterAdapterShutdownHandler().
BOOLEAN NTAPI KeRegisterBugCheckReasonCallback | ( | IN PKBUGCHECK_REASON_CALLBACK_RECORD | CallbackRecord, |
IN PKBUGCHECK_REASON_CALLBACK_ROUTINE | CallbackRoutine, | ||
IN KBUGCHECK_CALLBACK_REASON | Reason, | ||
IN PUCHAR | Component | ||
) |
Definition at line 1292 of file bug.c.
Definition at line 1327 of file bug.c.
Referenced by DriverEntry().
USHORT NTAPI KeRosCaptureUserStackBackTrace | ( | IN ULONG | FramesToSkip, |
IN ULONG | FramesToCapture, | ||
OUT PVOID * | BackTrace, | ||
OUT PULONG BackTraceHash | OPTIONAL | ||
) |
Definition at line 154 of file bug.c.
Referenced by KeRosDumpStackFrames().
Definition at line 197 of file bug.c.
Referenced by KeRosDumpStackFrames().
Definition at line 258 of file bug.c.
Definition at line 489 of file bug.c.
Referenced by KeBugCheckWithTf(), and KeEnterKernelDebugger().
VOID NTAPI KiDisplayBlueScreen | ( | IN ULONG | MessageId, |
IN BOOLEAN | IsHardError, | ||
IN PCHAR HardErrCaption | OPTIONAL, | ||
IN PCHAR HardErrMessage | OPTIONAL, | ||
IN PCHAR | Message | ||
) |
Definition at line 608 of file bug.c.
Referenced by KeBugCheckWithTf().
Definition at line 432 of file bug.c.
Referenced by KeBugCheckWithTf().
VOID NTAPI KiDumpParameterImages | ( | IN PCHAR | Message, |
IN PULONG_PTR | Parameters, | ||
IN ULONG | ParameterCount, | ||
IN PKE_BUGCHECK_UNICODE_TO_ANSI | ConversionRoutine | ||
) |
Definition at line 538 of file bug.c.
Referenced by KeBugCheckWithTf(), and KiDisplayBlueScreen().
Definition at line 296 of file bug.c.
Referenced by ExpInitializeExecutive().
PVOID NTAPI KiPcToFileHeader | ( | IN PVOID | Pc, |
OUT PLDR_DATA_TABLE_ENTRY * | LdrEntry, | ||
IN BOOLEAN | DriversOnly, | ||
OUT PBOOLEAN | InKernel | ||
) |
Definition at line 40 of file bug.c.
Referenced by KeBugCheckWithTf(), KeRosDumpStackFrameArray(), KiDumpParameterImages(), and RtlPcToFileHeader().
Definition at line 105 of file bug.c.
Referenced by KeRosDumpStackFrameArray().
KSPIN_LOCK BugCheckCallbackLock |
Definition at line 20 of file bug.c.
Referenced by KiInitializeKernel(), and KiInitSystem().
ULONG KeBugCheckActive |
Definition at line 21 of file bug.c.
Referenced by KeBugCheckWithTf().
LIST_ENTRY KeBugcheckCallbackListHead |
Definition at line 18 of file bug.c.
Referenced by KeRegisterBugCheckCallback(), KiDoBugCheckCallbacks(), KiInitializeKernel(), and KiInitSystem().
ULONG KeBugCheckCount = 1 |
Definition at line 24 of file bug.c.
Referenced by KeBugCheckWithTf(), and KeEnterKernelDebugger().
ULONG KeBugCheckOwner |
Definition at line 21 of file bug.c.
Referenced by KeBugCheckWithTf().
LONG KeBugCheckOwnerRecursionCount |
Definition at line 22 of file bug.c.
Referenced by KeBugCheckWithTf().
LIST_ENTRY KeBugcheckReasonCallbackListHead |
Definition at line 19 of file bug.c.
Referenced by KeRegisterBugCheckReasonCallback(), KiInitializeKernel(), and KiInitSystem().
UNICODE_STRING KeRosBiosDate |
Definition at line 33 of file bug.c.
Referenced by CmpInitializeMachineDependentConfiguration().
UNICODE_STRING KeRosBiosVersion |
Definition at line 33 of file bug.c.
Referenced by CmpInitializeMachineDependentConfiguration().
UNICODE_STRING KeRosProcessorName |
Definition at line 33 of file bug.c.
Referenced by CmpInitializeMachineDependentConfiguration().
UNICODE_STRING KeRosVideoBiosDate |
Definition at line 34 of file bug.c.
Referenced by CmpInitializeMachineDependentConfiguration().
UNICODE_STRING KeRosVideoBiosVersion |
Definition at line 34 of file bug.c.
Referenced by CmpInitializeMachineDependentConfiguration().
ULONG_PTR KiBugCheckData[5] |
Definition at line 27 of file bug.c.
Referenced by AuxKlibGetBugCheckData(), FindBitmapResource(), HalHandleNMI(), KeBugCheckWithTf(), KiDisplayBlueScreen(), NmiClearFlag(), and NmiDbgCallback().
PUNICODE_STRING KiBugCheckDriver |
Definition at line 26 of file bug.c.
Referenced by KeBugCheckWithTf(), KiDisplayBlueScreen(), and KiDumpParameterImages().
PMESSAGE_RESOURCE_DATA KiBugCodeMessages |
Definition at line 23 of file bug.c.
Referenced by KeGetBugMessageText(), and KiInitializeBugCheck().
ULONG KiHardwareTrigger |
Definition at line 25 of file bug.c.
Referenced by KeBugCheckWithTf(), and KeEnterKernelDebugger().
PKNMI_HANDLER_CALLBACK KiNmiCallbackListHead = NULL |
Definition at line 29 of file bug.c.
Referenced by KeDeregisterNmiCallback(), KeRegisterNmiCallback(), and KiHandleNmi().
KSPIN_LOCK KiNmiCallbackListLock |
Definition at line 30 of file bug.c.
Referenced by KiAcquireNmiListLock(), and KiReleaseNmiListLock().