]> git.proxmox.com Git - mirror_edk2.git/commit
IntelSiliconPkg IntelVTdDxe: Use new EfiLocateFirstAcpiTable()
authorStar Zeng <star.zeng@intel.com>
Fri, 8 Jun 2018 08:38:46 +0000 (16:38 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 27 Sep 2018 06:25:33 +0000 (14:25 +0800)
commit74bdd03eada5d832976406c8e80b756bfbb70c3c
treeb1b653aa4e6bd56afd5654360520de4f3e036d9d
parentc1a00d09422bcea0b70175128fc2386512ebe698
IntelSiliconPkg IntelVTdDxe: Use new EfiLocateFirstAcpiTable()

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 updates IntelVTdDxe to use new
EfiLocateFirstAcpiTable() and 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: Jiewen Yao <jiewen.yao@intel.com>
IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmarAcpiTable.c