Add into MdePkg definitions for the SMM PCI Root Bridge IO protocol as defined in...
authorrsun3 <rsun3@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 2 Sep 2009 07:56:54 +0000 (07:56 +0000)
committerrsun3 <rsun3@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 2 Sep 2009 07:56:54 +0000 (07:56 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9225 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdePkg/Include/Protocol/SmmPciRootBridgeIo.h [new file with mode: 0644]
edk2/MdePkg/MdePkg.dec

diff --git a/edk2/MdePkg/Include/Protocol/SmmPciRootBridgeIo.h b/edk2/MdePkg/Include/Protocol/SmmPciRootBridgeIo.h
new file mode 100644 (file)
index 0000000..7cb547d
--- /dev/null
@@ -0,0 +1,37 @@
+/** @file\r
+  SMM PCI Root Bridge IO protocol as defined in the PI 1.2 specification.\r
+\r
+  This protocol provides PCI I/O and memory access within SMM.\r
+\r
+  Copyright (c) 2009, 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 _SMM_PCI_ROOT_BRIDGE_IO_H_\r
+#define _SMM_PCI_ROOT_BRIDGE_IO_H_\r
+\r
+#include <Protocol/PciRootBridgeIo.h>\r
+\r
+#define EFI_SMM_PCI_ROOT_BRIDGE_IO_PROTOCOL_GUID \\r
+  { \\r
+    0x8bc1714d, 0xffcb, 0x41c3, { 0x89, 0xdc, 0x6c, 0x74, 0xd0, 0x6d, 0x98, 0xea } \\r
+  }\r
+\r
+///\r
+/// This protocol provides the same functionality as the PCI Root Bridge I/O Protocol defined in the \r
+/// UEFI 2.1 Specifcation, section 13.2, except that the functions for Map() and Unmap() may return \r
+/// EFI_UNSUPPORTED.\r
+///\r
+typedef EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL  EFI_SMM_PCI_ROOT_BRIDGE_IO_PROTOCOL;\r
+\r
+extern EFI_GUID gEfiSmmPciRootBridgeIoProtocolGuid;\r
+\r
+#endif\r
+\r
index 7f386b1..acbd6a6 100644 (file)
   ## Include/Protocol/SmmCpu.h\r
   gEfiSmmCpuProtocolGuid          = { 0xeb346b97, 0x975f, 0x4a9f, { 0x8b, 0x22, 0xf8, 0xe9, 0x2b, 0xb3, 0xd5, 0x69 }}\r
 \r
   ## Include/Protocol/SmmCpu.h\r
   gEfiSmmCpuProtocolGuid          = { 0xeb346b97, 0x975f, 0x4a9f, { 0x8b, 0x22, 0xf8, 0xe9, 0x2b, 0xb3, 0xd5, 0x69 }}\r
 \r
+  ## Include/Protocol/SmmPciRootBridgeIo.h\r
+  gEfiSmmPciRootBridgeIoProtocolGuid = { 0x8bc1714d, 0xffcb, 0x41c3, { 0x89, 0xdc, 0x6c, 0x74, 0xd0, 0x6d, 0x98, 0xea }}\r
+\r
   #\r
   # Protocols defined in UEFI2.1/UEFI2.0/EFI1.1\r
   #\r
   #\r
   # Protocols defined in UEFI2.1/UEFI2.0/EFI1.1\r
   #\r