Update HiiDataBase to fix parsing Hii package error. Some HiiPackages have no varstore and question, they has no the built in default value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8314 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -286,18 +286,17 @@ HiiConstructConfigHdr (
|
||||
);
|
||||
|
||||
/**
|
||||
It has the many same logic to HiiValidateSetting API.
|
||||
|
||||
Reset the default value specified by DefaultId to the driver
|
||||
configuration got by Request string.
|
||||
NULL request string support depends on the ExtractConfig interface of
|
||||
|
||||
NULL request string support depends on the ExportConfig interface of
|
||||
HiiConfigRouting protocol in UEFI specification.
|
||||
|
||||
@param EFI_STRING Request A null-terminated Unicode string in
|
||||
<MultiConfigRequest> format. It can be NULL.
|
||||
If it is NULL, all configuration for the
|
||||
entirety of the current HII database will be reset.
|
||||
@param UINT16 DefaultId Specifies the type of defaults to retrieve.
|
||||
@param Request A null-terminated Unicode string in
|
||||
<MultiConfigRequest> format. It can be NULL.
|
||||
If it is NULL, all configuration for the
|
||||
entirety of the current HII database will be reset.
|
||||
@param DefaultId Specifies the type of defaults to retrieve.
|
||||
|
||||
@retval TURE The default value is set successfully.
|
||||
@retval FALSE The default value can't be found and set.
|
||||
@@ -311,15 +310,14 @@ HiiSetToDefaults (
|
||||
|
||||
/**
|
||||
Validate the current configuration by parsing HII form IFR opcode.
|
||||
It can share the most logic with HiiSetToDefaults.
|
||||
|
||||
NULL request string support depends on the ExtractConfig interface of
|
||||
HiiConfigRouting protocol in UEFI specification.
|
||||
|
||||
@param EFI_STRING Request A null-terminated Unicode string in
|
||||
<MultiConfigRequest> format. It can be NULL.
|
||||
If it is NULL, all current configuration for the
|
||||
entirety of the current HII database will be validated.
|
||||
@param Request A null-terminated Unicode string in
|
||||
<MultiConfigRequest> format. It can be NULL.
|
||||
If it is NULL, all current configuration for the
|
||||
entirety of the current HII database will be validated.
|
||||
|
||||
@retval TURE Current configuration is valid.
|
||||
@retval FALSE Current configuration is invalid.
|
||||
|
Reference in New Issue
Block a user