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
22
23#define SHELL_INTERFACE_PROTOCOL_GUID \
24 { \
25 0x47c7b223, 0xc42a, 0x11d2, {0x8e, 0x57, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b} \
26 }
27
31typedef 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
38
42typedef struct _EFI_SHELL_ARG_INFO {
43 UINT32 Attributes;
45
49typedef struct {
55
59 CHAR16 **Argv;
60 UINTN Argc;
61
65 CHAR16 **RedirArgv;
66 UINTN RedirArgc;
67
72 EFI_FILE_PROTOCOL *StdOut;
73 EFI_FILE_PROTOCOL *StdErr;
74
79
83 BOOLEAN EchoOn;
85
86extern EFI_GUID gEfiShellInterfaceGuid;
87
88#endif
UINT64 UINTN
struct _EFI_SHELL_ARG_INFO EFI_SHELL_ARG_INFO
EFI_SHELL_ARG_INFO_TYPES
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
EFI_SHELL_ARG_INFO * ArgInfo
EFI_FILE_PROTOCOL * StdIn
Definition: Base.h:213