TianoCore EDK2 master
Loading...
Searching...
No Matches
PciHostBridgeLibNull.c File Reference
#include <PiDxe.h>
#include <Library/PciHostBridgeLib.h>
#include <Library/DebugLib.h>

Go to the source code of this file.

Functions

PCI_ROOT_BRIDGE *EFIAPI PciHostBridgeGetRootBridges (UINTN *Count)
 
VOID EFIAPI PciHostBridgeFreeRootBridges (PCI_ROOT_BRIDGE *Bridges, UINTN Count)
 
VOID EFIAPI PciHostBridgeResourceConflict (EFI_HANDLE HostBridgeHandle, VOID *Configuration)
 

Variables

GLOBAL_REMOVE_IF_UNREFERENCED CHAR16 * mPciHostBridgeLibAcpiAddressSpaceTypeStr []
 

Detailed Description

Null instance of PCI Host Bridge Library with empty functions.

Copyright (c) 2016, Intel Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file PciHostBridgeLibNull.c.

Function Documentation

◆ PciHostBridgeFreeRootBridges()

VOID EFIAPI PciHostBridgeFreeRootBridges ( PCI_ROOT_BRIDGE Bridges,
UINTN  Count 
)

Free the root bridge instances array returned from PciHostBridgeGetRootBridges().

Parameters
BridgesThe root bridge instances array.
CountThe count of the array.

Definition at line 45 of file PciHostBridgeLibNull.c.

◆ PciHostBridgeGetRootBridges()

PCI_ROOT_BRIDGE *EFIAPI PciHostBridgeGetRootBridges ( UINTN Count)

Return all the root bridge instances in an array.

Parameters
CountReturn the count of root bridge instances.
Returns
All the root bridge instances in an array. The array should be passed into PciHostBridgeFreeRootBridges() when it's not used.

Definition at line 29 of file PciHostBridgeLibNull.c.

◆ PciHostBridgeResourceConflict()

VOID EFIAPI PciHostBridgeResourceConflict ( EFI_HANDLE  HostBridgeHandle,
VOID *  Configuration 
)

Inform the platform that the resource conflict happens.

Parameters
HostBridgeHandleHandle of the Host Bridge.
ConfigurationPointer to PCI I/O and PCI memory resource descriptors. The Configuration contains the resources for all the root bridges. The resource for each root bridge is terminated with END descriptor and an additional END is appended indicating the end of the entire resources. The resource descriptor field values follow the description in EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL .SubmitResources().

Definition at line 69 of file PciHostBridgeLibNull.c.

Variable Documentation

◆ mPciHostBridgeLibAcpiAddressSpaceTypeStr

GLOBAL_REMOVE_IF_UNREFERENCED CHAR16* mPciHostBridgeLibAcpiAddressSpaceTypeStr[]
Initial value:
= {
L"Mem", L"I/O", L"Bus"
}

Definition at line 14 of file PciHostBridgeLibNull.c.