10#ifndef __SMM_FTW_COMMON_H__
11#define __SMM_FTW_COMMON_H__
16#define FTW_FUNCTION_GET_MAX_BLOCK_SIZE 1
17#define FTW_FUNCTION_ALLOCATE 2
18#define FTW_FUNCTION_WRITE 3
19#define FTW_FUNCTION_RESTART 4
20#define FTW_FUNCTION_ABORT 5
21#define FTW_FUNCTION_GET_LAST_WRITE 6
32#define SMM_COMMUNICATE_HEADER_SIZE (OFFSET_OF (EFI_MM_COMMUNICATE_HEADER, Data))
37#define SMM_FTW_COMMUNICATE_HEADER_SIZE (OFFSET_OF (SMM_FTW_COMMUNICATE_FUNCTION_HEADER, Data))
45 UINTN PrivateDataSize;
52 UINTN PrivateDataSize;
69 UINTN PrivateDataSize;
VOID FtwNotifySmmReady(VOID)
BOOLEAN FtwSmmIsPrimaryBufferValid(IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length)
EFI_STATUS MmFaultTolerantWriteInitialize(VOID)
UINT32 EFI_FVB_ATTRIBUTES_2
UINT64 EFI_PHYSICAL_ADDRESS