]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | EfiDefine class.\r | |
3 | \r | |
4 | EfiDefine class records the UEFI return status value.\r | |
5 | \r | |
6 | Copyright (c) 2006, Intel Corporation\r | |
7 | All rights reserved. This program and the accompanying materials\r | |
8 | are licensed and made available under the terms and conditions of the BSD License\r | |
9 | which accompanies this distribution. The full text of the license may be found at\r | |
10 | http://opensource.org/licenses/bsd-license.php\r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | package org.tianocore.framework.tasks;\r | |
18 | \r | |
19 | /**\r | |
20 | EfiDefine class.\r | |
21 | \r | |
22 | EfiDefine class records the UEFI return status value.\r | |
23 | **/\r | |
24 | public interface EfiDefine {\r | |
25 | //\r | |
26 | // EFI define Interface for define constant related to UEFI.\r | |
27 | // \r | |
28 | static final int EFI_SUCCESS = 0;\r | |
29 | static final int EFI_LOAD_ERROR = 0x80000001;\r | |
30 | static final int EFI_INVALID_PARAMETER = 0x80000002;\r | |
31 | static final int EFI_UNSUPPORTED = 0x80000003;\r | |
32 | static final int EFI_BAD_BUFFER_SIZE = 0x80000004;\r | |
33 | static final int EFI_BUFFER_TOO_SMALL = 0x80000005;\r | |
34 | static final int EFI_NOT_READY = 0x80000006;\r | |
35 | static final int EFI_DEVICE_ERROR = 0x80000007;\r | |
36 | static final int EFI_WRITE_PROTECTED = 0x80000008;\r | |
37 | static final int EFI_OUT_OF_RESOURCES = 0x80000009;\r | |
38 | static final int EFI_VOLUME_CORRUPTED = 0x8000000a;\r | |
39 | static final int EFI_VOLUME_FULL = 0x8000000b;\r | |
40 | static final int EFI_NO_MEDIA = 0x8000000c;\r | |
41 | static final int EFI_MEDIA_CHANGED = 0x8000000d;\r | |
42 | static final int EFI_NOT_FOUND = 0x8000000e;\r | |
43 | static final int EFI_ACCESS_DENIED = 0x8000000f;\r | |
44 | static final int EFI_NO_RESPONSE = 0x80000010;\r | |
45 | static final int EFI_NO_MAPPING = 0x80000011;\r | |
46 | static final int EFI_TIMEOUT = 0x80000012;\r | |
47 | static final int EFI_NOT_STARTED = 0x80000013;\r | |
48 | static final int EFI_ALREADY_STARTED = 0x80000014;\r | |
49 | static final int EFI_ABORTED = 0x80000015;\r | |
50 | static final int EFI_ICMP_ERROR = 0x80000016;\r | |
51 | static final int EFI_TFTP_ERROR = 0x80000017;\r | |
52 | static final int EFI_PROTOCOL_ERROR = 0x80000018;\r | |
53 | static final int EFI_INCOMPATIBLE_VERSION = 0x80000019;\r | |
54 | static final int EFI_SECURITY_VIOLATION = 0x80000020;\r | |
55 | static final int EFI_CRC_ERROR = 0x80000021;\r | |
56 | }\r |