Ronak Kanabar | 1ae366f | 2023-06-07 01:21:56 +0530 | [diff] [blame^] | 1 | /** @file |
| 2 | SMM PCI Root Bridge IO protocol as defined in the PI 1.2 specification. |
| 3 | |
| 4 | This protocol provides PCI I/O and memory access within SMM. |
| 5 | |
| 6 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> |
| 7 | SPDX-License-Identifier: BSD-2-Clause-Patent |
| 8 | |
| 9 | **/ |
| 10 | |
| 11 | #ifndef _SMM_PCI_ROOT_BRIDGE_IO_H_ |
| 12 | #define _SMM_PCI_ROOT_BRIDGE_IO_H_ |
| 13 | |
| 14 | #include <Protocol/MmPciRootBridgeIo.h> |
| 15 | |
| 16 | #define EFI_SMM_PCI_ROOT_BRIDGE_IO_PROTOCOL_GUID EFI_MM_PCI_ROOT_BRIDGE_IO_PROTOCOL_GUID |
| 17 | |
| 18 | /// |
| 19 | /// This protocol provides the same functionality as the PCI Root Bridge I/O Protocol defined in the |
| 20 | /// UEFI 2.1 Specifcation, section 13.2, except that the functions for Map() and Unmap() may return |
| 21 | /// EFI_UNSUPPORTED. |
| 22 | /// |
| 23 | typedef EFI_MM_PCI_ROOT_BRIDGE_IO_PROTOCOL EFI_SMM_PCI_ROOT_BRIDGE_IO_PROTOCOL; |
| 24 | |
| 25 | extern EFI_GUID gEfiSmmPciRootBridgeIoProtocolGuid; |
| 26 | |
| 27 | #endif |