Home
last modified time | relevance | path

Searched refs:FtwLastWriteData (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/Pei/
DVariable.c317 if (StoreInfo->FtwLastWriteData != NULL) { in GetNextVariablePtr()
318 TargetAddress = StoreInfo->FtwLastWriteData->TargetAddress; in GetNextVariablePtr()
319 SpareAddress = StoreInfo->FtwLastWriteData->SpareAddress; in GetNextVariablePtr()
394 if (StoreInfo->FtwLastWriteData != NULL) { in CompareVariableName()
395 TargetAddress = StoreInfo->FtwLastWriteData->TargetAddress; in CompareVariableName()
396 SpareAddress = StoreInfo->FtwLastWriteData->SpareAddress; in CompareVariableName()
517 FAULT_TOLERANT_WRITE_LAST_WRITE_DATA *FtwLastWriteData; in GetVariableStore() local
521 StoreInfo->FtwLastWriteData = NULL; in GetVariableStore()
561 FtwLastWriteData = (FAULT_TOLERANT_WRITE_LAST_WRITE_DATA *) GET_GUID_HOB_DATA (GuidHob); in GetVariableStore()
562 if (FtwLastWriteData->TargetAddress == NvStorageBase) { in GetVariableStore()
[all …]
DVariable.h49 FAULT_TOLERANT_WRITE_LAST_WRITE_DATA *FtwLastWriteData; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariable.c3683 FAULT_TOLERANT_WRITE_LAST_WRITE_DATA *FtwLastWriteData; in InitNonVolatileVariableStore() local
3723 FtwLastWriteData = (FAULT_TOLERANT_WRITE_LAST_WRITE_DATA *) GET_GUID_HOB_DATA (GuidHob); in InitNonVolatileVariableStore()
3724 if (FtwLastWriteData->TargetAddress == NvStorageBase) { in InitNonVolatileVariableStore()
3725 …"Variable: NV storage is backed up in spare block: 0x%x\n", (UINTN) FtwLastWriteData->SpareAddress… in InitNonVolatileVariableStore()
3729 CopyMem (NvStorageData, (UINT8 *) (UINTN) (FtwLastWriteData->SpareAddress), NvStorageSize); in InitNonVolatileVariableStore()
3730 } else if ((FtwLastWriteData->TargetAddress > NvStorageBase) && in InitNonVolatileVariableStore()
3731 (FtwLastWriteData->TargetAddress < (NvStorageBase + NvStorageSize))) { in InitNonVolatileVariableStore()
3735 BackUpOffset = (UINT32) (FtwLastWriteData->TargetAddress - NvStorageBase); in InitNonVolatileVariableStore()
3737 …set: %x is backed up in spare block: 0x%x\n", BackUpOffset, (UINTN) FtwLastWriteData->SpareAddress… in InitNonVolatileVariableStore()
3741 …CopyMem (NvStorageData + BackUpOffset, (UINT8 *) (UINTN) FtwLastWriteData->SpareAddress, BackUpSiz… in InitNonVolatileVariableStore()