]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/EdkIIGlueConfig.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Include / EdkIIGlueConfig.h
CommitLineData
3eb9473e 1/*++\r
2\r
2c7e5c2f
HT
3Copyright (c) 2004 - 2006, Intel Corporation. All rights reserved.<BR>\r
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
12\r
13Module Name:\r
14\r
15 EdkIIGlueConfig.h\r
16 \r
17Abstract: \r
18\r
19 Configurable items provided by GlueLib\r
20\r
21--*/\r
22\r
23#ifndef __EDKII_GLUE_CONFIG_H__\r
24#define __EDKII_GLUE_CONFIG_H__\r
25\r
26#include "EdkIIGlueProcessorBind.h"\r
27\r
28//\r
29// Glue Library version\r
30//\r
31// 0x3000 - the 3rd release\r
32// 0x5000 - support IPF. Jan, 2007\r
33// 0x6000 - support EBC. Feb, 2007\r
c7f33ca4 34// 0x7000 - size reduction, Jun, 2007\r
35// 0x7100 - backward compatibility supported, Jun, 2007\r
3eb9473e 36//\r
37// For reference only, don't change the value\r
38//\r
c7f33ca4 39#define EDKII_GLUE_LIBRARY_VERSION 0x7100\r
3eb9473e 40\r
41\r
42//\r
43// Check to make sure EFI_SPECIFICATION_VERSION and TIANO_RELEASE_VERSION are defined.\r
44//\r
45#if !defined(EFI_SPECIFICATION_VERSION)\r
46 #error EFI_SPECIFICATION_VERSION not defined\r
47#elif !defined(TIANO_RELEASE_VERSION)\r
48 #error TIANO_RELEASE_VERSION not defined\r
49#elif (TIANO_RELEASE_VERSION == 0)\r
50 #error TIANO_RELEASE_VERSION can not be zero\r
51#endif\r
52\r
53\r
54//\r
55// Glue Library debug flag\r
56//\r
57// Controls debug ON/OFF of GlueLib itself, no\r
58// effect on any other libraries or modules\r
59//\r
60// Values:\r
61// FALSE : debug off\r
62// any TRUE value : debug on\r
63//\r
64#define EDKII_GLUE_LIBRARY_DEBUG_ENABLE 0\r
65\r
66\r
67//\r
68// max unicode string length\r
69//\r
70#define EDKII_GLUE_MaximumUnicodeStringLength 1000000\r
71\r
72//\r
73// max ascii string length\r
74//\r
75#define EDKII_GLUE_MaximumAsciiStringLength 1000000\r
76\r
77//\r
78// spin lock timeout\r
79//\r
80#define EDKII_GLUE_SpinLockTimeout 10000000\r
81\r
82//\r
83// max linked list length\r
84//\r
85#define EDKII_GLUE_MaximumLinkedListLength 1000000\r
86\r
87//\r
88// debug print level\r
3eb9473e 89//\r
af257d50 90#define EDKII_GLUE_DebugPrintErrorLevel (EFI_D_ERROR|EFI_D_INFO)\r
3eb9473e 91\r
92//\r
93// debug propery mask\r
c7f33ca4 94//\r
95#define EDKII_GLUE_DebugPropertyMask ( DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED \\r
96 | DEBUG_PROPERTY_DEBUG_PRINT_ENABLED \\r
97 | DEBUG_PROPERTY_DEBUG_CODE_ENABLED \\r
98 | DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED \\r
c7f33ca4 99 | DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED \\r
100 )\r
3eb9473e 101\r
102//\r
103// clear memory value\r
104//\r
105#define EDKII_GLUE_DebugClearMemoryValue 0xAF\r
106\r
107//\r
204529a3 108// pci express base address.\r
109// "PCD_EDKII_GLUE_PciExpressBaseAddress" is required to be defined explicitly: \r
110// e.g. in EDK II DSC file to build EDK modules: \r
111// [BuildOptions]\r
112// *_*_*_CC_FLAGS = /D PCD_EDKII_GLUE_PciExpressBaseAddress=0xC0000000\r
3eb9473e 113//\r
af1b1036 114#ifndef EDKII_GLUE_PciExpressBaseAddress\r
204529a3 115#define EDKII_GLUE_PciExpressBaseAddress PCD_EDKII_GLUE_PciExpressBaseAddress\r
af1b1036 116#endif\r
3eb9473e 117\r
118//\r
119//\r
120// This value is FSB Clock frequency. Its unit is Hz and its \r
121// default value is 200000000, that means FSB frequency is 200Mhz.\r
122//\r
c7f33ca4 123#define EDKII_GLUE_FSBClock 200000000\r
3eb9473e 124\r
125//\r
126// post code property mask\r
127//\r
128#define EDKII_GLUE_PostCodePropertyMask ( POST_CODE_PROPERTY_POST_CODE_ENABLED \\r
c7f33ca4 129 | POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED \\r
3eb9473e 130 )\r
131\r
132//\r
133// status code property mask\r
134//\r
135#define EDKII_GLUE_ReportStatusCodePropertyMask ( REPORT_STATUS_CODE_PROPERTY_PROGRESS_CODE_ENABLED \\r
c7f33ca4 136 | REPORT_STATUS_CODE_PROPERTY_ERROR_CODE_ENABLED \\r
137 | REPORT_STATUS_CODE_PROPERTY_DEBUG_CODE_ENABLED \\r
138 )\r
3eb9473e 139\r
140//\r
141// for IPF only\r
142// The base address of IPF IO Block\r
143//\r
144#ifdef MDE_CPU_IPF\r
145#define EDKII_GLUE_IoBlockBaseAddressForIpf 0x0ffffc000000\r
146#endif\r
147\r
148#endif\r