mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
- Define noreturn attribute for KeBugCheckWithTf and KiBugCheckDebugBreak in a msvc compatible way
svn path=/trunk/; revision=41513
This commit is contained in:
parent
93a8c8a165
commit
d3421fde4b
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue