add ReactOS (RosDbg) option to freeldr and use it as default for unattended installs

svn path=/trunk/; revision=36253
This commit is contained in:
Christoph von Wittich 2008-09-15 06:25:31 +00:00
parent fa462c13fd
commit 43aead0a4e

View file

@ -51,7 +51,7 @@ CreateCommonFreeLoaderSections(PINICACHE IniCache)
NULL,
INSERT_LAST,
L"DefaultOS",
L"ReactOS_Debug");
L"ReactOS_KdSerial");
}
else
#endif
@ -381,6 +381,13 @@ CreateFreeLoaderIniForReactos(PWCHAR IniPath,
L"\"ReactOS (Debug)\"");
#ifdef DBG
/* ReactOS_KdSerial="ReactOS (RosDbg)" */
IniCacheInsertKey(IniSection,
NULL,
INSERT_LAST,
L"ReactOS_KdSerial",
L"\"ReactOS (RosDbg)\"");
/* ReactOS_WinLdr="ReactOS (WinLdr)" */
IniCacheInsertKey(IniSection,
NULL,
@ -447,6 +454,34 @@ CreateFreeLoaderIniForReactos(PWCHAR IniPath,
L"/DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS");
#ifdef DBG
/* Create "ReactOS_KdSerial" section */
IniSection = IniCacheAppendSection(IniCache,
L"ReactOS_KdSerial");
/* BootType=ReactOS */
IniCacheInsertKey(IniSection,
NULL,
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 /KDSERIAL");
/* ------------------------------------------------------------------------------ */
/* Create "ReactOS_WinLdr" section */
IniSection = IniCacheAppendSection(IniCache,
L"ReactOS_WinLdr");
@ -472,7 +507,7 @@ CreateFreeLoaderIniForReactos(PWCHAR IniPath,
L"Options",
L"/DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS");
/* Create "ReactOS_WinLdr" section */
/* Create "ReactOS_Ram" section */
IniSection = IniCacheAppendSection(IniCache,
L"ReactOS_Ram");
@ -496,6 +531,7 @@ CreateFreeLoaderIniForReactos(PWCHAR IniPath,
INSERT_LAST,
L"Options",
L"/DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS /RDIMAGEPATH=reactos.img /RDIMAGEOFFSET=32256");
#endif
/* Save the ini file */