diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-20 09:12:25 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-20 09:12:25 +0000 |
commit | cc5c33d779daf9c3cb42b1cbd1249ca51a104a26 (patch) | |
tree | f18f6f12245bbfbe90bfc43ca9520e83f6f5c313 /EdkCompatibilityPkg/Compatibility | |
parent | 14de5ad421c6b64e9237feec2ce0a31b518764cf (diff) | |
download | edk2-platforms-cc5c33d779daf9c3cb42b1cbd1249ca51a104a26.tar.xz |
1) Make Compatibility/Include the public include directory.
2) Add two PPI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5229 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Compatibility')
-rw-r--r-- | EdkCompatibilityPkg/Compatibility/Include/Ppi/EcpPciCfg.h | 44 | ||||
-rw-r--r-- | EdkCompatibilityPkg/Compatibility/Include/Ppi/ReadOnlyVariableThunkPresent.h | 28 |
2 files changed, 72 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/Include/Ppi/EcpPciCfg.h b/EdkCompatibilityPkg/Compatibility/Include/Ppi/EcpPciCfg.h new file mode 100644 index 0000000000..0fb347692e --- /dev/null +++ b/EdkCompatibilityPkg/Compatibility/Include/Ppi/EcpPciCfg.h @@ -0,0 +1,44 @@ +/** @file
+
+Copyright (c) 2008, 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.
+
+**/
+
+#ifndef _PEI_PCI_CFG_H_
+#define _PEI_PCI_CFG_H_
+
+#include <Ppi/PciCfg2.h>
+
+#define ECP_PEI_PCI_CFG_PPI_GUID \
+ { \
+ {0xb0ee53d4, 0xa049, 0x4a79, { 0xb2, 0xff, 0x19, 0xd9, 0xfa, 0xef, 0xaa, 0x94 }} \
+ }
+
+typedef struct _ECP_PEI_PCI_CFG_PPI ECP_PEI_PCI_CFG_PPI;
+
+
+typedef
+EFI_STATUS
+(EFIAPI *ECP_PEI_PCI_CFG_PPI_IO) (
+ IN EFI_PEI_SERVICES **PeiServices,
+ IN ECP_PEI_PCI_CFG_PPI * This,
+ IN EFI_PEI_PCI_CFG_PPI_WIDTH Width,
+ IN UINT64 Address,
+ IN OUT VOID *Buffer
+ );
+
+struct _ECP_PEI_PCI_CFG_PPI {
+ ECP_PEI_PCI_CFG_PPI_IO Read;
+ ECP_PEI_PCI_CFG_PPI_IO Write;
+};
+
+extern EFI_GUID gEcpPeiPciCfgPpiGuid;
+
+#endif
diff --git a/EdkCompatibilityPkg/Compatibility/Include/Ppi/ReadOnlyVariableThunkPresent.h b/EdkCompatibilityPkg/Compatibility/Include/Ppi/ReadOnlyVariableThunkPresent.h new file mode 100644 index 0000000000..9ca395d3b8 --- /dev/null +++ b/EdkCompatibilityPkg/Compatibility/Include/Ppi/ReadOnlyVariableThunkPresent.h @@ -0,0 +1,28 @@ +/** @file
+ PPI published by the ReadOnlyVariable to ReadOnlyVariable2 or ReadOnlyVariable2 to ReadOnlyVariable
+ thunking PEIM to mark that such module has already been excuted.
+
+ This PPI is referenced in Edk2/EdkCompatibility/Compatibility/ReadOnlyVariable2ToReadOnlyVariable
+ and Edk2/EdkCompatibility/Compatibility/ReadOnlyVariable2ToReadOnlyVariable.
+
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>
+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.
+
+**/
+
+#ifndef _PEI_READONLY_VARIABLE_THUNK_PRESENT_H_
+#define _PEI_READONLY_VARIABLE_THUNK_PRESENT_H_
+
+#define PEI_READONLY_VARIABLE_THUNK_PRESENT_GUID \
+ { 0xe84e9e0b, 0xb5dd, 0x4d08, { 0x9e, 0x46, 0x82, 0x1f, 0xf, 0x14, 0xe9, 0x1b } }
+
+extern EFI_GUID gPeiReadonlyVariableThunkPresentPpiGuid;
+
+#endif
+
|