]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BasePciSegmentInfoLibNull/PciSegmentInfoLib.c
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BasePciSegmentInfoLibNull / PciSegmentInfoLib.c
1 /** @file
2 Default PCI Segment Information Library that returns one segment whose
3 segment base address equals to PcdPciExpressBaseAddress.
4
5 Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 #include <Base.h>
11 #include <Library/PciSegmentInfoLib.h>
12 #include <Library/DebugLib.h>
13
14 /**
15 Return an array of PCI_SEGMENT_INFO holding the segment information.
16
17 Note: The returned array/buffer is owned by callee.
18
19 @param Count Return the count of segments.
20
21 @retval A callee owned array holding the segment information.
22 **/
23 PCI_SEGMENT_INFO *
24 GetPciSegmentInfo (
25 UINTN *Count
26 )
27 {
28 ASSERT (FALSE);
29 *Count = 0;
30 return NULL;
31 }