30 "Safe Mode with Networking",
31 "Safe Mode with Command Prompt",
35 "Enable Boot Logging",
37 "Last Known Good Configuration",
38 "Directory Services Restore Mode",
44 "Start ReactOS normally",
45#ifdef HAS_OPTION_MENU_EDIT_CMDLINE
46 "Edit Boot Command Line (F10)",
48#ifdef HAS_OPTION_MENU_CUSTOM_BOOT
51#ifdef HAS_OPTION_MENU_REBOOT
58 "Acceptable syntax: [level1]#channel1[,[level2]#channel2]\n"
59 "level can be one of: trace,warn,fixme,err\n"
60 " if the level is omitted all levels\n"
61 " are enabled for the specified channel\n"
62 "# can be either + or -\n"
63 "channel can be one of the following:\n"
64 " all,warning,memory,filesystem,inifile,ui,disk,cache,registry,\n"
65 " reactos,linux,hwdetect,windows,peloader,scsiport,heap\n"
67 " trace+windows,trace+reactos\n"
68 " +hwdetect,err-disk\n"
70 "NOTE: all letters must be lowercase, no spaces allowed.";
94 ULONG SelectedMenuItem;
95 CHAR DebugChannelString[100];
114 switch (SelectedMenuItem)
146 DebugChannelString[0] = 0;
149 sizeof(DebugChannelString) /
sizeof(DebugChannelString[0])))
163#ifdef HAS_OPTION_MENU_EDIT_CMDLINE
165 EditOperatingSystemEntry(OperatingSystem);
168#ifdef HAS_OPTION_MENU_CUSTOM_BOOT
173#ifdef HAS_OPTION_MENU_REBOOT
269 DbgPrint(
"Last known good configuration is not supported yet!\n");
char * strcat(char *DstString, const char *SrcString)
#define DbgParseDebugChannels(val)
BOOLEAN UiEditBox(PCSTR MessageText, PCHAR EditTextBuffer, ULONG Length)
BOOLEAN UiDisplayMenu(IN PCSTR MenuHeader, IN PCSTR MenuFooter OPTIONAL, IN BOOLEAN ShowBootOptions, 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 UiDrawText(_In_ ULONG X, _In_ ULONG Y, _In_ PCSTR Text, _In_ UCHAR Attr)
#define ATTR(cFore, cBack)
VOID UiDrawBackdrop(VOID)
static BOOLEAN DebuggingMode
VOID DoOptionsMenu(IN OperatingSystemItem *OperatingSystem)
VOID DisplayBootTimeOptions(VOID)
@ DIRECTORY_SERVICES_RESTORE_MODE
@ SAFE_MODE_WITH_COMMAND_PROMPT
@ LAST_KNOWN_GOOD_CONFIGURATION
@ SAFE_MODE_WITH_NETWORKING
VOID AppendBootTimeOptions(PCHAR BootOptions)
static BOOLEAN BootLogging
static enum BootOption BootOptionChoice
VOID OptionMenuCustomBoot(VOID)
VOID OptionMenuReboot(VOID)