1 | /** @file
|
---|
2 | SMM Fault Tolerant Write protocol is related to EDK II-specific implementation of FTW,
|
---|
3 | provides boot-time service for fault tolerant write capability for block devices in
|
---|
4 | EFI SMM environment. The protocol provides for non-volatile storage of the intermediate
|
---|
5 | data and private information a caller would need to recover from a critical fault,
|
---|
6 | such as a power failure.
|
---|
7 |
|
---|
8 | Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
|
---|
9 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
10 |
|
---|
11 | **/
|
---|
12 |
|
---|
13 | #ifndef __SMM_FAULT_TOLERANT_WRITE_H__
|
---|
14 | #define __SMM_FAULT_TOLERANT_WRITE_H__
|
---|
15 |
|
---|
16 | #include <Protocol/FaultTolerantWrite.h>
|
---|
17 |
|
---|
18 | #define EFI_SMM_FAULT_TOLERANT_WRITE_PROTOCOL_GUID \
|
---|
19 | { \
|
---|
20 | 0x3868fc3b, 0x7e45, 0x43a7, { 0x90, 0x6c, 0x4b, 0xa4, 0x7d, 0xe1, 0x75, 0x4d } \
|
---|
21 | }
|
---|
22 |
|
---|
23 | //
|
---|
24 | // SMM Fault Tolerant Write protocol structure is the same as Fault Tolerant Write protocol.
|
---|
25 | // The SMM one is intend to run in SMM environment, which means it can be used by
|
---|
26 | // SMM drivers after ExitPmAuth.
|
---|
27 | //
|
---|
28 | typedef EFI_FAULT_TOLERANT_WRITE_PROTOCOL EFI_SMM_FAULT_TOLERANT_WRITE_PROTOCOL;
|
---|
29 |
|
---|
30 | extern EFI_GUID gEfiSmmFaultTolerantWriteProtocolGuid;
|
---|
31 |
|
---|
32 | #endif
|
---|