]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - ShellPkg/Include/Protocol/EfiShellParameters.h
Fix the issue that accessing for unaligned address break IPF
[mirror_edk2.git] / ShellPkg / Include / Protocol / EfiShellParameters.h
... / ...
CommitLineData
1/** @file\r
2 EFI Shell protocol as defined in the UEFI Shell 2.0 specification.\r
3 \r
4 Copyright (c) 2006 - 2009, Intel Corporation \r
5 All rights reserved. This program and the accompanying materials \r
6 are licensed and made available under the terms and conditions of the BSD License \r
7 which accompanies this distribution. The full text of the license may be found at \r
8 http://opensource.org/licenses/bsd-license.php \r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
12\r
13**/\r
14\r
15#ifndef __EFI_SHELL_PARAMETERS_PROTOCOL__\r
16#define __EFI_SHELL_PARAMETERS_PROTOCOL__\r
17\r
18#define EFI_SHELL_PARAMETERS_PROTOCOL_GUID \\r
19 { \\r
20 0x752f3136, 0x4e16, 0x4fdc, { 0xa2, 0x2a, 0xe5, 0xf4, 0x68, 0x12, 0xf4, 0xca } \\r
21 }\r
22\r
23typedef struct _EFI_SHELL_PARAMETERS_PROTOCOL {\r
24 ///\r
25 /// Points to an Argc-element array of points to null-terminated strings containing\r
26 /// the command-line parameters. The first entry in the array is always the full file\r
27 /// path of the executable. Any quotation marks that were used to preserve\r
28 /// whitespace have been removed.\r
29 ///\r
30 CHAR16 **Argv;\r
31\r
32 ///\r
33 /// The number of elements in the Argv array.\r
34 /// \r
35 UINTN Argc;\r
36\r
37 ///\r
38 /// The file handle for the standard input for this executable. This may be different\r
39 /// from the ConInHandle in the EFI_SYSTEM_TABLE.\r
40 ///\r
41 EFI_FILE_HANDLE StdIn;\r
42\r
43 ///\r
44 /// The file handle for the standard output for this executable. This may be different\r
45 /// from the ConOutHandle in the EFI_SYSTEM_TABLE.\r
46 ///\r
47 EFI_FILE_HANDLE StdOut;\r
48\r
49 ///\r
50 /// The file handle for the standard error output for this executable. This may be\r
51 /// different from the StdErrHandle in the EFI_SYSTEM_TABLE.\r
52 ///\r
53 EFI_FILE_HANDLE StdErr;\r
54} EFI_SHELL_PARAMETERS_PROTOCOL;\r
55\r
56extern EFI_GUID gEfiShellParametersProtocolGuid;\r
57\r
58#endif\r