27{
30
31
33
34
35 for (;;)
36 {
37
38 DbgPrint(
"\n*** Assertion failed: %s%s\n"
39 "*** Source File: %s, line %lu\n\n",
41 (
PSTR)FailedAssertion,
44
45
47 {
49 }
50
51
52 DbgPrompt(
"Break repeatedly, break Once, Ignore, "
53 "terminate Process or terminate Thread (boipt)? ",
57 {
58
59 case 'B': case 'b':
60 case 'O': case 'o':
62
65 break;
66
67
68
69 case 'I': case 'i':
70 return;
71
72
73 case 'P': case 'p':
75 break;
76
77
78 case 'T': case 't':
80 break;
81
82
83 default:
84 break;
85 }
86 }
87
88
91}
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 LineNumber
static const WCHAR Message[]
#define FLG_DISABLE_DEBUG_PROMPTS
NTSYSAPI void WINAPI DbgBreakPoint(void)
NTSYSAPI ULONG WINAPI RtlGetNtGlobalFlags(void)
NTSYSAPI NTSTATUS NTAPI ZwTerminateThread(_In_ HANDLE ThreadHandle, _In_ NTSTATUS ExitStatus)
DECLSPEC_NORETURN NTSYSAPI VOID NTAPI RtlRaiseStatus(_In_ NTSTATUS Status)
NTSYSAPI ULONG NTAPI DbgPrompt(_In_z_ PCCH Prompt, _Out_writes_bytes_(MaximumResponseLength) PCH Response, _In_ ULONG MaximumResponseLength)
NTSYSAPI VOID NTAPI RtlCaptureContext(_Out_ PCONTEXT ContextRecord)
#define STATUS_ASSERTION_FAILURE
#define STATUS_UNSUCCESSFUL
_In_ WDFIOTARGET _In_ _Strict_type_match_ WDF_IO_TARGET_SENT_IO_ACTION Action
#define ZwCurrentThread()
#define ZwCurrentProcess()