HomeSort by relevance Sort by last modified time
    Searched defs:FtwHeader (Results 1 - 3 of 3) sorted by null

  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWritePei/
FaultTolerantWritePei.c 54 EFI_FAULT_TOLERANT_WRITE_HEADER *FtwHeader;
57 FtwHeader = (EFI_FAULT_TOLERANT_WRITE_HEADER *) (FtwWorkSpaceHeader + 1);
60 while (FtwHeader->Complete == FTW_VALID_STATE) {
61 Offset += FTW_WRITE_TOTAL_SIZE (FtwHeader->NumberOfWrites, FtwHeader->PrivateDataSize);
66 *FtwWriteHeader = FtwHeader;
70 FtwHeader = (EFI_FAULT_TOLERANT_WRITE_HEADER *) ((UINT8 *) FtwWorkSpaceHeader + Offset);
75 *FtwWriteHeader = FtwHeader;
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/
FaultTolerantWrite.c 86 EFI_FAULT_TOLERANT_WRITE_HEADER *FtwHeader;
103 // If the FtwHeader is complete, skip the completed last write header/records
105 FtwHeader = FtwDevice->FtwLastWriteHeader;
110 if ((FtwHeader->HeaderAllocated == FTW_VALID_STATE) || (FtwHeader->WritesAllocated == FTW_VALID_STATE)) {
116 Offset = (UINT8 *) FtwHeader - (UINT8 *) FtwDevice->FtwWorkSpace;
123 FtwHeader = FtwDevice->FtwLastWriteHeader;
129 FtwHeader->WritesAllocated = FTW_INVALID_STATE;
130 FtwHeader->Complete = FTW_INVALID_STATE;
131 CopyMem (&FtwHeader->CallerId, CallerId, sizeof (EFI_GUID));
    [all...]
FtwMisc.c 795 EFI_FAULT_TOLERANT_WRITE_HEADER *FtwHeader;
798 FtwHeader = (EFI_FAULT_TOLERANT_WRITE_HEADER *) (FtwWorkSpaceHeader + 1);
801 while (FtwHeader->Complete == FTW_VALID_STATE) {
802 Offset += FTW_WRITE_TOTAL_SIZE (FtwHeader->NumberOfWrites, FtwHeader->PrivateDataSize);
807 *FtwWriteHeader = FtwHeader;
811 FtwHeader = (EFI_FAULT_TOLERANT_WRITE_HEADER *) ((UINT8 *) FtwWorkSpaceHeader + Offset);
816 *FtwWriteHeader = FtwHeader;
879 To check if FtwRecord is the first record of FtwHeader.
881 @param FtwHeader Pointer to the write record header
    [all...]

Completed in 60 milliseconds