]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
8598a1ed | 3 | Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r |
f57387d5 | 4 | This program and the accompanying materials \r |
3eb9473e | 5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | TianoSpecError.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | Tiano error codes defined in Tiano spec.\r | |
19 | \r | |
20 | --*/\r | |
21 | \r | |
22 | #ifndef _TIANO_SPEC_ERROR_H_\r | |
23 | #define _TIANO_SPEC_ERROR_H_\r | |
24 | \r | |
4cb43192 | 25 | #include <EfiBind.h>\r |
3eb9473e | 26 | #define TIANO_ERROR(a) (MAX_2_BITS | (a))\r |
27 | \r | |
28 | //\r | |
29 | // Tiano added a couple of return types. These are owned by UEFI specification\r | |
8598a1ed | 30 | // and Tiano can not use them. Thus for UEFI 2.0 support we moved the values\r |
3eb9473e | 31 | // to a UEFI OEM extension range to conform to UEFI specification.\r |
32 | //\r | |
33 | #if (EFI_SPECIFICATION_VERSION < 0x00020000)\r | |
34 | #define EFI_NOT_AVAILABLE_YET EFIERR (28)\r | |
35 | #define EFI_UNLOAD_IMAGE EFIERR (29)\r | |
36 | #else\r | |
37 | #define EFI_NOT_AVAILABLE_YET TIANO_ERROR (0)\r | |
38 | #define EFI_UNLOAD_IMAGE TIANO_ERROR (1)\r | |
39 | #endif\r | |
40 | \r | |
41 | #endif\r |