From 2e128302e608fbe2c03d1967dd7328bbdf07bab3 Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Mon, 30 Oct 2023 16:31:12 -0400 Subject: ArmVirtPkg: Add varpolicy shell command Adds the varpolicy EFI shell command to all DSC files that currently include other dynamic shell commands from ShellPkg. This command allows variable policies to be dumped in the EFI shell for convenient auditing and debug. Use the command in the EFI shell as follows: - `"varpolicy"` dumps platform variables - `"varpolicy -?"` shows help text - `"varpolicy -b"` pages output as expected - `"varpolicy -s"` shows accurate variable statistic information - `"varpolicy -p"` shows accurate UEFI variable policy information - `"varpolicy-v -b"` dumps all information including variable data hex dump Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Julien Grall Cc: Laszlo Ersek Cc: Leif Lindholm Cc: Sami Mujawar Signed-off-by: Michael Kubacki Message-Id: <20231030203112.736-5-mikuback@linux.microsoft.com> Reviewed-by: Ard Biesheuvel --- ArmVirtPkg/ArmVirtXen.fdf | 1 + 1 file changed, 1 insertion(+) (limited to 'ArmVirtPkg/ArmVirtXen.fdf') diff --git a/ArmVirtPkg/ArmVirtXen.fdf b/ArmVirtPkg/ArmVirtXen.fdf index 770fbf7289..ea835551b3 100644 --- a/ArmVirtPkg/ArmVirtXen.fdf +++ b/ArmVirtPkg/ArmVirtXen.fdf @@ -180,6 +180,7 @@ READ_LOCK_STATUS = TRUE INF ShellPkg/Application/Shell/Shell.inf INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf INF ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf + INF ShellPkg/DynamicCommand/VariablePolicyDynamicCommand/VariablePolicyDynamicCommand.inf INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf # -- cgit v1.2.3