From d1e4a16f868fb1ccfa8bed8eaba5f9617ec8382d Mon Sep 17 00:00:00 2001 From: Yin Wang Date: Fri, 1 Sep 2023 11:54:44 +0800 Subject: [PATCH] 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 Reviewed-by: Dandan Bi --- OvmfPkg/PlatformDxe/Platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {