TianoCore EDK2 master
Loading...
Searching...
No Matches
FaultTolerantWrite.h
Go to the documentation of this file.
1
12#ifndef _FW_FAULT_TOLERANT_WRITE_PROTOCOL_H_
13#define _FW_FAULT_TOLERANT_WRITE_PROTOCOL_H_
14
15#define EFI_FAULT_TOLERANT_WRITE_PROTOCOL_GUID \
16 { \
17 0x3ebd9e82, 0x2c78, 0x4de6, {0x97, 0x86, 0x8d, 0x4b, 0xfc, 0xb7, 0xc8, 0x81 } \
18 }
19
20//
21// Forward reference for pure ANSI compatability
22//
24
37typedef
41 OUT UINTN *BlockSize
42 );
43
65typedef
69 IN EFI_GUID *CallerId,
70 IN UINTN PrivateDataSize,
71 IN UINTN NumberOfWrites
72 );
73
101typedef
105 IN EFI_LBA Lba,
106 IN UINTN Offset,
107 IN UINTN Length,
108 IN VOID *PrivateData,
109 IN EFI_HANDLE FvbHandle,
110 IN VOID *Buffer
111 );
112
126typedef
130 IN EFI_HANDLE FvbHandle
131 );
132
143typedef
147 );
148
174typedef
178 OUT EFI_GUID *CallerId,
179 OUT EFI_LBA *Lba,
180 OUT UINTN *Offset,
181 OUT UINTN *Length,
182 IN OUT UINTN *PrivateDataSize,
183 OUT VOID *PrivateData,
184 OUT BOOLEAN *Complete
185 );
186
187//
188// Protocol declaration
189//
197};
198
199extern EFI_GUID gEfiFaultTolerantWriteProtocolGuid;
200
201#endif
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_FAULT_TOLERANT_WRITE_WRITE)(IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL *This, IN EFI_LBA Lba, IN UINTN Offset, IN UINTN Length, IN VOID *PrivateData, IN EFI_HANDLE FvbHandle, IN VOID *Buffer)
EFI_STATUS(EFIAPI * EFI_FAULT_TOLERANT_WRITE_ABORT)(IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL *This)
EFI_STATUS(EFIAPI * EFI_FAULT_TOLERANT_WRITE_GET_MAX_BLOCK_SIZE)(IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL *This, OUT UINTN *BlockSize)
EFI_STATUS(EFIAPI * EFI_FAULT_TOLERANT_WRITE_ALLOCATE)(IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL *This, IN EFI_GUID *CallerId, IN UINTN PrivateDataSize, IN UINTN NumberOfWrites)
EFI_STATUS(EFIAPI * EFI_FAULT_TOLERANT_WRITE_RESTART)(IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL *This, IN EFI_HANDLE FvbHandle)
EFI_STATUS(EFIAPI * EFI_FAULT_TOLERANT_WRITE_GET_LAST_WRITE)(IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL *This, OUT EFI_GUID *CallerId, OUT EFI_LBA *Lba, OUT UINTN *Offset, OUT UINTN *Length, IN OUT UINTN *PrivateDataSize, OUT VOID *PrivateData, OUT BOOLEAN *Complete)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
UINT64 EFI_LBA
Definition: UefiBaseType.h:45
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
Definition: Base.h:213