Skip to content

Commit

Permalink
OvmfPkg: Fix Hii form name mismatch with EFI variable
Browse files Browse the repository at this point in the history
The Hii form is named "MainFormState" while the EFI variable is named
"PlatformConfig".  This discrepancy in names causes the following SCT
cases to fail on RiscVVirtQemu:

  ExtractConfigConformance
  ExtractConfigFunction
  ExtractConfig_Func

Previous commit 16acacf addressed two of these issues, and this patch
fixes the remaining one.

Signed-off-by: Yin Wang <[email protected]>
Reviewed-by: Dandan Bi <[email protected]>
  • Loading branch information
WangYin3 authored and mergify[bot] committed Sep 6, 2023
1 parent f008890 commit d1e4a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OvmfPkg/PlatformDxe/Platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ ExtractConfig (
//
ConfigRequestHdr = HiiConstructConfigHdr (
&gOvmfPlatformConfigGuid,
mVariableName,
mHiiFormName,
mImageHandle
);
if (ConfigRequestHdr == NULL) {
Expand Down

0 comments on commit d1e4a16

Please sign in to comment.