[NTOSKRNL] Add 'DECLSPEC_NORETURN' to a few 'KeBugCheck*()' (#2896)

This commit is contained in:
Serge Gautherie 2020-06-06 17:50:14 +02:00 committed by GitHub
parent d4acd8cc91
commit 3051eb0e48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 1 deletions

View file

@ -102,6 +102,7 @@ DbgPrint (
return 0;
}
// FIXME: DECLSPEC_NORETURN
VOID
NTAPI
KeBugCheckEx(

View file

@ -706,6 +706,7 @@ KiDisplayBlueScreen(IN ULONG MessageId,
}
}
DECLSPEC_NORETURN
VOID
NTAPI
KeBugCheckWithTf(IN ULONG BugCheckCode,
@ -1403,6 +1404,7 @@ KeDeregisterNmiCallback(IN PVOID Handle)
/*
* @implemented
*/
DECLSPEC_NORETURN
VOID
NTAPI
KeBugCheckEx(IN ULONG BugCheckCode,
@ -1423,6 +1425,7 @@ KeBugCheckEx(IN ULONG BugCheckCode,
/*
* @implemented
*/
DECLSPEC_NORETURN
VOID
NTAPI
KeBugCheck(ULONG BugCheckCode)

View file

@ -81,6 +81,7 @@
IN PCUNICODE_STRING String2,
IN BOOLEAN CaseInSensitive);
// FIXME: DECLSPEC_NORETURN
VOID
NTAPI
KeBugCheckEx(

View file

@ -155,7 +155,7 @@ RtlAssert(IN PVOID FailedAssertion,
//DbgBreakPoint();
}
// DECLSPEC_NORETURN
// FIXME: DECLSPEC_NORETURN
VOID
NTAPI
KeBugCheckEx(