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