The internal header file includes the common header files, defines\r
internal structure and functions used by FtwLite module.\r
\r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2012, 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 <PiDxe.h>\r
\r
#include <Guid/SystemNvDataGuid.h>\r
+#include <Guid/ZeroGuid.h>\r
#include <Protocol/FaultTolerantWrite.h>\r
#include <Protocol/FirmwareVolumeBlock.h>\r
#include <Protocol/SwapAddressRange.h>\r
/**\r
Initialization for Fault Tolerant Write is done in this handler.\r
\r
- @param[in,out] FtwData Pointer to the FTW device structure\r
+ @param[in, out] FtwDevice Pointer to the FTW device structure\r
\r
@retval EFI_SUCCESS Initialize the FTW protocol successfully.\r
@retval EFI_NOT_FOUND No proper FVB protocol was found.\r
InitFtwProtocol (\r
IN OUT EFI_FTW_DEVICE *FtwDevice\r
);\r
+\r
+/**\r
+ Initialize a local work space header.\r
+\r
+ Since Signature and WriteQueueSize have been known, Crc can be calculated out,\r
+ then the work space header will be fixed.\r
+**/\r
+VOID\r
+InitializeLocalWorkSpaceHeader (\r
+ VOID\r
+ );\r
\r
#endif\r