]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Include/Tiano.h
Program SD Cards into 4-bit mode (support for this is required in the spec). This...
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Include / Tiano.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 Tiano.h
15
16 Abstract:
17
18 Tiano master include file.
19
20 This is the main include file for Tiano components.
21
22 Don't add include files to the list for convenience, only add things
23 that are architectural. Don't add Protocols or GUID include files here
24
25 --*/
26
27 #ifndef _TIANO_H_
28 #define _TIANO_H_
29
30 //
31 // Check to make sure EFI_SPECIFICATION_VERSION and TIANO_RELEASE_VERSION are defined.
32 //
33 #if !defined(EFI_SPECIFICATION_VERSION)
34 #error EFI_SPECIFICATION_VERSION not defined
35 #elif !defined(TIANO_RELEASE_VERSION)
36 #error TIANO_RELEASE_VERSION not defined
37 #elif (TIANO_RELEASE_VERSION == 0)
38 #error TIANO_RELEASE_VERSION can not be zero
39 #elif (EFI_SPECIFICATION_VERSION <= 0x00020000)
40 #define TIANO_EXTENSION_FLAG
41 #endif
42
43 #include "TianoCommon.h"
44 #include "TianoApi.h"
45 #include "EfiDebug.h"
46 #include "TianoDevicePath.h"
47 #include "EfiSpec.h"
48
49 //
50 // EFI Revision information
51 //
52 #define EFI_FIRMWARE_MAJOR_REVISION 0x1000
53 #define EFI_FIRMWARE_MINOR_REVISION 1
54 #define EFI_FIRMWARE_REVISION ((EFI_FIRMWARE_MAJOR_REVISION << 16) | (EFI_FIRMWARE_MINOR_REVISION))
55
56 #endif