]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Include/ShellBase.h
Fix GUID format
[mirror_edk2.git] / ShellPkg / Include / ShellBase.h
CommitLineData
e7d41e18 1/** @file\r
2 Root include file for Shell Package modules that utilize the SHELL_RETURN type\r
3\r
4Copyright (c), 2009, Intel Corporation<BR>\r
5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15typedef enum {\r
16///\r
17/// The operation completed successfully.\r
18///\r
19SHELL_SUCCESS = 0,\r
20\r
21///\r
22/// The image failed to load.\r
23///\r
24SHELL_LOAD_ERROR = 1,\r
25\r
26///\r
27/// The parameter was incorrect.\r
28///\r
29SHELL_INVALID_PARAMETER = 2,\r
30\r
31///\r
32/// The operation is not supported.\r
33///\r
34SHELL_UNSUPPORTED = 3,\r
35\r
36///\r
37/// The buffer was not the proper size for the request.\r
38///\r
39SHELL_BAD_BUFFER_SIZE = 4,\r
40\r
41///\r
42/// The buffer was not large enough to hold the requested data.\r
43/// The required buffer size is returned in the appropriate\r
44/// parameter when this error occurs.\r
45///\r
46SHELL_BUFFER_TOO_SMALL = 5,\r
47\r
48///\r
49/// There is no data pending upon return.\r
50///\r
51SHELL_NOT_READY = 6,\r
52\r
53///\r
54/// The physical device reported an error while attempting the\r
55/// operation.\r
56///\r
57SHELL_DEVICE_ERROR = 7,\r
58\r
59///\r
60/// The device can not be written to.\r
61///\r
62SHELL_WRITE_PROTECTED = 8,\r
63\r
64///\r
65/// The resource has run out.\r
66///\r
67SHELL_OUT_OF_RESOURCES = 9,\r
68\r
69///\r
70/// An inconsistency was detected on the file system causing the \r
71/// operation to fail.\r
72///\r
73SHELL_VOLUME_CORRUPTED = 10,\r
74\r
75///\r
76/// There is no more space on the file system.\r
77///\r
78SHELL_VOLUME_FULL = 11,\r
79\r
80///\r
81/// The device does not contain any medium to perform the \r
82/// operation.\r
83///\r
84SHELL_NO_MEDIA = 12,\r
85\r
86///\r
87/// The medium in the device has changed since the last\r
88/// access.\r
89///\r
90SHELL_MEDIA_CHANGED = 13,\r
91\r
92///\r
93/// The item was not found.\r
94///\r
95SHELL_NOT_FOUND = 14,\r
96\r
97///\r
98/// Access was denied.\r
99///\r
100SHELL_ACCESS_DENIED = 15,\r
101\r
102// note the skipping of 16 and 17\r
103\r
104///\r
105/// A timeout time expired.\r
106///\r
107SHELL_TIMEOUT = 18,\r
108\r
109///\r
110/// The protocol has not been started.\r
111///\r
112SHELL_NOT_STARTED = 19,\r
113\r
114///\r
115/// The protocol has already been started.\r
116///\r
117SHELL_ALREADY_STARTED = 20,\r
118\r
119///\r
120/// The operation was aborted.\r
121///\r
122SHELL_ABORTED = 21,\r
123\r
124// note the skipping of 22, 23, and 24\r
125\r
126///\r
127/// A function encountered an internal version that was\r
128/// incompatible with a version requested by the caller.\r
129///\r
130SHELL_INCOMPATIBLE_VERSION = 25,\r
131\r
132///\r
133/// The function was not performed due to a security violation.\r
134///\r
135SHELL_SECURITY_VIOLATION = 26,\r
136\r
137///\r
138/// A CRC error was detected.\r
139///\r
140SHELL_CRC_ERROR = 27\r
141}SHELL_STATUS;\r
142\r