]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add into MdePkg definitions for the SMM PCI Root Bridge IO protocol as defined in...
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 2 Sep 2009 07:56:54 +0000 (07:56 +0000)
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 2 Sep 2009 07:56:54 +0000 (07:56 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9225 6f19259b-4bc3-4df7-8a09-765794883524

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

diff --git a/MdePkg/Include/Protocol/SmmPciRootBridgeIo.h b/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 7f386b18694b754133e488bd89c6488672ce6601..acbd6a69c87276f6e4a30a93f0507a3b5950181b 100644 (file)
   ## 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