diff options
Diffstat (limited to 'EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd')
9 files changed, 393 insertions, 0 deletions
diff --git a/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcd.h b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcd.h new file mode 100644 index 0000000..238d37e --- /dev/null +++ b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcd.h @@ -0,0 +1,42 @@ +/*++ + +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: + + EdkIIGluePcd.h + +Abstract: + + Fixed-at-build PCD macro expansion definitions + +--*/ + +#ifndef __EDKII_GLUE_PCD_H__ +#define __EDKII_GLUE_PCD_H__ + +// +// Redefine Pcd functions into compile time hardcoded values +// +#define FixedPcdGet8(TokenName) __EDKII_GLUE_PCD_##TokenName##__ +#define FixedPcdGet16(TokenName) __EDKII_GLUE_PCD_##TokenName##__ +#define FixedPcdGet32(TokenName) __EDKII_GLUE_PCD_##TokenName##__ +#define FixedPcdGet64(TokenName) __EDKII_GLUE_PCD_##TokenName##__ +#define FixedPcdGetBool(TokenName) __EDKII_GLUE_PCD_##TokenName##__ + +#define PcdGet8(TokenName) __EDKII_GLUE_PCD_##TokenName##__ +#define PcdGet16(TokenName) __EDKII_GLUE_PCD_##TokenName##__ +#define PcdGet32(TokenName) __EDKII_GLUE_PCD_##TokenName##__ +#define PcdGet64(TokenName) __EDKII_GLUE_PCD_##TokenName##__ +#define PcdGetPtr(TokenName) __EDKII_GLUE_PCD_##TokenName##__ +#define PcdGetBool(TokenName) __EDKII_GLUE_PCD_##TokenName##__ + +#endif diff --git a/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdBaseLib.h b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdBaseLib.h new file mode 100644 index 0000000..3047ae2 --- /dev/null +++ b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdBaseLib.h @@ -0,0 +1,52 @@ +/*++ + +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: + + EdkIIGluePcdBaseLib.h + +Abstract: + + PCD vadues for library customization + +--*/ + +#ifndef __EDKII_GLUE_PCD_BASE_LIB_H__ +#define __EDKII_GLUE_PCD_BASE_LIB_H__ + +// +// Following Pcd values are hard coded at compile time. +// Override these through compiler option "/D" in PlatformTools.env if needed +// + +#ifndef __EDKII_GLUE_PCD_PcdMaximumUnicodeStringLength__ +#define __EDKII_GLUE_PCD_PcdMaximumUnicodeStringLength__ EDKII_GLUE_MaximumUnicodeStringLength +#endif + +#ifndef __EDKII_GLUE_PCD_PcdMaximumAsciiStringLength__ +#define __EDKII_GLUE_PCD_PcdMaximumAsciiStringLength__ EDKII_GLUE_MaximumAsciiStringLength +#endif + +// +// SpinLock Pcds +// +#ifndef __EDKII_GLUE_PCD_PcdSpinLockTimeout__ +#define __EDKII_GLUE_PCD_PcdSpinLockTimeout__ EDKII_GLUE_SpinLockTimeout +#endif + +// Linked List +#ifndef __EDKII_GLUE_PCD_PcdMaximumLinkedListLength__ +#define __EDKII_GLUE_PCD_PcdMaximumLinkedListLength__ EDKII_GLUE_MaximumLinkedListLength +#endif + +#include "Pcd/EdkIIGluePcd.h" +#endif diff --git a/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdDebugLib.h b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdDebugLib.h new file mode 100644 index 0000000..44431c4 --- /dev/null +++ b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdDebugLib.h @@ -0,0 +1,50 @@ +/*++ + +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: + + EdkIIGluePcdDebugLib.h + +Abstract: + + PCD values for library customization + +--*/ + +#ifndef __EDKII_GLUE_PCD_DEBUG_LIB_H__ +#define __EDKII_GLUE_PCD_DEBUG_LIB_H__ + +// +// Following Pcd values are hard coded at compile time. +// Override these through compiler option "/D" in PlatformTools.env if needed +// + + +// +// Debug Pcds +// +#ifndef __EDKII_GLUE_PCD_PcdDebugPrintErrorLevel__ +#define __EDKII_GLUE_PCD_PcdDebugPrintErrorLevel__ EdkIIGlueGetDebugPrintErrorLevel() +#endif + + +#ifndef __EDKII_GLUE_PCD_PcdDebugPropertyMask__ +#define __EDKII_GLUE_PCD_PcdDebugPropertyMask__ EDKII_GLUE_DebugPropertyMask +#endif + + +#ifndef __EDKII_GLUE_PCD_PcdDebugClearMemoryValue__ +#define __EDKII_GLUE_PCD_PcdDebugClearMemoryValue__ EDKII_GLUE_DebugClearMemoryValue +#endif + +#include "Pcd/EdkIIGluePcd.h" +#endif diff --git a/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdIoLib.h b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdIoLib.h new file mode 100644 index 0000000..320073d --- /dev/null +++ b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdIoLib.h @@ -0,0 +1,42 @@ +/*++ + +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: + + EdkIIGluePcdIoLib.h + +Abstract: + + PCD values for library customization + +--*/ + +#ifndef __EDKII_GLUE_PCD_IO_LIB_H__ +#define __EDKII_GLUE_PCD_IO_LIB_H__ + +// +// Following Pcd values are hard coded at compile time. +// Override these through compiler option "/D" in PlatformTools.env if needed +// + + +// +// IoBlockBaseAddressForIpf Pcd +// +#ifdef MDE_CPU_IPF +#ifndef __EDKII_GLUE_PCD_PcdIoBlockBaseAddressForIpf__ +#define __EDKII_GLUE_PCD_PcdIoBlockBaseAddressForIpf__ EDKII_GLUE_IoBlockBaseAddressForIpf +#endif +#endif + +#include "Pcd/EdkIIGluePcd.h" +#endif diff --git a/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdPciExpressLib.h b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdPciExpressLib.h new file mode 100644 index 0000000..3d7392d --- /dev/null +++ b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdPciExpressLib.h @@ -0,0 +1,40 @@ +/*++ + +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: + + EdkIIGluePcdPciExpressLib.h + +Abstract: + + PCD values for library customization + +--*/ + +#ifndef __EDKII_GLUE_PCD_PCI_EXPRESS_LIB_H__ +#define __EDKII_GLUE_PCD_PCI_EXPRESS_LIB_H__ + +// +// Following Pcd values are hard coded at compile time. +// Override these through compiler option "/D" in PlatformTools.env if needed +// + + +// +// PciExpress Pcds +// +#ifndef __EDKII_GLUE_PCD_PcdPciExpressBaseAddress__ +#define __EDKII_GLUE_PCD_PcdPciExpressBaseAddress__ EDKII_GLUE_PciExpressBaseAddress +#endif + +#include "Pcd/EdkIIGluePcd.h" +#endif diff --git a/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdPerformanceLib.h b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdPerformanceLib.h new file mode 100644 index 0000000..d2599ea --- /dev/null +++ b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdPerformanceLib.h @@ -0,0 +1,47 @@ +/*++ + +Copyright (c) 2011, 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: + + EdkIIGluePcdPerformanceLib.h + +Abstract: + + PCD values for library customization + +--*/ + +#ifndef __EDKII_GLUE_PCD_PERFORMANCE_LIB_H__ +#define __EDKII_GLUE_PCD_PERFORMANCE_LIB_H__ + +// +// Following Pcd values are hard coded at compile time. +// Override these through compiler option "/D" in PlatformTools.env if needed +// + +// +// Performance Lib Pcds +// +#ifndef __EDKII_GLUE_PCD_PlatformInfoMsr__ +#define __EDKII_GLUE_PCD_PlatformInfoMsr__ EDKII_GLUE_PlatformInfoMsr +#endif + +#ifndef __EDKII_GLUE_PCD_XAPICBaseMsr__ +#define __EDKII_GLUE_PCD_XAPICBaseMsr__ EDKII_GLUE_XAPICBaseMsr +#endif + +#ifndef __EDKII_GLUE_PCD_ExtXAPICLogicalAPICIdMsr__ +#define __EDKII_GLUE_PCD_ExtXAPICLogicalAPICIdMsr__ EDKII_GLUE_ExtXAPICLogicalAPICIdMsr +#endif + +#include "Pcd/EdkIIGluePcd.h" +#endif diff --git a/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdPostCodeLib.h b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdPostCodeLib.h new file mode 100644 index 0000000..6314f3d --- /dev/null +++ b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdPostCodeLib.h @@ -0,0 +1,40 @@ +/*++ + +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: + + EdkIIGluePcdPostCodeLib.h + +Abstract: + + PCD values for library customization + +--*/ + +#ifndef __EDKII_GLUE_PCD_POST_CODE_LIB_H__ +#define __EDKII_GLUE_PCD_POST_CODE_LIB_H__ + +// +// Following Pcd values are hard coded at compile time. +// Override these through compiler option "/D" in PlatformTools.env if needed +// + +// +// PostCode Pcds +// +#ifndef __EDKII_GLUE_PCD_PcdPostCodePropertyMask__ +#define __EDKII_GLUE_PCD_PcdPostCodePropertyMask__ EDKII_GLUE_PostCodePropertyMask +#endif + +#include "Pcd/EdkIIGluePcd.h" + +#endif diff --git a/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdReportStatusCodeLib.h b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdReportStatusCodeLib.h new file mode 100644 index 0000000..25481a4 --- /dev/null +++ b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdReportStatusCodeLib.h @@ -0,0 +1,40 @@ +/*++ + +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: + + EdkIIGluePcdReportStatusCodeLib.h + +Abstract: + + Pcd values for library customization + +--*/ + +#ifndef __EDKII_GLUE_PCD_REPORT_STATUS_CODE_LIB_H__ +#define __EDKII_GLUE_PCD_REPORT_STATUS_CODE_LIB_H__ + +// +// Following Pcd values are hard coded at compile time. +// Override these through compiler option "/D" in PlatformTools.env if needed +// + +// +// ReportStatusCode Pcds +// +#ifndef __EDKII_GLUE_PCD_PcdReportStatusCodePropertyMask__ +#define __EDKII_GLUE_PCD_PcdReportStatusCodePropertyMask__ EDKII_GLUE_ReportStatusCodePropertyMask +#endif + +#include "Pcd/EdkIIGluePcd.h" + +#endif diff --git a/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdTimerLib.h b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdTimerLib.h new file mode 100644 index 0000000..2cc6ac3 --- /dev/null +++ b/EDK/Foundation/Library/EdkIIGlueLib/Include/Pcd/EdkIIGluePcdTimerLib.h @@ -0,0 +1,40 @@ +/*++ + +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: + + EdkIIGluePcdTimerLib.h + +Abstract: + + PCD values for library customization + +--*/ + +#ifndef __EDKII_GLUE_PCD_TIMER_LIB_H__ +#define __EDKII_GLUE_PCD_TIMER_LIB_H__ + +// +// Following Pcd values are hard coded at compile time. +// Override these through compiler option "/D" in PlatformTools.env if needed +// + + +// +// Timer Lib Pcds +// +#ifndef __EDKII_GLUE_PCD_PcdFSBClock__ +#define __EDKII_GLUE_PCD_PcdFSBClock__ EDKII_GLUE_FSBClock +#endif + +#include "Pcd/EdkIIGluePcd.h" +#endif |