mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:02:16 +00:00
- Automatically create an entry for ntldr-style booting of ReactOS kernel in freeldr.ini.
- = EXPERIMENTAL, IT WON'T WORK YET, SO DON'T COMPLAIN = - svn path=/trunk/; revision=32515
This commit is contained in:
parent
1d57e7d51b
commit
ce7c9d5844
1 changed files with 32 additions and 0 deletions
|
@ -380,6 +380,13 @@ CreateFreeLoaderIniForReactos(PWCHAR IniPath,
|
|||
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");
|
||||
|
@ -430,6 +437,31 @@ CreateFreeLoaderIniForReactos(PWCHAR IniPath,
|
|||
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,
|
||||
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");
|
||||
|
||||
/* Save the ini file */
|
||||
IniCacheSave(IniCache, IniPath);
|
||||
IniCacheDestroy(IniCache);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue