]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableParsing.h
MdeModulePkg/Variable: Parameterize GetNextVariableInternal () stores
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / RuntimeDxe / VariableParsing.h
index b0d7f76bd8f070d400d5286d9ca0016f0e242e7d..6555316f52ec7c0f7674dda9818d490eeaf1b22f 100644 (file)
@@ -248,18 +248,20 @@ FindVariableEx (
   );\r
 \r
 /**\r
-  This code Finds the Next available variable.\r
+  This code finds the next available variable.\r
 \r
   Caution: This function may receive untrusted input.\r
   This function may be invoked in SMM mode. This function will do basic validation, before parse the data.\r
 \r
-  @param[in]  VariableName  Pointer to variable name.\r
-  @param[in]  VendorGuid    Variable Vendor Guid.\r
-  @param[out] VariablePtr   Pointer to variable header address.\r
+  @param[in]  VariableName      Pointer to variable name.\r
+  @param[in]  VendorGuid        Variable Vendor Guid.\r
+  @param[in]  VariableStoreList A list of variable stores that should be used to get the next variable.\r
+                                The maximum number of entries is the max value of VARIABLE_STORE_TYPE.\r
+  @param[out] VariablePtr       Pointer to variable header address.\r
 \r
   @retval EFI_SUCCESS           The function completed successfully.\r
   @retval EFI_NOT_FOUND         The next variable was not found.\r
-  @retval EFI_INVALID_PARAMETER If VariableName is not an empty string, while VendorGuid is NULL.\r
+  @retval EFI_INVALID_PARAMETER If VariableName is nt an empty string, while VendorGuid is NULL.\r
   @retval EFI_INVALID_PARAMETER The input values of VariableName and VendorGuid are not a name and\r
                                 GUID of an existing variable.\r
 \r
@@ -269,6 +271,7 @@ EFIAPI
 VariableServiceGetNextVariableInternal (\r
   IN  CHAR16                *VariableName,\r
   IN  EFI_GUID              *VendorGuid,\r
+  IN  VARIABLE_STORE_HEADER **VariableStoreList,\r
   OUT VARIABLE_HEADER       **VariablePtr\r
   );\r
 \r