diff options
author | Yin Wang <yin.wang@intel.com> | 2023-09-01 11:54:44 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-09-06 07:45:40 +0000 |
commit | d1e4a16f868fb1ccfa8bed8eaba5f9617ec8382d (patch) | |
tree | 155856db6f0ba92bc02f59b4ebcd0bdaa98a4dac /OvmfPkg/PlatformDxe | |
parent | f008890ae55929f7f17e7d2f8aff929255007d33 (diff) | |
download | edk2-d1e4a16f868fb1ccfa8bed8eaba5f9617ec8382d.tar.gz edk2-d1e4a16f868fb1ccfa8bed8eaba5f9617ec8382d.tar.bz2 edk2-d1e4a16f868fb1ccfa8bed8eaba5f9617ec8382d.zip |
OvmfPkg: Fix Hii form name mismatch with EFI variable
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 <yin.wang@intel.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Diffstat (limited to 'OvmfPkg/PlatformDxe')
-rw-r--r-- | OvmfPkg/PlatformDxe/Platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/PlatformDxe/Platform.c b/OvmfPkg/PlatformDxe/Platform.c index cd3bfd554c..c32439683d 100644 --- a/OvmfPkg/PlatformDxe/Platform.c +++ b/OvmfPkg/PlatformDxe/Platform.c @@ -279,7 +279,7 @@ ExtractConfig ( //
ConfigRequestHdr = HiiConstructConfigHdr (
&gOvmfPlatformConfigGuid,
- mVariableName,
+ mHiiFormName,
mImageHandle
);
if (ConfigRequestHdr == NULL) {
|