2023-05-05 03:16:56 +02:00
|
|
|
/** @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>
|
|
|
|
|
2023-08-16 23:15:18 +02:00
|
|
|
MOCK_INTERFACE_DEFINITION (MockPciHostBridgeLib);
|
2023-05-05 03:16:56 +02:00
|
|
|
|
2023-08-16 23:15:18 +02:00
|
|
|
MOCK_FUNCTION_DEFINITION (MockPciHostBridgeLib, PciHostBridgeGetRootBridges, 1, EFIAPI);
|
|
|
|
MOCK_FUNCTION_DEFINITION (MockPciHostBridgeLib, PciHostBridgeFreeRootBridges, 2, EFIAPI);
|
|
|
|
MOCK_FUNCTION_DEFINITION (MockPciHostBridgeLib, PciHostBridgeResourceConflict, 2, EFIAPI);
|