mirror of
https://github.com/reactos/reactos.git
synced 2025-06-24 22:09:48 +00:00
add ReactOS (RosDbg) option to freeldr and use it as default for unattended installs
svn path=/trunk/; revision=36253
This commit is contained in:
parent
fa462c13fd
commit
43aead0a4e
1 changed files with 39 additions and 3 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue