]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BasePciSegmentInfoLibNull/PciSegmentInfoLib.c
MdePkg BaseStackCheckLib: Correct style of file header
[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 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.
11
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.
14
15 **/
16
17 #include <Base.h>
18 #include <Library/PciSegmentInfoLib.h>
19 #include <Library/DebugLib.h>
20
21 /**
22 Return an array of PCI_SEGMENT_INFO holding the segment information.
23
24 Note: The returned array/buffer is owned by callee.
25
26 @param Count Return the count of segments.
27
28 @retval A callee owned array holding the segment information.
29 **/
30 PCI_SEGMENT_INFO *
31 GetPciSegmentInfo (
32 UINTN *Count
33 )
34 {
35 ASSERT (FALSE);
36 *Count = 0;
37 return NULL;
38 }