- Disable the 1st stage user-mode PnP manager because it is creating incomplete registry keys which is confusing the real user-mode PnP manager and preventing devices installed in 1st stage from appearing in device manager
- Fixes displaying PCI bus controllers in device manager
- I need to discuss with Herve what should be done with this code

svn path=/trunk/; revision=51947
This commit is contained in:
Cameron Gutman
2011-05-27 03:40:22 +00:00
parent 2b5e8a3588
commit 6b41510d8b
+6 -1
View File
@@ -3776,10 +3776,14 @@ RunUSetup(VOID)
INPUT_RECORD Ir;
PAGE_NUMBER Page;
LARGE_INTEGER Time;
NTSTATUS Status;
// NTSTATUS Status;
NtQuerySystemTime(&Time);
#if 0 /* This minimal PnP implementation causes problems because it writes
* half complete registry entries which cause devices installed by this
* method (PCI) to be improperly installed and not recognized by device manager
*/
Status = RtlCreateUserThread(NtCurrentProcess(),
NULL,
TRUE,
@@ -3791,6 +3795,7 @@ RunUSetup(VOID)
&hPnpThread,
NULL);
if (!NT_SUCCESS(Status))
#endif
hPnpThread = INVALID_HANDLE_VALUE;
if (!CONSOLE_Init())