]> git.proxmox.com Git - mirror_edk2.git/commitdiff
1) Make Compatibility/Include the public include directory.
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 20 May 2008 09:12:25 +0000 (09:12 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 20 May 2008 09:12:25 +0000 (09:12 +0000)
2) Add two PPI

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5229 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Compatibility/Include/Ppi/EcpPciCfg.h [new file with mode: 0644]
EdkCompatibilityPkg/Compatibility/Include/Ppi/ReadOnlyVariableThunkPresent.h [new file with mode: 0644]

diff --git a/EdkCompatibilityPkg/Compatibility/Include/Ppi/EcpPciCfg.h b/EdkCompatibilityPkg/Compatibility/Include/Ppi/EcpPciCfg.h
new file mode 100644 (file)
index 0000000..0fb3476
--- /dev/null
@@ -0,0 +1,44 @@
+/** @file\r
+\r
+Copyright (c) 2008, Intel Corporation                                                         \r
+All rights reserved. This program and the accompanying materials                          \r
+are licensed and made available under the terms and conditions of the BSD License         \r
+which accompanies this distribution.  The full text of the license may be found at        \r
+http://opensource.org/licenses/bsd-license.php                                            \r
+                                                                                          \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+**/\r
+\r
+#ifndef _PEI_PCI_CFG_H_\r
+#define _PEI_PCI_CFG_H_\r
+\r
+#include <Ppi/PciCfg2.h>\r
+\r
+#define ECP_PEI_PCI_CFG_PPI_GUID \\r
+  { \\r
+    {0xb0ee53d4, 0xa049, 0x4a79, { 0xb2, 0xff, 0x19, 0xd9, 0xfa, 0xef, 0xaa, 0x94 }} \\r
+  }\r
+\r
+typedef struct _ECP_PEI_PCI_CFG_PPI ECP_PEI_PCI_CFG_PPI;\r
+\r
+\r
+typedef\r
+EFI_STATUS\r
+(EFIAPI *ECP_PEI_PCI_CFG_PPI_IO) (\r
+  IN EFI_PEI_SERVICES         **PeiServices,\r
+  IN ECP_PEI_PCI_CFG_PPI      * This,\r
+  IN EFI_PEI_PCI_CFG_PPI_WIDTH Width,\r
+  IN UINT64                   Address,\r
+  IN OUT VOID                 *Buffer\r
+  );\r
+\r
+struct _ECP_PEI_PCI_CFG_PPI {\r
+  ECP_PEI_PCI_CFG_PPI_IO  Read;\r
+  ECP_PEI_PCI_CFG_PPI_IO  Write;\r
+};\r
+\r
+extern EFI_GUID gEcpPeiPciCfgPpiGuid;\r
+\r
+#endif\r
diff --git a/EdkCompatibilityPkg/Compatibility/Include/Ppi/ReadOnlyVariableThunkPresent.h b/EdkCompatibilityPkg/Compatibility/Include/Ppi/ReadOnlyVariableThunkPresent.h
new file mode 100644 (file)
index 0000000..9ca395d
--- /dev/null
@@ -0,0 +1,28 @@
+/** @file\r
+  PPI published by the ReadOnlyVariable to ReadOnlyVariable2 or ReadOnlyVariable2 to ReadOnlyVariable\r
+  thunking PEIM to mark that such module has already been excuted.\r
+\r
+  This PPI is referenced in Edk2/EdkCompatibility/Compatibility/ReadOnlyVariable2ToReadOnlyVariable \r
+  and Edk2/EdkCompatibility/Compatibility/ReadOnlyVariable2ToReadOnlyVariable.\r
+\r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef _PEI_READONLY_VARIABLE_THUNK_PRESENT_H_\r
+#define _PEI_READONLY_VARIABLE_THUNK_PRESENT_H_\r
+\r
+#define PEI_READONLY_VARIABLE_THUNK_PRESENT_GUID  \\r
+  { 0xe84e9e0b, 0xb5dd, 0x4d08, { 0x9e, 0x46, 0x82, 0x1f, 0xf, 0x14, 0xe9, 0x1b } }\r
+\r
+extern EFI_GUID                     gPeiReadonlyVariableThunkPresentPpiGuid;\r
+\r
+#endif\r
+\r