mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-07 19:45:07 +02:00
OvmfPkg: fix PlatformConfig
The Hii form is named "MainFormState" and the EFI variable is named "PlatformConfig". Take into account the different names. Fixes: aefcc91805fd ("OvmfPkg/PlatformDxe: Handle all requests in ExtractConfig and RouteConfig") Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
d8d4abdff9
commit
16acacf24c
@ -258,7 +258,7 @@ ExtractConfig (
|
||||
!HiiIsConfigHdrMatch (
|
||||
Request,
|
||||
&gOvmfPlatformConfigGuid,
|
||||
mVariableName
|
||||
mHiiFormName
|
||||
)
|
||||
)
|
||||
{
|
||||
@ -447,7 +447,7 @@ RouteConfig (
|
||||
!HiiIsConfigHdrMatch (
|
||||
Configuration,
|
||||
&gOvmfPlatformConfigGuid,
|
||||
mVariableName
|
||||
mHiiFormName
|
||||
)
|
||||
)
|
||||
{
|
||||
|
@ -22,6 +22,7 @@
|
||||
// Name of the UEFI variable that we use for persistent storage.
|
||||
//
|
||||
CHAR16 mVariableName[] = L"PlatformConfig";
|
||||
CHAR16 mHiiFormName[] = L"MainFormState";
|
||||
|
||||
/**
|
||||
Serialize and persistently save platform configuration.
|
||||
|
@ -51,5 +51,6 @@ PlatformConfigLoad (
|
||||
#define PLATFORM_CONFIG_F_DOWNGRADE BIT63
|
||||
|
||||
extern CHAR16 mVariableName[];
|
||||
extern CHAR16 mHiiFormName[];
|
||||
|
||||
#endif // _PLATFORM_CONFIG_H_
|
||||
|
Loading…
x
Reference in New Issue
Block a user