[edk2] [Patch V2 0/3] MdePkg/UefiLib: Add EfiLocateProtocolBuffer()

Kinney, Michael D posted 3 patches 6 years, 9 months ago
Failed in applying to current master (apply log)
.../Library/FrameworkUefiLib/UefiLib.c             | 214 ++++++++++++++++++++-
MdePkg/Include/Library/UefiLib.h                   |  32 ++-
MdePkg/Library/UefiLib/UefiLib.c                   | 112 ++++++++++-
3 files changed, 355 insertions(+), 3 deletions(-)
[edk2] [Patch V2 0/3] MdePkg/UefiLib: Add EfiLocateProtocolBuffer()
Posted by Kinney, Michael D 6 years, 9 months ago
V2:
* Use gBS->AllocatePool() instead of AllocatePool()
* Use gBS->FreePool() instead of FreePool()
* Add EfiLocateProtocolBuffer() to IntelFrameworkPkg/FrameworkUefiLib
* Add GetVariable2() to IntelFrameworkPkg/FrameworkUefiLib
* Add GetEfiGlobalVariable2 to IntelFrameworkPkg/FrameworkUefiLib

https://bugzilla.tianocore.org/show_bug.cgi?id=838

Add new API to the UefiLib that locates and returns
an array of protocols instances that match a given
protocol.

Branch for review:

https://github.com/mdkinney/edk2/tree/Bug_838_EfiLocateProtocolBuffer_V4

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>

Kinney, Michael D (2):
  IntelFrameworkPkg/FrameworkUefiLib: Add EfiLocateProtocolBuffer()
  IntelFrameworkPkg/FrameworkUefiLib: Sync with MdePkg/UefiLib

Michael D Kinney (1):
  MdePkg/UefiLib: Add EfiLocateProtocolBuffer()

 .../Library/FrameworkUefiLib/UefiLib.c             | 214 ++++++++++++++++++++-
 MdePkg/Include/Library/UefiLib.h                   |  32 ++-
 MdePkg/Library/UefiLib/UefiLib.c                   | 112 ++++++++++-
 3 files changed, 355 insertions(+), 3 deletions(-)

-- 
2.14.2.windows.3

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [Patch V2 0/3] MdePkg/UefiLib: Add EfiLocateProtocolBuffer()
Posted by Zeng, Star 6 years, 9 months ago
Reviewed-by: Star Zeng <star.zeng@intel.com> to the patch series.

Thanks,
Star
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Kinney, Michael D
Sent: Saturday, February 3, 2018 9:07 AM
To: edk2-devel@lists.01.org
Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>; Gao, Liming <liming.gao@intel.com>
Subject: [edk2] [Patch V2 0/3] MdePkg/UefiLib: Add EfiLocateProtocolBuffer()

V2:
* Use gBS->AllocatePool() instead of AllocatePool()
* Use gBS->FreePool() instead of FreePool()
* Add EfiLocateProtocolBuffer() to IntelFrameworkPkg/FrameworkUefiLib
* Add GetVariable2() to IntelFrameworkPkg/FrameworkUefiLib
* Add GetEfiGlobalVariable2 to IntelFrameworkPkg/FrameworkUefiLib

https://bugzilla.tianocore.org/show_bug.cgi?id=838

Add new API to the UefiLib that locates and returns an array of protocols instances that match a given protocol.

Branch for review:

https://github.com/mdkinney/edk2/tree/Bug_838_EfiLocateProtocolBuffer_V4

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>

Kinney, Michael D (2):
  IntelFrameworkPkg/FrameworkUefiLib: Add EfiLocateProtocolBuffer()
  IntelFrameworkPkg/FrameworkUefiLib: Sync with MdePkg/UefiLib

Michael D Kinney (1):
  MdePkg/UefiLib: Add EfiLocateProtocolBuffer()

 .../Library/FrameworkUefiLib/UefiLib.c             | 214 ++++++++++++++++++++-
 MdePkg/Include/Library/UefiLib.h                   |  32 ++-
 MdePkg/Library/UefiLib/UefiLib.c                   | 112 ++++++++++-
 3 files changed, 355 insertions(+), 3 deletions(-)

