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...@intel.com> > -----Original Message----- > From: Gao, Liming <liming....@intel.com> > Sent: Wednesday, June 24, 2020 10:22 PM > To: devel@edk2.groups.io > Cc: Ni, Ray <ray...@intel.com>; Chiu, Chasel <chasel.c...@intel.com>; > Desimone, Nathaniel L > <nathaniel.l.desim...@intel.com>; Dong, Eric <eric.d...@intel.com> > Subject: [Patch] MinPlatformPkg PciSegmentInfoLibSimple: Update > GetPciSegmentInfo() API > > Update GetPciSegmentInfo() API to match its library class definition > > Signed-off-by: Liming Gao <liming....@intel.com> > Cc: Ray Ni <ray...@intel.com> > Cc: Chasel Chiu <chasel.c...@intel.com> > Cc: Nate DeSimone <nathaniel.l.desim...@intel.com> > Cc: Eric Dong <eric.d...@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/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-