10#ifndef _SHELL_INTERNAL_HEADER_
11#define _SHELL_INTERNAL_HEADER_
54extern CONST CHAR16 mNoNestingEnvVarName[];
55extern CONST CHAR16 mNoNestingTrue[];
56extern CONST CHAR16 mNoNestingFalse[];
92 UINTN VisibleRowNumber;
93 UINTN OriginalVisibleRowNumber;
100 BOOLEAN PageBreakEnabled;
101 BOOLEAN RootShellInstance;
148 IN OUT CHAR16 **CmdLine
316 IN SHELL_FILE_HANDLE Handle,
333 IN SHELL_FILE_HANDLE Handle OPTIONAL,
351 IN CONST CHAR16 *CharacterList,
352 IN CONST CHAR16 EscapeCharacter
EFI_STATUS TrimSpaces(IN CHAR16 **String)
EFI_STATUS SetBuiltInAlias(VOID)
EFI_STATUS DoShellPrompt(VOID)
EFI_STATUS RunScriptFile(IN CONST CHAR16 *ScriptPath, IN SHELL_FILE_HANDLE Handle OPTIONAL, IN CONST CHAR16 *CmdLine, IN EFI_SHELL_PARAMETERS_PROTOCOL *ParamProtocol)
EFI_STATUS RunShellCommand(IN CONST CHAR16 *CmdLine, OUT EFI_STATUS *CommandStatus)
VOID RestoreBufferList(IN OUT LIST_ENTRY *OldBufferList)
EFI_STATUS GetDevicePathsForImageAndFile(IN OUT EFI_DEVICE_PATH_PROTOCOL **DevPath, IN OUT EFI_DEVICE_PATH_PROTOCOL **FilePath)
VOID AddLineToCommandHistory(IN CONST CHAR16 *Buffer)
EFI_STATUS SetLastError(IN CONST SHELL_STATUS ErrorCode)
EFI_STATUS RunCommand(IN CONST CHAR16 *CmdLine)
VOID * AddBufferToFreeList(VOID *Buffer)
EFI_STATUS ProcessCommandLine(VOID)
EFI_STATUS RunScriptFileHandle(IN SHELL_FILE_HANDLE Handle, IN CONST CHAR16 *Name)
EFI_STATUS DoStartupScript(IN EFI_DEVICE_PATH_PROTOCOL *ImagePath, IN EFI_DEVICE_PATH_PROTOCOL *FilePath)
VOID SaveBufferList(OUT LIST_ENTRY *OldBufferList)
CONST CHAR16 * FindFirstCharacter(IN CONST CHAR16 *String, IN CONST CHAR16 *CharacterList, IN CONST CHAR16 EscapeCharacter)
EFI_STATUS ProcessCommandLineToFinal(IN OUT CHAR16 **CmdLine)
UINT32 NoInterrupt
Was "-nointerrupt" found on command line.
UINT32 NoMap
Was "-nomap" found on command line.
UINT32 NoConsoleOut
Was "-noconsoleout" found on command line.
UINT32 NoConsoleIn
Was "-noconsolein" found on command line.
UINT32 Exit
Was "-_exit" found on command line.
UINT32 NoNest
Was "-nonest" found on command line.
UINT32 Delay
Was "-delay[:n] found on command line.
UINT32 Reserved
Extra bits.
UINT32 Startup
Was "-startup" found on command line.
UINT32 NoStartup
Was "-nostartup" found on command line.
UINT32 NoVersion
Was "-noversion" found on command line.
UINTN LogScreenCount
How many screens of log information to save.
VOID * CtrlCNotifyHandle3
The NotifyHandle returned from SimpleTextInputEx.RegisterKeyNotify.
SPLIT_LIST SplitList
List of Splits in FILO stack.
EFI_SHELL_PARAMETERS_PROTOCOL * OldShellParameters
old shell parameters to reinstall upon exiting.
EFI_DEVICE_PATH_PROTOCOL * FileDevPath
DevicePath for ourselves.
BUFFER_LIST BufferToFreeList
List of buffers that were returned to the user to free.
VOID * CtrlCNotifyHandle4
The NotifyHandle returned from SimpleTextInputEx.RegisterKeyNotify.
BOOLEAN HaltOutput
TRUE to start a CTRL-S halt.
EFI_DEVICE_PATH_PROTOCOL * ImageDevPath
DevicePath for ourselves.
VOID * CtrlCNotifyHandle1
The NotifyHandle returned from SimpleTextInputEx.RegisterKeyNotify.
EFI_HII_HANDLE HiiHandle
Handle from HiiLib.
VOID * CtrlSNotifyHandle4
The NotifyHandle returned from SimpleTextInputEx.RegisterKeyNotify.
VOID * CtrlCNotifyHandle2
The NotifyHandle returned from SimpleTextInputEx.RegisterKeyNotify.
VOID * CtrlSNotifyHandle2
The NotifyHandle returned from SimpleTextInputEx.RegisterKeyNotify.
EFI_EVENT UserBreakTimer
Timer event for polling for CTRL-C.
SHELL_PROTOCOL_HANDLE_LIST OldShellList
List of other instances to reinstall when closing.
VOID * CtrlSNotifyHandle3
The NotifyHandle returned from SimpleTextInputEx.RegisterKeyNotify.
VOID * CtrlSNotifyHandle1
The NotifyHandle returned from SimpleTextInputEx.RegisterKeyNotify.
CONSOLE_LOGGER_PRIVATE_DATA * ConsoleInfo
Pointer for ConsoleInformation.
CHAR16 * FileOptions
Options to pass to FileName.
UINTN Delay
Seconds of delay default:5.
CHAR16 * FileName
Filename to run upon successful initialization.
BOOLEAN InsertMode
Is the current typing mode insert (FALSE = overwrite).
SHELL_FILE_HANDLE SplitStdIn
ConsoleIn for use in the split.
SHELL_FILE_HANDLE SplitStdOut
ConsoleOut for use in the split.
LIST_ENTRY Link
Standard linked list handler.