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... ============================================================================== --- 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,