mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +00:00
DBG=0 fixes, patch by Physicus.
svn path=/trunk/; revision=23691
This commit is contained in:
parent
3dd85ba73d
commit
d43585136b
|
@ -6059,7 +6059,10 @@ ehci_isr(PKINTERRUPT interrupt, PVOID context)
|
||||||
{
|
{
|
||||||
|
|
||||||
PEHCI_DEV ehci;
|
PEHCI_DEV ehci;
|
||||||
ULONG status, urb_count;
|
ULONG status;
|
||||||
|
#ifdef DBG
|
||||||
|
ULONG urb_count;
|
||||||
|
#endif
|
||||||
PLIST_ENTRY pthis, pnext;
|
PLIST_ENTRY pthis, pnext;
|
||||||
PURB purb;
|
PURB purb;
|
||||||
BOOLEAN door_bell_rings;
|
BOOLEAN door_bell_rings;
|
||||||
|
|
|
@ -3771,9 +3771,9 @@ generic_start_io(IN PDEVICE_OBJECT dev_obj, IN PIRP irp)
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath)
|
DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath)
|
||||||
{
|
{
|
||||||
|
#if DBG
|
||||||
NTSTATUS ntStatus = STATUS_SUCCESS;
|
NTSTATUS ntStatus = STATUS_SUCCESS;
|
||||||
|
|
||||||
#if DBG
|
|
||||||
// should be done before any debug output is done.
|
// should be done before any debug output is done.
|
||||||
// read our debug verbosity level from the registry
|
// read our debug verbosity level from the registry
|
||||||
//NetacOD_GetRegistryDword( NetacOD_REGISTRY_PARAMETERS_PATH, //absolute registry path
|
//NetacOD_GetRegistryDword( NetacOD_REGISTRY_PARAMETERS_PATH, //absolute registry path
|
||||||
|
|
|
@ -566,7 +566,9 @@ _KiUnexpectedInterrupt&Number:
|
||||||
jnz 6f
|
jnz 6f
|
||||||
|
|
||||||
/* Assert the trap frame */
|
/* Assert the trap frame */
|
||||||
|
#endif
|
||||||
5:
|
5:
|
||||||
|
#ifdef DBG
|
||||||
sub dword ptr [esp+KTRAP_FRAME_DEBUGARGMARK], 0xBADB0D00
|
sub dword ptr [esp+KTRAP_FRAME_DEBUGARGMARK], 0xBADB0D00
|
||||||
//jnz 0f // FIXME: ROS IS BROKEN
|
//jnz 0f // FIXME: ROS IS BROKEN
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue