[ISAPNP] Start the driver early in the boot

Because our child devices can have boot-start drivers
This commit is contained in:
Dmitry Borisov 2021-05-12 00:11:48 +06:00
parent adac7dc2e5
commit 18b4cc1479
4 changed files with 13 additions and 1 deletions

View file

@ -20,6 +20,9 @@ HKLM,"SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\*PNP0A08","ClassGU
HKLM,"SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\PCI#CC_0604","Service",0x00000000,"pci"
HKLM,"SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\PCI#CC_0604","ClassGUID",0x00000000,"{4D36E97D-E325-11CE-BFC1-08002BE10318}"
HKLM,"SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\PCI#CC_0601","Service",0x00000000,"isapnp"
HKLM,"SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\PCI#CC_0601","ClassGUID",0x00000000,"{4D36E97D-E325-11CE-BFC1-08002BE10318}"
HKLM,"SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\*PNP0C08","Service",0x00000000,"acpi"
HKLM,"SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\*PNP0C08","ClassGUID",0x00000000,"{4D36E97D-E325-11CE-BFC1-08002BE10318}"

View file

@ -100,7 +100,7 @@ c_1252.nls = 1,,,,,,,2,,,,1,2
cdfs.sys = 1,,,,,,x,4,,,,1,4
cdrom.sys = 1,,,,,,x,4,,,,1,4
classpnp.sys = 1,,,,,,,4,,,,1,4
isapnp.sys = 1,,,,,,,4,,,,1,4
isapnp.sys = 1,,,,,,x,4,,,,1,4
kdcom.dll = 1,,,,,,,2,,,,1,2
kdvbox.dll = 1,,,,,,,2,,,,1,2
disk.sys = 1,,,,,,x,4,,,,1,4

View file

@ -19,3 +19,4 @@ set_module_type(isapnp kernelmodedriver)
add_importlibs(isapnp ntoskrnl hal)
add_pch(isapnp isapnp.h SOURCE)
add_cd_file(TARGET isapnp DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_registry_inf(isapnp_reg.inf)

View file

@ -0,0 +1,8 @@
; ISA PnP Bus Driver
[AddReg]
HKLM,"SYSTEM\CurrentControlSet\Services\isapnp","ErrorControl",0x00010001,0x00000000
HKLM,"SYSTEM\CurrentControlSet\Services\isapnp","Group",0x00000000,"Boot Bus Extender"
HKLM,"SYSTEM\CurrentControlSet\Services\isapnp","ImagePath",0x00020000,"system32\drivers\isapnp.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\isapnp","Start",0x00010001,0x00000000
HKLM,"SYSTEM\CurrentControlSet\Services\isapnp","Type",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\isapnp","Tag",0x00010001,0x00000003