TianoCore EDK2
master
Loading...
Searching...
No Matches
EfiShellInterface.h
Go to the documentation of this file.
1
18
#ifndef _SHELLINTERFACE_H_
19
#define _SHELLINTERFACE_H_
20
21
#include <
Protocol/SimpleFileSystem.h
>
22
23
#define SHELL_INTERFACE_PROTOCOL_GUID \
24
{ \
25
0x47c7b223, 0xc42a, 0x11d2, {0x8e, 0x57, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b} \
26
}
27
31
typedef
enum
{
32
ARG_NO_ATTRIB = 0x0,
33
ARG_IS_QUOTED = BIT0,
34
ARG_PARTIALLY_QUOTED = BIT1,
35
ARG_FIRST_HALF_QUOTED = BIT2,
36
ARG_FIRST_CHAR_IS_ESC = BIT3
37
}
EFI_SHELL_ARG_INFO_TYPES
;
38
42
typedef
struct
_EFI_SHELL_ARG_INFO
{
43
UINT32 Attributes;
44
}
EFI_SHELL_ARG_INFO
;
45
49
typedef
struct
{
53
EFI_HANDLE
ImageHandle
;
54
EFI_LOADED_IMAGE_PROTOCOL
*Info;
55
59
CHAR16 **
Argv
;
60
UINTN
Argc;
61
65
CHAR16 **
RedirArgv
;
66
UINTN
RedirArgc;
67
71
EFI_FILE_PROTOCOL
*
StdIn
;
72
EFI_FILE_PROTOCOL
*StdOut;
73
EFI_FILE_PROTOCOL
*StdErr;
74
78
EFI_SHELL_ARG_INFO
*
ArgInfo
;
79
83
BOOLEAN
EchoOn
;
84
}
EFI_SHELL_INTERFACE
;
85
86
extern
EFI_GUID
gEfiShellInterfaceGuid;
87
88
#endif
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
EFI_SHELL_ARG_INFO
struct _EFI_SHELL_ARG_INFO EFI_SHELL_ARG_INFO
EFI_SHELL_ARG_INFO_TYPES
EFI_SHELL_ARG_INFO_TYPES
Definition:
EfiShellInterface.h:31
SimpleFileSystem.h
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
_EFI_FILE_PROTOCOL
Definition:
SimpleFileSystem.h:528
_EFI_SHELL_ARG_INFO
Definition:
EfiShellInterface.h:42
EFI_LOADED_IMAGE_PROTOCOL
Definition:
LoadedImage.h:43
EFI_SHELL_INTERFACE
Definition:
EfiShellInterface.h:49
EFI_SHELL_INTERFACE::RedirArgv
CHAR16 ** RedirArgv
Definition:
EfiShellInterface.h:65
EFI_SHELL_INTERFACE::Argv
CHAR16 ** Argv
Definition:
EfiShellInterface.h:59
EFI_SHELL_INTERFACE::EchoOn
BOOLEAN EchoOn
Definition:
EfiShellInterface.h:83
EFI_SHELL_INTERFACE::ArgInfo
EFI_SHELL_ARG_INFO * ArgInfo
Definition:
EfiShellInterface.h:78
EFI_SHELL_INTERFACE::ImageHandle
EFI_HANDLE ImageHandle
Definition:
EfiShellInterface.h:53
EFI_SHELL_INTERFACE::StdIn
EFI_FILE_PROTOCOL * StdIn
Definition:
EfiShellInterface.h:71
GUID
Definition:
Base.h:213
ShellPkg
Include
Protocol
EfiShellInterface.h
Generated on Fri Nov 15 2024 18:01:24 for TianoCore EDK2 by
1.9.6