mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
use bugcheck macros where appropriate so users have a better idea of why they crashed.
svn path=/trunk/; revision=9317
This commit is contained in:
parent
85f77bb306
commit
60676825a8
5 changed files with 13 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: ide.c,v 1.60 2004/02/10 16:22:55 navaraf Exp $
|
||||
/* $Id: ide.c,v 1.61 2004/05/07 05:12:10 royce Exp $
|
||||
*
|
||||
* IDE.C - IDE Disk driver
|
||||
* written by Rex Jolliff
|
||||
|
@ -1576,7 +1576,7 @@ STDCALL IDEStartIo(IN PDEVICE_OBJECT DeviceObject,
|
|||
default:
|
||||
Irp->IoStatus.Status = STATUS_NOT_SUPPORTED;
|
||||
Irp->IoStatus.Information = 0;
|
||||
KeBugCheck((ULONG)Irp);
|
||||
KEBUGCHECK((ULONG)Irp);
|
||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||
IoStartNextPacket(DeviceObject, FALSE);
|
||||
break;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "jsconfig.h"
|
||||
|
||||
void __kernel_abort() {
|
||||
KeBugCheck(0);
|
||||
KEBUGCHECK(0);
|
||||
}
|
||||
|
||||
void _assert( const char *expr, const char *file, int line ) {
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
/*
|
||||
* $Source: /cygdrive/c/RCVS/CVS/ReactOS/reactos/lib/kjs/ksrc/js.c,v $
|
||||
* $Id: js.c,v 1.1 2004/01/10 20:38:17 arty Exp $
|
||||
* $Id: js.c,v 1.2 2004/05/07 05:12:10 royce Exp $
|
||||
*/
|
||||
|
||||
#include "js.h"
|
||||
|
@ -226,7 +226,7 @@ js_create_interp (JSInterpOptions *options, PKJS kjs)
|
|||
options->stacktrace_on_error,
|
||||
s_stdin, s_stdout, s_stderr);
|
||||
if (interp->vm == NULL)
|
||||
KeBugCheck(0);
|
||||
KEBUGCHECK(0);
|
||||
|
||||
/* Set some options. */
|
||||
interp->vm->warn_undef = options->warn_undef;
|
||||
|
@ -253,17 +253,17 @@ js_create_interp (JSInterpOptions *options, PKJS kjs)
|
|||
/* Define compiler to the virtual machine. */
|
||||
bc = js_bc_read_data (js_compiler_bytecode, js_compiler_bytecode_len);
|
||||
if (bc == NULL)
|
||||
KeBugCheck(0);
|
||||
KEBUGCHECK(0);
|
||||
|
||||
result = js_vm_execute (interp->vm, bc);
|
||||
js_bc_free (bc);
|
||||
if (!result)
|
||||
KeBugCheck(0);
|
||||
KEBUGCHECK(0);
|
||||
}
|
||||
|
||||
/* Initialize our extensions. */
|
||||
if (!js_define_module (interp, js_core_globals))
|
||||
KeBugCheck(0);
|
||||
KEBUGCHECK(0);
|
||||
|
||||
/* Ok, we'r done. */
|
||||
return interp;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: inbv.c,v 1.6 2004/01/20 21:08:40 navaraf Exp $
|
||||
/* $Id: inbv.c,v 1.7 2004/05/07 05:12:10 royce Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -121,7 +121,7 @@ InbvEnableBootDriver(IN BOOLEAN Enable)
|
|||
sizeof(BootVidFunctionTable));
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
KeBugCheck(0);
|
||||
KEBUGCHECK(0);
|
||||
}
|
||||
BootVidDriverInstalled = TRUE;
|
||||
CHECKPOINT;
|
||||
|
@ -140,7 +140,7 @@ InbvEnableBootDriver(IN BOOLEAN Enable)
|
|||
0);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
KeBugCheck(0);
|
||||
KEBUGCHECK(0);
|
||||
}
|
||||
BootVidDriverInstalled = FALSE;
|
||||
/* Notify the hal we have released the display. */
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: catch.c,v 1.41 2004/03/13 18:21:57 dwelch Exp $
|
||||
/* $Id: catch.c,v 1.42 2004/05/07 05:12:10 royce Exp $
|
||||
*
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: ntoskrnl/ke/catch.c
|
||||
|
@ -169,7 +169,7 @@ KiDispatchException(PEXCEPTION_RECORD ExceptionRecord,
|
|||
{
|
||||
DPRINT("ExceptionRecord->ExceptionAddress = 0x%x\n",
|
||||
ExceptionRecord->ExceptionAddress );
|
||||
KeBugCheckWithTf(KMODE_EXCEPTION_NOT_HANDLED, 0, 0, 0, 0, Tf);
|
||||
KEBUGCHECKWITHTF(KMODE_EXCEPTION_NOT_HANDLED, 0, 0, 0, 0, Tf);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue