[ros-diffs] [fireball] 32515: - Automatically create an entry for ntldr-style booting of ReactOS kernel in freeldr.ini. - = EXPERIMENTAL, IT WON'T WORK YET, SO DON'T COMPLAIN = -
fireball at svn.reactos.org
fireball at svn.reactos.org
Wed Feb 27 21:13:34 CET 2008
Author: fireball
Date: Wed Feb 27 23:13:34 2008
New Revision: 32515
URL: http://svn.reactos.org/svn/reactos?rev=32515&view=rev
Log:
- Automatically create an entry for ntldr-style booting of ReactOS kernel in freeldr.ini.
- = EXPERIMENTAL, IT WON'T WORK YET, SO DON'T COMPLAIN = -
Modified:
trunk/reactos/base/setup/usetup/bootsup.c
Modified: trunk/reactos/base/setup/usetup/bootsup.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/bootsup.c?rev=32515&r1=32514&r2=32515&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/bootsup.c (original)
+++ trunk/reactos/base/setup/usetup/bootsup.c Wed Feb 27 23:13:34 2008
@@ -380,6 +380,13 @@
L"ReactOS_Debug",
L"\"ReactOS (Debug)\"");
+ /* ReactOS_WinLdr="ReactOS (WinLdr)" */
+ IniCacheInsertKey(IniSection,
+ NULL,
+ INSERT_LAST,
+ L"ReactOS_WinLdr",
+ L"\"ReactOS (WinLdr)\"");
+
/* Create "ReactOS" section */
IniSection = IniCacheAppendSection(IniCache,
L"ReactOS");
@@ -415,6 +422,31 @@
INSERT_LAST,
L"BootType",
L"ReactOS");
+
+ /* SystemPath=<ArcPath> */
+ IniCacheInsertKey(IniSection,
+ NULL,
+ INSERT_LAST,
+ L"SystemPath",
+ ArcPath);
+
+ /* Options=/DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS*/
+ IniCacheInsertKey(IniSection,
+ NULL,
+ INSERT_LAST,
+ L"Options",
+ L"/DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS");
+
+ /* Create "ReactOS_WinLdr" section */
+ IniSection = IniCacheAppendSection(IniCache,
+ L"ReactOS_WinLdr");
+
+ /* BootType=ReactOS */
+ IniCacheInsertKey(IniSection,
+ NULL,
+ INSERT_LAST,
+ L"BootType",
+ L"Windows2003");
/* SystemPath=<ArcPath> */
IniCacheInsertKey(IniSection,
More information about the Ros-diffs
mailing list