11#ifndef _SHELL_PROTOCOL_HEADER_
12#define _SHELL_PROTOCOL_HEADER_
23#define SHELL_MAP_FLAGS_CONSIST BIT1
213 IN EFI_SHELL_DEVICE_NAME_FLAGS Flags,
215 OUT CHAR16 **BestDeviceName
237 OUT SHELL_FILE_HANDLE *FileHandle
260 OUT SHELL_FILE_HANDLE *FileHandle
292 OUT SHELL_FILE_HANDLE *FileHandle,
294 IN UINT64 Attributes OPTIONAL
337 IN UINT64 FileAttribs,
338 OUT SHELL_FILE_HANDLE *FileHandle
397 OUT SHELL_FILE_HANDLE *FileHandle,
462 IN CONST CHAR16 *CommandLine OPTIONAL,
463 IN CONST CHAR16 **Environment OPTIONAL,
502 IN CHAR16 *CommandLine OPTIONAL,
503 IN CHAR16 **Environment OPTIONAL,
570 IN CONST SHELL_FILE_HANDLE Handle,
590 IN SHELL_FILE_HANDLE FileDirHandle,
713 IN CONST CHAR16 *FileSystemMapping OPTIONAL
742 IN CONST CHAR16 *FileSystem OPTIONAL,
775 IN CONST CHAR16 *Sections OPTIONAL,
776 OUT CHAR16 **HelpText
828 OUT BOOLEAN *Volatile OPTIONAL
850 IN CONST CHAR16 *Alias OPTIONAL,
878 IN CONST CHAR16 *Alias OPTIONAL,
EFI_STATUS CleanUpShellProtocol(IN OUT EFI_SHELL_PROTOCOL *NewShell)
CONST CHAR16 *EFIAPI EfiShellGetMapFromDevicePath(IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath)
BOOLEAN EFIAPI EfiShellBatchIsActive(VOID)
BOOLEAN EFIAPI EfiShellGetPageBreak(VOID)
EFI_STATUS EFIAPI EfiShellOpenFileList(IN CHAR16 *Path, IN UINT64 OpenMode, IN OUT EFI_SHELL_FILE_INFO **FileList)
VOID InternalFreeShellFileInfoNode(IN EFI_SHELL_FILE_INFO *FileListNode)
EFI_STATUS EFIAPI NotificationFunction(IN EFI_KEY_DATA *KeyData)
CONST CHAR16 *EFIAPI EfiShellGetEnv(IN CONST CHAR16 *Name)
EFI_STATUS EFIAPI EfiShellRemoveDupInFileList(IN EFI_SHELL_FILE_INFO **FileList)
VOID EFIAPI EfiShellEnablePageBreak(VOID)
EFI_STATUS EFIAPI EfiShellCreateFile(IN CONST CHAR16 *FileName, IN UINT64 FileAttribs, OUT SHELL_FILE_HANDLE *FileHandle)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI EfiShellGetDevicePathFromFilePath(IN CONST CHAR16 *Path)
EFI_STATUS EFIAPI EfiShellDeleteFileByName(IN CONST CHAR16 *FileName)
CONST EFI_DEVICE_PATH_PROTOCOL *EFIAPI EfiShellGetDevicePathFromMap(IN CONST CHAR16 *Mapping)
EFI_STATUS InternalSetAlias(IN CONST CHAR16 *Command, IN CONST CHAR16 *Alias OPTIONAL, IN BOOLEAN Volatile)
VOID FreeShellFileInfoNode(IN EFI_SHELL_FILE_INFO *FileListNode)
CHAR16 *EFIAPI EfiShellGetFilePathFromDevicePath(IN CONST EFI_DEVICE_PATH_PROTOCOL *Path)
VOID EFIAPI EfiShellDisablePageBreak(VOID)
EFI_SHELL_FILE_INFO * CreateAndPopulateShellFileInfo(IN CONST CHAR16 *BasePath, IN CONST EFI_STATUS Status, IN CONST CHAR16 *FileName, IN CONST SHELL_FILE_HANDLE Handle, IN CONST EFI_FILE_INFO *Info)
EFI_STATUS EFIAPI EfiShellSetCurDir(IN CONST CHAR16 *FileSystem OPTIONAL, IN CONST CHAR16 *Dir)
EFI_STATUS EFIAPI EfiShellOpenFileByName(IN CONST CHAR16 *FileName, OUT SHELL_FILE_HANDLE *FileHandle, IN UINT64 OpenMode)
EFI_STATUS EFIAPI EfiShellSetEnv(IN CONST CHAR16 *Name, IN CONST CHAR16 *Value, IN BOOLEAN Volatile)
EFI_STATUS EFIAPI EfiShellOpenRootByHandle(IN EFI_HANDLE DeviceHandle, OUT SHELL_FILE_HANDLE *FileHandle)
BOOLEAN EFIAPI EfiShellIsRootShell(VOID)
EFI_STATUS EFIAPI EfiShellExecute(IN EFI_HANDLE *ParentImageHandle, IN CHAR16 *CommandLine OPTIONAL, IN CHAR16 **Environment OPTIONAL, OUT EFI_STATUS *StatusCode OPTIONAL)
EFI_STATUS EFIAPI EfiShellFreeFileList(IN EFI_SHELL_FILE_INFO **FileList)
EFI_STATUS EFIAPI EfiShellFindFilesInDir(IN SHELL_FILE_HANDLE FileDirHandle, OUT EFI_SHELL_FILE_INFO **FileList)
CONST CHAR16 *EFIAPI EfiShellGetCurDir(IN CONST CHAR16 *FileSystemMapping OPTIONAL)
EFI_STATUS InternalShellExecuteDevicePath(IN CONST EFI_HANDLE *ParentImageHandle, IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN CONST CHAR16 *CommandLine OPTIONAL, IN CONST CHAR16 **Environment OPTIONAL, OUT EFI_STATUS *StartImageStatus OPTIONAL)
EFI_STATUS InternalEfiShellSetEnv(IN CONST CHAR16 *Name, IN CONST CHAR16 *Value, IN BOOLEAN Volatile)
EFI_STATUS EFIAPI EfiShellGetDeviceName(IN EFI_HANDLE DeviceHandle, IN EFI_SHELL_DEVICE_NAME_FLAGS Flags, IN CHAR8 *Language, OUT CHAR16 **BestDeviceName)
EFI_STATUS InternalOpenFileDevicePath(IN OUT EFI_DEVICE_PATH_PROTOCOL *DevicePath2, OUT SHELL_FILE_HANDLE *FileHandle, IN UINT64 OpenMode, IN UINT64 Attributes OPTIONAL)
EFI_STATUS EFIAPI EfiShellSetAlias(IN CONST CHAR16 *Command, IN CONST CHAR16 *Alias OPTIONAL, IN BOOLEAN Replace, IN BOOLEAN Volatile)
EFI_STATUS EFIAPI EfiShellGetHelpText(IN CONST CHAR16 *Command, IN CONST CHAR16 *Sections OPTIONAL, OUT CHAR16 **HelpText)
EFI_STATUS EFIAPI EfiShellFindFiles(IN CONST CHAR16 *FilePattern, OUT EFI_SHELL_FILE_INFO **FileList)
EFI_STATUS CreatePopulateInstallShellProtocol(IN OUT EFI_SHELL_PROTOCOL **NewShell)
EFI_STATUS InernalEfiShellStartMonitor(VOID)
EFI_STATUS EFIAPI EfiShellSetMap(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL, IN CONST CHAR16 *Mapping)
EFI_STATUS EFIAPI EfiShellOpenRoot(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, OUT SHELL_FILE_HANDLE *FileHandle)
CONST CHAR16 *EFIAPI EfiShellGetAlias(IN CONST CHAR16 *Command, OUT BOOLEAN *Volatile OPTIONAL)
EFI_STATUS CleanUpShellEnvironment(IN OUT EFI_SHELL_PROTOCOL *NewShell)