]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2004 - 2006, Intel Corporation \r | |
4 | All rights reserved. This program and the accompanying materials \r | |
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 | EfiSpec.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | EFI master include file.\r | |
19 | \r | |
20 | This is the main include file for EFI components. There should be\r | |
21 | no defines or macros added to this file, other than the EFI version \r | |
22 | information already in this file.\r | |
23 | \r | |
24 | Don't add include files to the list for convenience, only add things\r | |
25 | that are architectural. Don't add Protocols or GUID include files here\r | |
26 | \r | |
27 | --*/\r | |
28 | \r | |
29 | #ifndef _EFI_SPEC_H_\r | |
30 | #define _EFI_SPEC_H_\r | |
31 | \r | |
32 | #include "EfiCommon.h"\r | |
33 | #include "EfiApi.h"\r | |
34 | #include "EfiDevicePath.h"\r | |
35 | \r | |
36 | //\r | |
37 | // Check to make sure EFI_SPECIFICATION_VERSION and TIANO_RELEASE_VERSION are defined.\r | |
38 | //\r | |
39 | #if !defined(EFI_SPECIFICATION_VERSION)\r | |
40 | #error EFI_SPECIFICATION_VERSION not defined\r | |
41 | #elif !defined(TIANO_RELEASE_VERSION)\r | |
42 | #error TIANO_RELEASE_VERSION not defined\r | |
43 | #elif (TIANO_RELEASE_VERSION == 0)\r | |
44 | //\r | |
45 | // UEFI mode with no Tiano extensions is legal\r | |
46 | //\r | |
47 | #elif ((TIANO_RELEASE_VERSION < 0x00080005) && (EFI_SPECIFICATION_VERSION >= 0x00020000))\r | |
48 | #error Illegal combination of EFI_SPECIFICATION_VERSION and TIANO_RELEASE_VERSION versions\r | |
49 | #endif\r | |
50 | \r | |
51 | #endif\r |