Add in the 1st version of ECP.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2832 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12
2007-06-28 07:00:39 +00:00
parent 30d4a0c7ec
commit 3eb9473ea9
1433 changed files with 266617 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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__ EDKII_GLUE_DebugPrintErrorLevel
#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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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