Author: sginsberg
Date: Sun Jun 21 21:06:34 2009
New Revision: 41513
URL:
http://svn.reactos.org/svn/reactos?rev=41513&view=rev
Log:
- Define noreturn attribute for KeBugCheckWithTf and KiBugCheckDebugBreak in a msvc
compatible way
Modified:
trunk/reactos/ntoskrnl/include/internal/ke.h
trunk/reactos/ntoskrnl/ke/bug.c
Modified: trunk/reactos/ntoskrnl/include/internal/ke.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/ke.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/ke.h [iso-8859-1] Sun Jun 21 21:06:34 2009
@@ -790,6 +790,7 @@
IN OUT PCONTEXT Context
);
+DECLSPEC_NORETURN
VOID
NTAPI
KeBugCheckWithTf(
Modified: trunk/reactos/ntoskrnl/ke/bug.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/bug.c?rev=4151…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/bug.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/bug.c [iso-8859-1] Sun Jun 21 21:06:34 2009
@@ -546,9 +546,9 @@
}
}
+DECLSPEC_NORETURN
VOID
NTAPI
-__declspec(noreturn)
KiBugCheckDebugBreak(IN ULONG StatusCode)
{
/* If KDBG isn't connected, freeze the CPU, otherwise, break */
@@ -751,7 +751,6 @@
VOID
NTAPI
-__declspec(noreturn)
KeBugCheckWithTf(IN ULONG BugCheckCode,
IN ULONG_PTR BugCheckParameter1,
IN ULONG_PTR BugCheckParameter2,