]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BasePciSegmentInfoLibNull/PciSegmentInfoLib.c
2 Default PCI Segment Information Library that returns one segment whose
3 segment base address equals to PcdPciExpressBaseAddress.
5 Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials are
7 licensed and made available under the terms and conditions of
8 the BSD License which accompanies this distribution. The full
9 text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php.
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 #include <Library/PciSegmentInfoLib.h>
19 #include <Library/DebugLib.h>
22 Return an array of PCI_SEGMENT_INFO holding the segment information.
24 Note: The returned array/buffer is owned by callee.
26 @param Count Return the count of segments.
28 @retval A callee owned array holding the segment information.