DBG=0 fixes, patch by Physicus.

svn path=/trunk/; revision=23691
This commit is contained in:
Andrew Munger 2006-08-24 18:48:15 +00:00
parent 3dd85ba73d
commit d43585136b
3 changed files with 7 additions and 2 deletions

View file

@ -6059,7 +6059,10 @@ ehci_isr(PKINTERRUPT interrupt, PVOID context)
{
PEHCI_DEV ehci;
ULONG status, urb_count;
ULONG status;
#ifdef DBG
ULONG urb_count;
#endif
PLIST_ENTRY pthis, pnext;
PURB purb;
BOOLEAN door_bell_rings;

View file

@ -3771,9 +3771,9 @@ generic_start_io(IN PDEVICE_OBJECT dev_obj, IN PIRP irp)
NTSTATUS
DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath)
{
#if DBG
NTSTATUS ntStatus = STATUS_SUCCESS;
#if DBG
// should be done before any debug output is done.
// read our debug verbosity level from the registry
//NetacOD_GetRegistryDword( NetacOD_REGISTRY_PARAMETERS_PATH, //absolute registry path

View file

@ -566,7 +566,9 @@ _KiUnexpectedInterrupt&Number:
jnz 6f
/* Assert the trap frame */
#endif
5:
#ifdef DBG
sub dword ptr [esp+KTRAP_FRAME_DEBUGARGMARK], 0xBADB0D00
//jnz 0f // FIXME: ROS IS BROKEN