--
2.14.2.windows.3

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [Patch V2 0/3] MdePkg/UefiLib: Add EfiLocateProtocolBuffer()
Posted by Bret Barkelew 6 years, 8 months ago
Approved.
Reviewd-By: Bret Barkelew Bret.Barkelew@microsoft.com

- Bret

From: Zeng, Star<mailto:star.zeng@intel.com>
Sent: Saturday, February 3, 2018 11:05 PM
To: Kinney, Michael D<mailto:michael.d.kinney@intel.com>; edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
Cc: Kinney, Michael D<mailto:michael.d.kinney@intel.com>; Yao, Jiewen<mailto:jiewen.yao@intel.com>; Zeng, Star<mailto:star.zeng@intel.com>; Gao, Liming<mailto:liming.gao@intel.com>
Subject: Re: [edk2] [Patch V2 0/3] MdePkg/UefiLib: Add EfiLocateProtocolBuffer()

Reviewed-by: Star Zeng <star.zeng@intel.com> to the patch series.

Thanks,
Star
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Kinney, Michael D
Sent: Saturday, February 3, 2018 9:07 AM
To: edk2-devel@lists.01.org
Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>; Gao, Liming <liming.gao@intel.com>
Subject: [edk2] [Patch V2 0/3] MdePkg/UefiLib: Add EfiLocateProtocolBuffer()

V2:
* Use gBS->AllocatePool() instead of AllocatePool()
* Use gBS->FreePool() instead of FreePool()
* Add EfiLocateProtocolBuffer() to IntelFrameworkPkg/FrameworkUefiLib
* Add GetVariable2() to IntelFrameworkPkg/FrameworkUefiLib
* Add GetEfiGlobalVariable2 to IntelFrameworkPkg/FrameworkUefiLib

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.tianocore.org%2Fshow_bug.cgi%3Fid%3D838&data=02%7C01%7CBret.Barkelew%40microsoft.com%7Cf7010dc9f4544f4b151008d56b9da29e%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C1%7C636533247176865805&sdata=GyqRTPAngLULHtzB0M%2FCp9lVbAarxSzLTwKUgCvoCQU%3D&reserved=0

Add new API to the UefiLib that locates and returns an array of protocols instances that match a given protocol.

Branch for review:

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmdkinney%2Fedk2%2Ftree%2FBug_838_EfiLocateProtocolBuffer_V4&data=02%7C01%7CBret.Barkelew%40microsoft.com%7Cf7010dc9f4544f4b151008d56b9da29e%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C1%7C636533247176865805&sdata=aS5Jw32IzIf6B%2FLt%2BN6IsvbA%2B60YnsQT%2FgYiy%2BA5AVQ%3D&reserved=0

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>

Kinney, Michael D (2):
  IntelFrameworkPkg/FrameworkUefiLib: Add EfiLocateProtocolBuffer()
  IntelFrameworkPkg/FrameworkUefiLib: Sync with MdePkg/UefiLib

Michael D Kinney (1):
  MdePkg/UefiLib: Add EfiLocateProtocolBuffer()

 .../Library/FrameworkUefiLib/UefiLib.c             | 214 ++++++++++++++++++++-
 MdePkg/Include/Library/UefiLib.h                   |  32 ++-
 MdePkg/Library/UefiLib/UefiLib.c                   | 112 ++++++++++-
 3 files changed, 355 insertions(+), 3 deletions(-)

--
2.14.2.windows.3

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.01.org%2Fmailman%2Flistinfo%2Fedk2-devel&data=02%7C01%7CBret.Barkelew%40microsoft.com%7Cf7010dc9f4544f4b151008d56b9da29e%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C1%7C636533247176865805&sdata=pYocyCMvStgafQBnGHy0bWPZ%2B9y4ZCIZ%2BaYG7q%2FfpZU%3D&reserved=0
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.01.org%2Fmailman%2Flistinfo%2Fedk2-devel&data=02%7C01%7CBret.Barkelew%40microsoft.com%7Cf7010dc9f4544f4b151008d56b9da29e%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C1%7C636533247176865805&sdata=pYocyCMvStgafQBnGHy0bWPZ%2B9y4ZCIZ%2BaYG7q%2FfpZU%3D&reserved=0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [Patch V2 0/3] MdePkg/UefiLib: Add EfiLocateProtocolBuffer()
Posted by Bret Barkelew 6 years, 8 months ago
Approved.
Reviewed-By: Bret Barkelew Bret.Barkelew@microsoft.com


