From: "Jeff Brasen" <jbrasen@nvidia.com>
To: <devel@edk2.groups.io>
Cc: <jian.j.wang@intel.com>, <gaoliming@byosoft.com.cn>,
<dandan.bi@intel.com>, <zhichao.gao@intel.com>,
Jeff Brasen <jbrasen@nvidia.com>
Subject: [PATCH v2 1/2] MdeModulePkg/DxeCorePerformanceLib: Install BPDT in config table
Date: Fri, 30 Jun 2023 17:30:14 +0000 [thread overview]
Message-ID: <1b3dda2af193e0c156b0d390a29e3a6caec003b6.1688141699.git.jbrasen@nvidia.com> (raw)
In-Reply-To: <cover.1688141699.git.jbrasen@nvidia.com>
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>
---
.../Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c
index ef14bc073810..57792ba44e7f 100644
--- a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c
+++ b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c
@@ -1403,6 +1403,8 @@ ReportFpdtRecordBuffer (
&BPDTAddr,
sizeof (UINT64)
);
+ Status = gBS->InstallConfigurationTable (&gEdkiiFpdtExtendedFirmwarePerformanceGuid, (VOID *)(UINTN)BPDTAddr);
+ ASSERT_EFI_ERROR (Status);
}
//
--
2.25.1
next prev parent reply other threads:[~2023-06-30 17:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-30 17:30 [PATCH v2 0/2] dp command without ACPI Jeff Brasen
2023-06-30 17:30 ` Jeff Brasen [this message]
2023-06-30 17:30 ` [PATCH v2 2/2] ShellPkg/Dp: Allow dp command to work " Jeff Brasen
2023-07-27 2:49 ` [edk2-devel] " Gao, Zhichao
2023-09-11 20:38 ` [edk2-devel] [PATCH v2 0/2] dp command " Jeff Brasen via groups.io
2023-09-12 9:41 ` Gao, Zhichao
2023-09-12 12:59 ` [edk2-devel] 回复: " gaoliming via groups.io
2023-10-04 14:37 ` [edk2-devel] " Jeff Brasen via groups.io
2023-10-17 2:39 ` Gao, Zhichao
2023-10-30 17:28 ` Jeff Brasen via groups.io
2023-11-06 1:15 ` [edk2-devel] 回复: " gaoliming via groups.io
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1b3dda2af193e0c156b0d390a29e3a6caec003b6.1688141699.git.jbrasen@nvidia.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox