xref: /freebsd/sys/contrib/edk2/Include/Protocol/PciOverride.h (revision f439973d6726c3be929c8fb3b1545b8b1744abc3)
1 /** @file
2   This file declares EFI PCI Override protocol which provides the interface between
3   the PCI bus driver/PCI Host Bridge Resource Allocation driver and an implementation's
4   driver to describe the unique features of a platform.
5   This protocol is optional.
6 
7   Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
8   SPDX-License-Identifier: BSD-2-Clause-Patent
9 
10   @par Revision Reference:
11   This Protocol is defined in UEFI Platform Initialization Specification 1.2
12   Volume 5: Standards
13 
14 **/
15 
16 #ifndef _PCI_OVERRIDE_H_
17 #define _PCI_OVERRIDE_H_
18 
19 ///
20 /// EFI_PCI_OVERRIDE_PROTOCOL has the same structure with EFI_PCI_PLATFORM_PROTOCOL
21 ///
22 #include <Protocol/PciPlatform.h>
23 
24 ///
25 /// Global ID for the EFI_PCI_OVERRIDE_PROTOCOL
26 ///
27 #define EFI_PCI_OVERRIDE_GUID \
28   { \
29     0xb5b35764, 0x460c, 0x4a06, {0x99, 0xfc, 0x77, 0xa1, 0x7c, 0x1b, 0x5c, 0xeb} \
30   }
31 
32 ///
33 /// Declaration for EFI_PCI_OVERRIDE_PROTOCOL
34 ///
35 typedef EFI_PCI_PLATFORM_PROTOCOL EFI_PCI_OVERRIDE_PROTOCOL;
36 
37 extern EFI_GUID  gEfiPciOverrideProtocolGuid;
38 
39 #endif
40