]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Protocol/SmmFaultTolerantWrite.h
MdeModulePkg: Clean up source files
[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
9This program and the accompanying materials are licensed and made available under\r
10the terms and conditions of the BSD License that accompanies this distribution.\r
8a2d4996 11The full text of the license may be found at\r
d1102dba 12http://opensource.org/licenses/bsd-license.php.\r
8a2d4996 13\r
d1102dba
LG
14THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
15WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
8a2d4996 16\r
17**/\r
18\r
19#ifndef __SMM_FAULT_TOLERANT_WRITE_H__\r
20#define __SMM_FAULT_TOLERANT_WRITE_H__\r
21\r
22#include <Protocol/FaultTolerantWrite.h>\r
23\r
24#define EFI_SMM_FAULT_TOLERANT_WRITE_PROTOCOL_GUID \\r
25 { \\r
26 0x3868fc3b, 0x7e45, 0x43a7, { 0x90, 0x6c, 0x4b, 0xa4, 0x7d, 0xe1, 0x75, 0x4d } \\r
27 }\r
28\r
29//\r
d1102dba
LG
30// SMM Fault Tolerant Write protocol structure is the same as Fault Tolerant Write protocol.\r
31// The SMM one is intend to run in SMM environment, which means it can be used by\r
32// SMM drivers after ExitPmAuth.\r
33//\r
8a2d4996 34typedef EFI_FAULT_TOLERANT_WRITE_PROTOCOL EFI_SMM_FAULT_TOLERANT_WRITE_PROTOCOL;\r
35\r
36extern EFI_GUID gEfiSmmFaultTolerantWriteProtocolGuid;\r
37\r
38#endif\r