]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/Variable/Pei/Variable.h
Perfected MSA files.
[mirror_edk2.git] / EdkModulePkg / Universal / Variable / Pei / Variable.h
index d400af4d144c6a13ff98f3b7083c9a12f64e2540..5cebff818c0d1bfaff41ac8fd86fa9f96b7e04cb 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2007, Intel Corporation\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -61,7 +61,6 @@ typedef struct {
   UINT16          Index[VARIABLE_INDEX_TABLE_VOLUME];\r
 } VARIABLE_INDEX_TABLE;\r
 \r
-extern EFI_GUID gEfiVariableIndexTableGuid;\r
 \r
 //\r
 // Functions\r
@@ -150,12 +149,32 @@ Returns:
 --*/\r
 ;\r
 \r
+/**\r
+  Get one variable by the index count.\r
+\r
+  @param  IndexTable  The pointer to variable index table.\r
+  @param  Count       The index count of variable in index table.\r
+\r
+  @return The pointer to variable header indexed by count.\r
+\r
+**/\r
 VARIABLE_HEADER *\r
 GetVariableByIndex (\r
   IN VARIABLE_INDEX_TABLE        *IndexTable,\r
   IN UINT32                      Count\r
   );\r
 \r
+/**\r
+  Record Variable in VariableIndex HOB.\r
+\r
+  Record Variable in VariableIndex HOB and update the length of variable index table.\r
+\r
+  @param  IndexTable  The pointer to variable index table.\r
+  @param  Variable    The pointer to the variable that will be recorded.\r
+\r
+  @retval VOID\r
+\r
+**/\r
 VOID\r
 VariableIndexTableUpdate (\r
   IN OUT  VARIABLE_INDEX_TABLE   *IndexTable,\r