]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Include/Library/PciHostBridgeUtilityLib.h
OvmfPkg: Introduce PciHostBridgeUtilityLib class
[mirror_edk2.git] / OvmfPkg / Include / Library / PciHostBridgeUtilityLib.h
1 /** @file
2 Provide common utility functions to PciHostBridgeLib instances in
3 ArmVirtPkg and OvmfPkg.
4
5 Copyright (C) 2016, Red Hat, Inc.
6 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
7 Copyright (c) 2020, Huawei Corporation. All rights reserved.<BR>
8
9 SPDX-License-Identifier: BSD-2-Clause-Patent
10
11 **/
12
13 #ifndef __PCI_HOST_BRIDGE_UTILITY_LIB_H__
14 #define __PCI_HOST_BRIDGE_UTILITY_LIB_H__
15
16
17 /**
18 Utility function to inform the platform that the resource conflict happens.
19
20 @param[in] Configuration Pointer to PCI I/O and PCI memory resource
21 descriptors. The Configuration contains the
22 resources for all the root bridges. The resource
23 for each root bridge is terminated with END
24 descriptor and an additional END is appended
25 indicating the end of the entire resources. The
26 resource descriptor field values follow the
27 description in
28 EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL
29 .SubmitResources().
30 **/
31 VOID
32 EFIAPI
33 PciHostBridgeUtilityResourceConflict (
34 IN VOID *Configuration
35 );
36
37
38 #endif // __PCI_HOST_BRIDGE_UTILITY_LIB_H__