From: Hermès Bélusca-Maïto Date: Fri, 28 Sep 2012 19:04:37 +0000 (+0000) Subject: [BOOTDATA] X-Git-Tag: backups/ros-csrss@57560~142 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=12d697145f5c6378917b2738d2b1fd833fd58175 [BOOTDATA] - Revert rev.57413. Indeed, when one boots ReactOS without debugging (selecting the first entry in the boot menu), the COM1 symbolic link (corresponding to \Device\Serial0) is created automatically by the serial driver. However, when one boots in debugging mode (selecting the second entry -- ReactOS (Debug) --), then for some reason the COM1 link isn't created (albeit \Device\Serial0 is). Therefore the real problem is elsewhere. Seems that it has something to share with http://jira.reactos.org/browse/CORE-4263 svn path=/trunk/; revision=57414 --- diff --git a/reactos/boot/bootdata/hivesys_amd64.inf b/reactos/boot/bootdata/hivesys_amd64.inf index f78d7175975..f7acfc789c0 100644 --- a/reactos/boot/bootdata/hivesys_amd64.inf +++ b/reactos/boot/bootdata/hivesys_amd64.inf @@ -1192,10 +1192,6 @@ HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager","ObjectDirectories",0x00 ; DOS devices HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","AUX",0x00000000,"\DosDevices\COM1" -;; ReactOS specific - add a symbolic link to the first COM port, because it happens for whatever -;; reason that the serial.sys driver doesn't create it when it creates the Serial0 device. -;; When this functionality is repaired, the following line shall disappear. -HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","COM1",0x00000000,"\Device\Serial0" HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","MAILSLOT",0x00000000,"\Device\MailSlot" HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","NUL",0x00000000,"\Device\Null" HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","PIPE",0x00000000,"\Device\NamedPipe" diff --git a/reactos/boot/bootdata/hivesys_arm.inf b/reactos/boot/bootdata/hivesys_arm.inf index 05263713a73..db9989956fb 100644 --- a/reactos/boot/bootdata/hivesys_arm.inf +++ b/reactos/boot/bootdata/hivesys_arm.inf @@ -747,10 +747,6 @@ HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager","ObjectDirectories",0x00 ; DOS devices HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","AUX",0x00000000,"\DosDevices\COM1" -;; ReactOS specific - add a symbolic link to the first COM port, because it happens for whatever -;; reason that the serial.sys driver doesn't create it when it creates the Serial0 device. -;; When this functionality is repaired, the following line shall disappear. -HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","COM1",0x00000000,"\Device\Serial0" HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","MAILSLOT",0x00000000,"\Device\MailSlot" HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","NUL",0x00000000,"\Device\Null" HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","PIPE",0x00000000,"\Device\NamedPipe" diff --git a/reactos/boot/bootdata/hivesys_i386.inf b/reactos/boot/bootdata/hivesys_i386.inf index f78d7175975..f7acfc789c0 100644 --- a/reactos/boot/bootdata/hivesys_i386.inf +++ b/reactos/boot/bootdata/hivesys_i386.inf @@ -1192,10 +1192,6 @@ HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager","ObjectDirectories",0x00 ; DOS devices HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","AUX",0x00000000,"\DosDevices\COM1" -;; ReactOS specific - add a symbolic link to the first COM port, because it happens for whatever -;; reason that the serial.sys driver doesn't create it when it creates the Serial0 device. -;; When this functionality is repaired, the following line shall disappear. -HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","COM1",0x00000000,"\Device\Serial0" HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","MAILSLOT",0x00000000,"\Device\MailSlot" HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","NUL",0x00000000,"\Device\Null" HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","PIPE",0x00000000,"\Device\NamedPipe"