summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Test/Mock/Library/GoogleTest/MockPciHostBridgeLib/MockPciHostBridgeLib.cpp
blob: 1891727d3b2acf2356ab7aed71b98c4d73fe83ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** @file
  Mock instance of the PCI Host Bridge Library.

  Copyright (c) 2023, Intel Corporation. All rights reserved.
  SPDX-License-Identifier: BSD-2-Clause-Patent
**/

#include <GoogleTest/Library/MockPciHostBridgeLib.h>

MOCK_INTERFACE_DEFINITION (MockPciHostBridgeLib);

MOCK_FUNCTION_DEFINITION (MockPciHostBridgeLib, PciHostBridgeGetRootBridges, 1, EFIAPI);
MOCK_FUNCTION_DEFINITION (MockPciHostBridgeLib, PciHostBridgeFreeRootBridges, 2, EFIAPI);
MOCK_FUNCTION_DEFINITION (MockPciHostBridgeLib, PciHostBridgeResourceConflict, 2, EFIAPI);