23#ifdef HAS_OPTION_MENU_EDIT_CMDLINE
24 "Edit Boot Command Line (F10)",
26#ifdef HAS_OPTION_MENU_CUSTOM_BOOT
29#ifdef HAS_OPTION_MENU_REBOOT
35 "Enable FreeLdr debug channels\n"
36 "Acceptable syntax: [level1]#channel1[,[level2]#channel2]\n"
37 "level can be one of: trace,warn,fixme,err\n"
38 " if the level is omitted all levels\n"
39 " are enabled for the specified channel\n"
40 "# can be either + or -\n"
41 "channel can be one of the following:\n"
42 " all,warning,memory,filesystem,inifile,ui,disk,cache,registry,\n"
43 " reactos,linux,hwdetect,windows,peloader,scsiport,heap\n"
45 " trace+windows,trace+reactos\n"
46 " +hwdetect,err-disk\n"
48 "NOTE: all letters must be lowercase, no spaces allowed.";
56 ULONG SelectedMenuItem = 0;
63 OperatingSystem ?
NULL :
"Press ESC to reboot.",
75 switch (SelectedMenuItem)
79 CHAR DebugChannelString[100] =
"";
91#ifdef HAS_OPTION_MENU_EDIT_CMDLINE
94 EditOperatingSystemEntry(OperatingSystem);
97#ifdef HAS_OPTION_MENU_CUSTOM_BOOT
102#ifdef HAS_OPTION_MENU_REBOOT
118 if (!OperatingSystem->AdvBootOptsDesc[0])
124 OperatingSystem->AdvBootOptsDesc,
#define DbgParseDebugChannels(val)
BOOLEAN UiEditBox(PCSTR MessageText, PCHAR EditTextBuffer, ULONG Length)
VOID UiDrawText(_In_ ULONG X, _In_ ULONG Y, _In_ PCSTR Text, _In_ UCHAR Attr)
VOID UiDrawBackdrop(ULONG DrawHeight)
#define ATTR(cFore, cBack)
UCHAR UiGetMenuBgColor(VOID)
ULONG UiGetScreenHeight(VOID)
BOOLEAN UiDisplayMenu(IN PCSTR MenuHeader, IN PCSTR MenuFooter OPTIONAL, IN PCSTR MenuItemList[], IN ULONG MenuItemCount, IN ULONG DefaultMenuItem, IN LONG MenuTimeOut, OUT PULONG SelectedMenuItem, IN BOOLEAN CanEscape, IN UiMenuKeyPressFilterCallback KeyPressFilter OPTIONAL, IN PVOID Context OPTIONAL)
VOID FreeLdrSetupMenu(_In_opt_ OperatingSystemItem *OperatingSystem)
static PCSTR OptionsMenuList[]
VOID DisplayBootTimeOptions(_In_ OperatingSystemItem *OperatingSystem)
VOID OptionMenuCustomBoot(VOID)
VOID OptionMenuReboot(VOID)