edkiiglueconfig.h
来自「EFI BIOS是Intel提出的下一代的BIOS标准。这里上传的Edk源代码是」· C头文件 代码 · 共 128 行
H
128 行
/*++
Copyright (c) 2004 - 2006, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name:
EdkIIGlueConfig.h
Abstract:
Configurable items provided by GlueLib
--*/
#ifndef __EDKII_GLUE_CONFIG_H__
#define __EDKII_GLUE_CONFIG_H__
//
// Glue Library version
//
// 0x3000 - the 3rd release
//
// Values:
// For reference only, don't change the value
//
#define EDKII_GLUE_LIBRARY_VERSION 0x3000
//
// Check to make sure EFI_SPECIFICATION_VERSION and TIANO_RELEASE_VERSION are defined.
//
#if !defined(EFI_SPECIFICATION_VERSION)
#error EFI_SPECIFICATION_VERSION not defined
#elif !defined(TIANO_RELEASE_VERSION)
#error TIANO_RELEASE_VERSION not defined
#elif (TIANO_RELEASE_VERSION == 0)
#error TIANO_RELEASE_VERSION can not be zero
#endif
//
// Glue Library debug flag
//
// Controls debug ON/OFF of GlueLib itself, no
// effect on any other libraries or modules
//
// Values:
// FALSE : debug off
// any TRUE value : debug on
//
#define EDKII_GLUE_LIBRARY_DEBUG_ENABLE 0
//
// max unicode string length
//
#define EDKII_GLUE_MaximumUnicodeStringLength 1000000
//
// max ascii string length
//
#define EDKII_GLUE_MaximumAsciiStringLength 1000000
//
// spin lock timeout
//
#define EDKII_GLUE_SpinLockTimeout 10000000
//
// max linked list length
//
#define EDKII_GLUE_MaximumLinkedListLength 1000000
//
// debug print level
// only when EFI_DEBUG is defined, the mask is effective
//
#define EDKII_GLUE_DebugPrintErrorLevel EFI_D_ERROR
//
// debug propery mask
// only when EFI_DEBUG is defined, the mask is effective
//
#define EDKII_GLUE_DebugPropertyMask ( DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED \
| DEBUG_PROPERTY_DEBUG_PRINT_ENABLED \
| DEBUG_PROPERTY_DEBUG_CODE_ENABLED \
| DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED \
| DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED \
| DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED \
)
//
// clear memory value
//
#define EDKII_GLUE_DebugClearMemoryValue 0xAF
//
// pci express base address
//
#define EDKII_GLUE_PciExpressBaseAddress 0xE0000000
//
// post code property mask
//
#define EDKII_GLUE_PostCodePropertyMask ( POST_CODE_PROPERTY_POST_CODE_ENABLED \
| POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED \
)
//
// status code property mask
//
#define EDKII_GLUE_ReportStatusCodePropertyMask ( REPORT_STATUS_CODE_PROPERTY_PROGRESS_CODE_ENABLED \
| REPORT_STATUS_CODE_PROPERTY_ERROR_CODE_ENABLED \
| REPORT_STATUS_CODE_PROPERTY_DEBUG_CODE_ENABLED \
)
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?