diff options
author | Jeff Brasen <jbrasen@nvidia.com> | 2023-07-01 01:30:14 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-11-06 01:33:49 +0000 |
commit | ee942c5360dad560d5fc0f6758bed502fd1be4c7 (patch) | |
tree | 0fb837f7b629ea8098a6fccdd965fdf40b0650c0 | |
parent | 038499a2681c1adab5a508da34621f74c52bc05c (diff) | |
download | edk2-ee942c5360dad560d5fc0f6758bed502fd1be4c7.tar.gz edk2-ee942c5360dad560d5fc0f6758bed502fd1be4c7.tar.bz2 edk2-ee942c5360dad560d5fc0f6758bed502fd1be4c7.zip |
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>
-rw-r--r-- | MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c index 0a994be6a5..ef32771561 100644 --- a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c +++ b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c @@ -1409,6 +1409,8 @@ ReportFpdtRecordBuffer ( &BPDTAddr,
sizeof (UINT64)
);
+ Status = gBS->InstallConfigurationTable (&gEdkiiFpdtExtendedFirmwarePerformanceGuid, (VOID *)(UINTN)BPDTAddr);
+ ASSERT_EFI_ERROR (Status);
}
//
|