by pretending that a memory buffer is storage for the NV variables.\r
\r
Copyright (c) 2006 - 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
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
\r
// UINT32 Size;\r
(\r
- FixedPcdGet32 (PcdVariableStoreSize) -\r
+ FixedPcdGet32 (PcdFlashNvStorageVariableSize) -\r
OFFSET_OF (FVB_FV_HDR_AND_VARS_TEMPLATE, VarHdr)\r
),\r
\r
ASSERT (FixedPcdGet32 (PcdFlashNvStorageFtwSpareSize) %\r
EMU_FVB_BLOCK_SIZE == 0);\r
if (\r
- (PcdGet32 (PcdVariableStoreSize) +\r
+ (PcdGet32 (PcdFlashNvStorageVariableSize) +\r
PcdGet32 (PcdFlashNvStorageFtwWorkingSize)\r
) >\r
EMU_FVB_NUM_SPARE_BLOCKS * EMU_FVB_BLOCK_SIZE\r
//\r
// Initialize the Fault Tolerant Write data area\r
//\r
- SubPtr = (VOID*) ((UINT8*) Ptr + PcdGet32 (PcdVariableStoreSize));\r
+ SubPtr = (VOID*) ((UINT8*) Ptr + PcdGet32 (PcdFlashNvStorageVariableSize));\r
PcdStatus = PcdSet32S (PcdFlashNvStorageFtwWorkingBase,\r
(UINT32)(UINTN) SubPtr);\r
ASSERT_RETURN_ERROR (PcdStatus);\r