The internal header file includes the common header files, defines\r
internal structure and functions used by PeiVariable module.\r
\r
-Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>\r
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
#include <Guid/AuthenticatedVariableFormat.h>\r
#include <Guid/VariableIndexTable.h>\r
#include <Guid/SystemNvDataGuid.h>\r
+#include <Guid/FaultTolerantWrite.h>\r
\r
typedef enum {\r
VariableStoreTypeHob,\r
VariableStoreTypeMax\r
} VARIABLE_STORE_TYPE;\r
\r
+typedef struct {\r
+ VARIABLE_STORE_HEADER *VariableStoreHeader;\r
+ VARIABLE_INDEX_TABLE *IndexTable;\r
+ //\r
+ // If it is not NULL, it means there may be an inconsecutive variable whose\r
+ // partial content is still in NV storage, but another partial content is backed up\r
+ // in spare block.\r
+ //\r
+ FAULT_TOLERANT_WRITE_LAST_WRITE_DATA *FtwLastWriteData;\r
+} VARIABLE_STORE_INFO;\r
+\r
//\r
// Functions\r
//\r