[edk2-devel] [Patch] MinPlatformPkg PciSegmentInfoLibSimple: Update GetPciSegmentInfo() API

Ni, Ray ray.ni at intel.com
Thu Jun 25 00:28:04 UTC 2020


Liming,
Thank you!
I didn't realize MinPlatformPkg contain an implementation of PciSegmentInfoLib when adding
missing EFIAPI to the API prototype.

Reviewed-by: Ray Ni <ray.ni at intel.com>

> -----Original Message-----
> From: Gao, Liming <liming.gao at intel.com>
> Sent: Wednesday, June 24, 2020 10:22 PM
> To: devel at edk2.groups.io
> Cc: Ni, Ray <ray.ni at intel.com>; Chiu, Chasel <chasel.chiu at intel.com>; Desimone, Nathaniel L
> <nathaniel.l.desimone at intel.com>; Dong, Eric <eric.dong at intel.com>
> Subject: [Patch] MinPlatformPkg PciSegmentInfoLibSimple: Update GetPciSegmentInfo() API
> 
> Update GetPciSegmentInfo() API to match its library class definition
> 
> Signed-off-by: Liming Gao <liming.gao at intel.com>
> Cc: Ray Ni <ray.ni at intel.com>
> Cc: Chasel Chiu <chasel.chiu at intel.com>
> Cc: Nate DeSimone <nathaniel.l.desimone at intel.com>
> Cc: Eric Dong <eric.dong at intel.com>
> ---
>  .../Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.c        | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Platform/Intel/MinPlatformPkg/Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.c
> b/Platform/Intel/MinPlatformPkg/Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.c
> index 6a6218d906..398f4d4b78 100644
> --- a/Platform/Intel/MinPlatformPkg/Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.c
> +++ b/Platform/Intel/MinPlatformPkg/Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.c
> @@ -31,6 +31,7 @@ volatile PCI_SEGMENT_INFO  mPciSegmentInfo;
>    @retval A callee owned array holding the segment information.
>  **/
>  PCI_SEGMENT_INFO *
> +EFIAPI
>  GetPciSegmentInfo (
>    OUT UINTN  *Count
>    )
> --
> 2.13.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#61699): https://edk2.groups.io/g/devel/message/61699
Mute This Topic: https://groups.io/mt/75082470/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list