- Define noreturn attribute for KeBugCheckWithTf and KiBugCheckDebugBreak in a msvc compatible way

svn path=/trunk/; revision=41513
This commit is contained in:
Stefan Ginsberg 2009-06-21 17:06:34 +00:00
parent 93a8c8a165
commit d3421fde4b
2 changed files with 2 additions and 2 deletions

View file

@ -790,6 +790,7 @@ KeTrapFrameToContext(
IN OUT PCONTEXT Context
);
DECLSPEC_NORETURN
VOID
NTAPI
KeBugCheckWithTf(

View file

@ -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,