public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/6] Add new EfiFindAcpiTableBySignature() API
@ 2018-08-31 11:29 Star Zeng
  2018-08-31 11:29 ` [PATCH 1/6] MdePkg UefiLib: " Star Zeng
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Star Zeng @ 2018-08-31 11:29 UTC (permalink / raw)
  To: edk2-devel
  Cc: Star Zeng, Younas khan, Michael D Kinney, Liming Gao, Jiewen Yao,
	Jian J Wang, Ruiyu Ni, Dandan Bi, Eric Dong, Laszlo Ersek

The code for this patch series is also at
git@github.com:lzeng14/edk2.git branch FindAcpiTableBySignature_UefiLib

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 EfiFindAcpiTableBySignature() API in UefiLib
for the request and removing 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>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>

Star Zeng (6):
  MdePkg UefiLib: Add new EfiFindAcpiTableBySignature() API
  IntelSiliconPkg IntelVTdDxe: Use new EfiFindAcpiTableBySignature()
  MdeModulePkg S3SaveStateDxe: Use new EfiFindAcpiTableBySignature()
  PcAtChipsetPkg PcRtc: Use new EfiFindAcpiTableBySignature()
  ShellPkg DpDynamicCommand: Use new EfiFindAcpiTableBySignature()
  UefiCpuPkg PiSmmCpuDxeSmm: Use new EfiFindAcpiTableBySignature()

 .../Feature/VTd/IntelVTdDxe/DmarAcpiTable.c        | 136 +------------
 .../Acpi/S3SaveStateDxe/AcpiS3ContextSave.c        | 208 +------------------
 .../Acpi/S3SaveStateDxe/S3SaveStateDxe.inf         |   3 +-
 MdePkg/Include/Library/UefiLib.h                   |  17 ++
 MdePkg/Library/UefiLib/Acpi.c                      | 226 +++++++++++++++++++++
 MdePkg/Library/UefiLib/UefiLib.inf                 |   3 +
 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c |  80 +-------
 ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c      | 136 +------------
 ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h      |   1 -
 ShellPkg/DynamicCommand/DpDynamicCommand/Dp.uni    |   1 -
 ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.inf |   2 -
 .../DpDynamicCommand/DpDynamicCommand.inf          |   2 -
 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf       |   4 +-
 UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c             |  84 +-------
 UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfileInternal.h     |   3 +-
 15 files changed, 266 insertions(+), 640 deletions(-)
 create mode 100644 MdePkg/Library/UefiLib/Acpi.c

-- 
2.7.0.windows.1



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2018-09-05 10:02 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-31 11:29 [PATCH 0/6] Add new EfiFindAcpiTableBySignature() API Star Zeng
2018-08-31 11:29 ` [PATCH 1/6] MdePkg UefiLib: " Star Zeng
2018-08-31 11:57   ` Yao, Jiewen
2018-08-31 16:28     ` Ni, Ruiyu
2018-08-31 16:29     ` Ni, Ruiyu
2018-08-31 23:04       ` Yao, Jiewen
2018-09-03  3:26         ` Zeng, Star
2018-09-03  5:09           ` Ni, Ruiyu
2018-09-03  6:11             ` Zeng, Star
2018-09-03  6:14               ` Yao, Jiewen
2018-09-03  6:32                 ` Ni, Ruiyu
2018-09-05 10:02                   ` Zeng, Star
2018-08-31 11:29 ` [PATCH 2/6] IntelSiliconPkg IntelVTdDxe: Use new EfiFindAcpiTableBySignature() Star Zeng
2018-08-31 11:29 ` [PATCH 3/6] MdeModulePkg S3SaveStateDxe: " Star Zeng
2018-08-31 11:29 ` [PATCH 4/6] PcAtChipsetPkg PcRtc: " Star Zeng
2018-08-31 11:29 ` [PATCH 5/6] ShellPkg DpDynamicCommand: " Star Zeng
2018-08-31 11:29 ` [PATCH 6/6] UefiCpuPkg PiSmmCpuDxeSmm: " Star Zeng
2018-08-31 20:33   ` Laszlo Ersek
2018-09-03  3:28     ` Zeng, Star

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox