]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.c
MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure
authorDandan Bi <dandan.bi@intel.com>
Wed, 17 Jan 2018 01:47:58 +0000 (09:47 +0800)
committerLiming Gao <liming.gao@intel.com>
Thu, 8 Feb 2018 04:50:20 +0000 (12:50 +0800)
commit9e62c230170c96f16d9c5d46e100683ef3ccefb7
treeba79ee55bd964291296551fc4a7fb80cf95ca7f6
parent2040e6c556e0f39236fc9bc1cfca61afe9dad3bf
MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure

V4:
Update the GUID for status code in DxeCorePerformanceLib and
FirmwarePerformanceDxe.

V3:Add handling for the case when performance feature is not enabled.

V2:
Update FirmwarePerformanceDxe to receive the address
of performance records instead of records content.

1. Remove the macro EXTENSION_RECORD_SIZE, since the extension
size can be got through PcdExtFpdtBootRecordPadSize.

2. Hook EFI_SW_DXE_BS_PC_READY_TO_BOOT_EVENT to install ACPI table

3. Copy SMM record accord to the allocated size

4. Receive Boot performance table address instead of
 contents which are reported DxeCorePerformanceLib.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.c
MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf