TianoCore EDK2 master
Loading...
Searching...
No Matches
FaultTolerantWriteSmmDxe.h
Go to the documentation of this file.
1
11#ifndef __SMM_FTW_DXE_H__
12#define __SMM_FTW_DXE_H__
13
14#include <PiDxe.h>
15
17
20#include <Library/DebugLib.h>
22#include <Library/UefiLib.h>
23#include <Library/BaseLib.h>
25
26#include <Guid/EventGroup.h>
27
29
43EFIAPI
46 OUT UINTN *BlockSize
47 );
48
71EFIAPI
74 IN EFI_GUID *CallerId,
75 IN UINTN PrivateDataSize,
76 IN UINTN NumberOfWrites
77 );
78
107EFIAPI
108FtwWrite (
110 IN EFI_LBA Lba,
111 IN UINTN Offset,
112 IN UINTN Length,
113 IN VOID *PrivateData,
114 IN EFI_HANDLE FvBlockHandle,
115 IN VOID *Buffer
116 );
117
131EFIAPI
134 IN EFI_HANDLE FvBlockHandle
135 );
136
148EFIAPI
149FtwAbort (
151 );
152
179EFIAPI
182 OUT EFI_GUID *CallerId,
183 OUT EFI_LBA *Lba,
184 OUT UINTN *Offset,
185 OUT UINTN *Length,
186 IN OUT UINTN *PrivateDataSize,
187 OUT VOID *PrivateData,
188 OUT BOOLEAN *Complete
189 );
190
191#endif
UINT64 UINTN
EFI_STATUS EFIAPI FtwGetMaxBlockSize(IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL *This, OUT UINTN *BlockSize)
EFI_STATUS EFIAPI FtwRestart(IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL *This, IN EFI_HANDLE FvBlockHandle)
EFI_STATUS EFIAPI FtwAllocate(IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL *This, IN EFI_GUID *CallerId, IN UINTN PrivateDataSize, IN UINTN NumberOfWrites)
EFI_STATUS EFIAPI FtwWrite(IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL *This, IN EFI_LBA Lba, IN UINTN Offset, IN UINTN Length, IN VOID *PrivateData, IN EFI_HANDLE FvBlockHandle, IN VOID *Buffer)
EFI_STATUS EFIAPI FtwGetLastWrite(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)
EFI_STATUS EFIAPI FtwAbort(IN EFI_FAULT_TOLERANT_WRITE_PROTOCOL *This)
#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