TianoCore EDK2
master
Loading...
Searching...
No Matches
FaultTolerantWrite.h
Go to the documentation of this file.
1
12
#ifndef _FAULT_TOLERANT_WRITE_H_
13
#define _FAULT_TOLERANT_WRITE_H_
14
15
#define EDKII_FAULT_TOLERANT_WRITE_GUID \
16
{ \
17
0x1d3e9cb8, 0x43af, 0x490b, { 0x83, 0xa, 0x35, 0x16, 0xaa, 0x53, 0x20, 0x47 } \
18
}
19
20
//
21
// FTW Last write data. It will be used as gEdkiiFaultTolerantWriteGuid GUID hob data.
22
//
23
typedef
struct
{
27
EFI_PHYSICAL_ADDRESS
TargetAddress
;
31
EFI_PHYSICAL_ADDRESS
SpareAddress
;
36
UINT64
Length
;
37
}
FAULT_TOLERANT_WRITE_LAST_WRITE_DATA
;
38
39
//
40
// This GUID will be used to install PPI to inform the check for FTW last write data has been done.
41
// The related FAULT_TOLERANT_WRITE_LAST_WRITE_DATA GUID hob will be only built if
42
// FTW last write was still in progress with SpareComplete set and DestinationComplete not set.
43
// It means the target buffer has been backed up in spare block, then target block has been erased,
44
// but the target buffer has not been writen in target block from spare block.
45
//
46
extern
EFI_GUID
gEdkiiFaultTolerantWriteGuid;
47
48
#endif
EFI_PHYSICAL_ADDRESS
UINT64 EFI_PHYSICAL_ADDRESS
Definition:
UefiBaseType.h:50
FAULT_TOLERANT_WRITE_LAST_WRITE_DATA
Definition:
FaultTolerantWrite.h:23
FAULT_TOLERANT_WRITE_LAST_WRITE_DATA::SpareAddress
EFI_PHYSICAL_ADDRESS SpareAddress
Definition:
FaultTolerantWrite.h:31
FAULT_TOLERANT_WRITE_LAST_WRITE_DATA::TargetAddress
EFI_PHYSICAL_ADDRESS TargetAddress
Definition:
FaultTolerantWrite.h:27
FAULT_TOLERANT_WRITE_LAST_WRITE_DATA::Length
UINT64 Length
Definition:
FaultTolerantWrite.h:36
GUID
Definition:
Base.h:213
MdeModulePkg
Include
Guid
FaultTolerantWrite.h
Generated on Fri Nov 15 2024 18:01:13 for TianoCore EDK2 by
1.9.6