]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Include/Library/UefiLib.h
MdePkg UefiLib: Add new EfiLocateXXXAcpiTable() APIs
authorStar Zeng <star.zeng@intel.com>
Fri, 8 Jun 2018 09:12:01 +0000 (17:12 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 27 Sep 2018 06:25:32 +0000 (14:25 +0800)
commitaf5e95215928e052445c473f1244412dadea8252
treebf5e36272f270442a78d9c6349898a977893009a
parent24c55f5dcc31e90c15fc23fb8fc7f1998f91f22d
MdePkg UefiLib: Add new EfiLocateXXXAcpiTable() APIs

https://bugzilla.tianocore.org/show_bug.cgi?id=967
Request to add a library function for GetAcpiTable() in order
to get ACPI table using signature as input.

After evaluation, we found there are many duplicated code to
find ACPI table by signature in different modules.

This patch adds new EfiLocateXXXAcpiTable() APIs in UefiLib
for the request and also the following patch to remove the
duplicated code.

Cc: Younas khan <pmdyounaskhan786@gmail.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Include/Library/UefiLib.h
MdePkg/Library/UefiLib/Acpi.c [new file with mode: 0644]
MdePkg/Library/UefiLib/UefiLib.inf