mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
- Define noreturn attribute for KeBugCheckWithTf and KiBugCheckDebugBreak in a msvc compatible way
svn path=/trunk/; revision=41513
This commit is contained in:
@@ -790,6 +790,7 @@ KeTrapFrameToContext(
|
||||
IN OUT PCONTEXT Context
|
||||
);
|
||||
|
||||
DECLSPEC_NORETURN
|
||||
VOID
|
||||
NTAPI
|
||||
KeBugCheckWithTf(
|
||||
|
||||
@@ -546,9 +546,9 @@ KiDoBugCheckCallbacks(VOID)
|
||||
}
|
||||
}
|
||||
|
||||
DECLSPEC_NORETURN
|
||||
VOID
|
||||
NTAPI
|
||||
__declspec(noreturn)
|
||||
KiBugCheckDebugBreak(IN ULONG StatusCode)
|
||||
{
|
||||
/* If KDBG isn't connected, freeze the CPU, otherwise, break */
|
||||
@@ -751,7 +751,6 @@ KiDisplayBlueScreen(IN ULONG MessageId,
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
__declspec(noreturn)
|
||||
KeBugCheckWithTf(IN ULONG BugCheckCode,
|
||||
IN ULONG_PTR BugCheckParameter1,
|
||||
IN ULONG_PTR BugCheckParameter2,
|
||||
|
||||
Reference in New Issue
Block a user