Skip to content

Commit ee942c5

Browse files
jbrasenmergify[bot]
authored andcommitted
MdeModulePkg/DxeCorePerformanceLib: Install BPDT in config table
Install the performance table into the UEFI configuration table. This will allow the shell application to get this if the system is not using ACPI. Signed-off-by: Jeff Brasen <jbrasen@nvidia.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
1 parent 038499a commit ee942c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,6 +1409,8 @@ ReportFpdtRecordBuffer (
14091409
&BPDTAddr,
14101410
sizeof (UINT64)
14111411
);
1412+
Status = gBS->InstallConfigurationTable (&gEdkiiFpdtExtendedFirmwarePerformanceGuid, (VOID *)(UINTN)BPDTAddr);
1413+
ASSERT_EFI_ERROR (Status);
14121414
}
14131415

14141416
//

0 commit comments

Comments
 (0)