- Bret

From: Zeng, Star<mailto:star.zeng@intel.com>
Sent: Saturday, February 3, 2018 11:05 PM
To: Kinney, Michael D<mailto:michael.d.kinney@intel.com>; edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
Cc: Kinney, Michael D<mailto:michael.d.kinney@intel.com>; Yao, Jiewen<mailto:jiewen.yao@intel.com>; Zeng, Star<mailto:star.zeng@intel.com>; Gao, Liming<mailto:liming.gao@intel.com>
Subject: Re: [edk2] [Patch V2 0/3] MdePkg/UefiLib: Add EfiLocateProtocolBuffer()

Reviewed-by: Star Zeng <star.zeng@intel.com> to the patch series.

Thanks,
Star
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Kinney, Michael D
Sent: Saturday, February 3, 2018 9:07 AM
To: edk2-devel@lists.01.org
Cc: Kinney, Michael D <michael.d.kinney@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>; Gao, Liming <liming.gao@intel.com>
Subject: [edk2] [Patch V2 0/3] MdePkg/UefiLib: Add EfiLocateProtocolBuffer()

V2:
* Use gBS->AllocatePool() instead of AllocatePool()
* Use gBS->FreePool() instead of FreePool()
* Add EfiLocateProtocolBuffer() to IntelFrameworkPkg/FrameworkUefiLib
* Add GetVariable2() to IntelFrameworkPkg/FrameworkUefiLib
* Add GetEfiGlobalVariable2 to IntelFrameworkPkg/FrameworkUefiLib

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.tianocore.org%2Fshow_bug.cgi%3Fid%3D838&data=02%7C01%7CBret.Barkelew%40microsoft.com%7Cf7010dc9f4544f4b151008d56b9da29e%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C1%7C636533247176865805&sdata=GyqRTPAngLULHtzB0M%2FCp9lVbAarxSzLTwKUgCvoCQU%3D&reserved=0

Add new API to the UefiLib that locates and returns an array of protocols instances that match a given protocol.

Branch for review:

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmdkinney%2Fedk2%2Ftree%2FBug_838_EfiLocateProtocolBuffer_V4&data=02%7C01%7CBret.Barkelew%40microsoft.com%7Cf7010dc9f4544f4b151008d56b9da29e%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C1%7C636533247176865805&sdata=aS5Jw32IzIf6B%2FLt%2BN6IsvbA%2B60YnsQT%2FgYiy%2BA5AVQ%3D&reserved=0

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>

Kinney, Michael D (2):
  IntelFrameworkPkg/FrameworkUefiLib: Add EfiLocateProtocolBuffer()
  IntelFrameworkPkg/FrameworkUefiLib: Sync with MdePkg/UefiLib

Michael D Kinney (1):
  MdePkg/UefiLib: Add EfiLocateProtocolBuffer()

 .../Library/FrameworkUefiLib/UefiLib.c             | 214 ++++++++++++++++++++-
 MdePkg/Include/Library/UefiLib.h                   |  32 ++-
 MdePkg/Library/UefiLib/UefiLib.c                   | 112 ++++++++++-
 3 files changed, 355 insertions(+), 3 deletions(-)

--
2.14.2.windows.3

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.01.org%2Fmailman%2Flistinfo%2Fedk2-devel&data=02%7C01%7CBret.Barkelew%40microsoft.com%7Cf7010dc9f4544f4b151008d56b9da29e%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C1%7C636533247176865805&sdata=pYocyCMvStgafQBnGHy0bWPZ%2B9y4ZCIZ%2BaYG7q%2FfpZU%3D&reserved=0
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.01.org%2Fmailman%2Flistinfo%2Fedk2-devel&data=02%7C01%7CBret.Barkelew%40microsoft.com%7Cf7010dc9f4544f4b151008d56b9da29e%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C1%7C636533247176865805&sdata=pYocyCMvStgafQBnGHy0bWPZ%2B9y4ZCIZ%2BaYG7q%2FfpZU%3D&reserved=0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel