Make TAB+ debug combos work again. Based on bugfix by Andrew Munger.
authorAlex Ionescu <aionescu@gmail.com>
Fri, 23 Sep 2005 06:32:47 +0000 (06:32 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Fri, 23 Sep 2005 06:32:47 +0000 (06:32 +0000)
svn path=/trunk/; revision=18001

reactos/bootdata/hivesys.inf
reactos/drivers/input/i8042prt/keyboard.c

index d6fa598..8f8a7e0 100644 (file)
@@ -487,6 +487,7 @@ HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt","ErrorControl",0x00010001,0x00
 HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt","Group",0x00000000,"Keyboard Port"
 HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt","Start",0x00010001,0x00000001
 HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt","Type",0x00010001,0x00000001
+HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","BreakOnSysRq",0x00010001,0x00000001
 ;HKLM,"SYSTEM\CurrentControlSet\Enum\ACPI\PNP0303\0000","Service",0x00000000,"i8042prt"
 ;HKLM,"SYSTEM\CurrentControlSet\Enum\ACPI\PNP0303\0000","ClassGUID",0x00000000,"{4D36E96B-E325-11CE-BFC1-08002BE10318}"
 ;HKLM,"SYSTEM\CurrentControlSet\Enum\ACPI\PNP0F13\0000","Service",0x00000000,"i8042prt"
index 02bb4aa..b76d84a 100644 (file)
@@ -730,6 +730,6 @@ static VOID STDCALL I8042DebugWorkItem(PDEVICE_OBJECT DeviceObject,
        /* We hope kernel would understand this. If
         * that's not the case, nothing would happen.
         */
-       KdpServiceDispatcher(TAG('R', 'o', 's', ' '), EnterDebugger, NULL);
+       KdpServiceDispatcher(TAG('R', 'o', 's', ' '), (PVOID)Key, NULL);
 #endif /* __REACTOS__ */
 }