]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Framework/Include/TianoSpecError.h
Avoid using code name in comments.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Include / TianoSpecError.h
CommitLineData
3eb9473e 1/*++\r
2\r
8598a1ed 3Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
f57387d5 4This program and the accompanying materials \r
3eb9473e 5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 TianoSpecError.h\r
15\r
16Abstract:\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