[NTOSKRNL]
authorCameron Gutman <aicommander@gmail.com>
Wed, 21 Apr 2010 22:33:11 +0000 (22:33 +0000)
committerCameron Gutman <aicommander@gmail.com>
Wed, 21 Apr 2010 22:33:11 +0000 (22:33 +0000)
commita31725e572e775f05e811aa9f6744e8f6021d010
tree4863a7b8cbf615ac151155f14854c2246c230ea1
parent577625f6f8dcc2bb20a2e00a24b5ebd3a5a94dea
[NTOSKRNL]
- Replace the broken CM_RESOURCE_LIST_SIZE with a better function that actually works with resource lists that have device-specific data in them (fixes missing device specific data when resources are retrieved with IoGetDeviceProperty)
- Separate the resource code out of pnpmgr.c and into pnpres.c
- Simplify resource assigning to simply calling one function, IopAssignDeviceResources, which takes care of the registry configuration, translation, etc.
- Set the DNF_NEED_ENUMERATION_ONLY flag only AFTER the device is actually started not before
- Set DNF_START_FAILED if IRP_MN_START_DEVICE fails
- Fix a bug in IoReportDetectedDevice that wrote the AllocConfig value to wrong place

svn path=/trunk/; revision=46983
reactos/ntoskrnl/include/internal/io.h
reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
reactos/ntoskrnl/io/pnpmgr/pnpreport.c
reactos/ntoskrnl/io/pnpmgr/pnpres.c [new file with mode: 0644]
reactos/ntoskrnl/ntoskrnl-generic.rbuild