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