]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Include/EfiSpec.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Include / EfiSpec.h
1 /*++
2
3 Copyright (c) 2004 - 2006, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 EfiSpec.h
15
16 Abstract:
17
18 EFI master include file.
19
20 This is the main include file for EFI components. There should be
21 no defines or macros added to this file, other than the EFI version
22 information already in this file.
23
24 Don't add include files to the list for convenience, only add things
25 that are architectural. Don't add Protocols or GUID include files here
26
27 --*/
28
29 #ifndef _EFI_SPEC_H_
30 #define _EFI_SPEC_H_
31
32 #include "EfiCommon.h"
33 #include "EfiApi.h"
34 #include "EfiDevicePath.h"
35
36 //
37 // Check to make sure EFI_SPECIFICATION_VERSION and TIANO_RELEASE_VERSION are defined.
38 //
39 #if !defined(EFI_SPECIFICATION_VERSION)
40 #error EFI_SPECIFICATION_VERSION not defined
41 #elif !defined(TIANO_RELEASE_VERSION)
42 #error TIANO_RELEASE_VERSION not defined
43 #elif (TIANO_RELEASE_VERSION == 0)
44 //
45 // UEFI mode with no Tiano extensions is legal
46 //
47 #elif ((TIANO_RELEASE_VERSION < 0x00080005) && (EFI_SPECIFICATION_VERSION >= 0x00020000))
48 #error Illegal combination of EFI_SPECIFICATION_VERSION and TIANO_RELEASE_VERSION versions
49 #endif
50
51 #endif