Author: fireball
Date: Wed Jul 4 17:58:30 2007
New Revision: 27385
URL: http://svn.reactos.org/svn/reactos?rev=27385&view=rev
Log:
- Correctly set DN_DRIVER_LOADED flag.
- This fixes "i8042prt/kbdclass.sys get installed one more time at each boot".
See issue #2330 for more details.
Modified:
trunk/reactos/ntoskrnl/io/iomgr/driver.c
trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/driver.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/driver.c…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/driver.c (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/driver.c Wed Jul 4 17:58:30 2007
@@ -1645,6 +1645,9 @@
goto ReleaseCapturedString;
}
}
+
+ /* We have a driver for this DeviceNode */
+ DeviceNode->Flags |= DN_DRIVER_LOADED;
}
IopInitializeDevice(DeviceNode, DriverObject);
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c Wed Jul 4 17:58:30 2007
@@ -2380,29 +2380,30 @@
if (!NT_SUCCESS(Status))
{
/* Driver is not initialized, try to load it */
- Status = IopLoadServiceModule(&DeviceNode->ServiceName, &ModuleObject);
-
- if (NT_SUCCESS(Status) || Status == STATUS_IMAGE_ALREADY_LOADED)
- {
+ Status = IopLoadServiceModule(&DeviceNode->ServiceName, &ModuleObject);
+
+ if (NT_SUCCESS(Status) || Status == STATUS_IMAGE_ALREADY_LOADED)
+ {
/* STATUS_IMAGE_ALREADY_LOADED means this driver
was loaded by the bootloader */
- if (Status != STATUS_IMAGE_ALREADY_LOADED)
- {
+ if (Status != STATUS_IMAGE_ALREADY_LOADED)
+ {
/* Initialize the driver */
- DeviceNode->Flags |= DN_DRIVER_LOADED;
- Status = IopInitializeDriverModule(DeviceNode, ModuleObject,
- &DeviceNode->ServiceName, FALSE, &DriverObject);
- }
- else
- {
+ Status = IopInitializeDriverModule(DeviceNode, ModuleObject,
+ &DeviceNode->ServiceName, FALSE, &DriverObject);
+ }
+ else
+ {
Status = STATUS_SUCCESS;
- }
+ }
}
}
/* Driver is loaded and initialized at this point */
if (NT_SUCCESS(Status))
{
+ /* We have a driver for this DeviceNode */
+ DeviceNode->Flags |= DN_DRIVER_LOADED;
/* Attach lower level filter drivers. */
IopAttachFilterDrivers(DeviceNode, TRUE);
/* Initialize the function driver for the device node */
Author: dreimer
Date: Wed Jul 4 02:00:04 2007
New Revision: 27380
URL: http://svn.reactos.org/svn/reactos?rev=27380&view=rev
Log:
- Add GDB 6.6 as new feature in the ChangeLog.txt
- Sort Stuff in the help a bit.
Modified:
trunk/tools/RosBE-Windows/Root/ChangeLog.txt
trunk/tools/RosBE-Windows/Root/Help.cmd
Modified: trunk/tools/RosBE-Windows/Root/ChangeLog.txt
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/ChangeLog…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/ChangeLog.txt (original)
+++ trunk/tools/RosBE-Windows/Root/ChangeLog.txt Wed Jul 4 02:00:04 2007
@@ -1,14 +1,15 @@
*** June 21th, 2007 - RosBE 0.3.7 Released
-- Updated: GCC 4.1.3 Build 200706XX
+- Updated: GCC 4.1.3 Build 200707XX
(Here is the reason why the installer got smaller between 0.3.6 and 0.3.7, my bins are stripped now)
-- Updated: binutils 2.17.50 Build 200706XX
+- Updated: binutils 2.17.50 Build 200707XX
- Added a SVN Client.
- Added a config.rbuild Configurator.
- Added grep/cut/sed Tools for the new Configurator.
- Added SVN 1.4.4 for the SVN Feature.
- Added RAddr2Line Tool for the Devs out there.
- Added use of ROS_LEAN_AND_MEAN by typeing "make/makex %command% strip".
+- Added GDB GNU-Debugger 6.6.
- Readded makex. Sorry, bug in Vista still persists... its a GCC bug.
*** May 21th, 2007 - RosBE 0.3.6 Released
Modified: trunk/tools/RosBE-Windows/Root/Help.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Help.cmd?…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Help.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/Help.cmd Wed Jul 4 02:00:04 2007
@@ -21,6 +21,10 @@
echo makex [OPTIONS] - Same as 'make' but automatically determines the
echo number of CPU Cores in the system and uses -j
echo with the appropriate number.
+ echo basedir - Switch back to the ReactOS source directory.
+ echo.
+ echo config [OPTIONS] - Configures the way, ReactOS will be built.
+ echo.
echo clean [logs] - Fully clean the ReactOS source directory and/or
echo the RosBE build logs.
echo help [COMMAND] - Display the available commands or help on a
@@ -31,8 +35,7 @@
echo svn [OPTIONS] - Create, Update or Clean-up your ReactOS Source
echo Tree or show the Revision Number of the Offline
echo Tree and Online HEAD Revision.
- echo config [OPTIONS] - Configures the way, ReactOS will be built.
- echo basedir - Switch back to the ReactOS source directory.
+
goto :EOF
)
if "%1" == "make" (