]>
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 | |
6 | This program and the accompanying materials are\r | |
7 | licensed and made available under the terms and conditions of\r | |
8 | the BSD License which accompanies this distribution. The full\r | |
9 | text of the license may be found at\r | |
10 | http://opensource.org/licenses/bsd-license.php.\r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | #include <Base.h>\r | |
18 | #include <Library/PciSegmentInfoLib.h>\r | |
19 | #include <Library/DebugLib.h>\r | |
20 | \r | |
21 | /**\r | |
22 | Return an array of PCI_SEGMENT_INFO holding the segment information.\r | |
23 | \r | |
24 | Note: The returned array/buffer is owned by callee.\r | |
25 | \r | |
26 | @param Count Return the count of segments.\r | |
27 | \r | |
28 | @retval A callee owned array holding the segment information.\r | |
29 | **/\r | |
30 | PCI_SEGMENT_INFO *\r | |
31 | GetPciSegmentInfo (\r | |
32 | UINTN *Count\r | |
33 | )\r | |
34 | {\r | |
35 | ASSERT (FALSE);\r | |
36 | *Count = 0;\r | |
37 | return NULL;\r | |
38 | }\r |