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