diff options
author | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
---|---|---|
committer | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
commit | b7c51c9cf4864df6aabb99a1ae843becd577237c (patch) | |
tree | eebe9b0d0ca03062955223097e57da84dd618b9a /Protocol/FaultTolerantWrite/FaultTolerantWrite.c | |
download | zprj-master.tar.xz |
Diffstat (limited to 'Protocol/FaultTolerantWrite/FaultTolerantWrite.c')
-rw-r--r-- | Protocol/FaultTolerantWrite/FaultTolerantWrite.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Protocol/FaultTolerantWrite/FaultTolerantWrite.c b/Protocol/FaultTolerantWrite/FaultTolerantWrite.c new file mode 100644 index 0000000..ae05d1a --- /dev/null +++ b/Protocol/FaultTolerantWrite/FaultTolerantWrite.c @@ -0,0 +1,40 @@ +/*++ + This file contains 'Framework Code' and is licensed as such + under the terms of your license agreement with Intel or your + vendor. This file may not be modified, except as allowed by + additional terms of your license agreement. +--*/ +/*++ + +Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved +This software and associated documentation (if any) is furnished +under a license and may only be used or copied in accordance +with the terms of the license. Except as permitted by such +license, no part of this software or documentation may be +reproduced, stored in a retrieval system, or transmitted in any +form or by any means without the express written consent of +Intel Corporation. + + +Module Name: + + FaultTolerantWrite.c + +Abstract: + + Fault Tolerant Write protocol as defined in the EFI 2.0 Falut Tolerant Write + specification. + + This boot service only protocol provides fault tolerant write capability for + block devices. The protocol provides for non-volatile intermediate storage + of the data and private information a caller would need to recover from a + critical fault, such as power failure. + +--*/ + +#include "Tiano.h" +#include EFI_PROTOCOL_DEFINITION (FaultTolerantWrite) + +EFI_GUID gEfiFaultTolerantWriteProtocolGuid = EFI_FAULT_TOLERANT_WRITE_PROTOCOL_GUID; + +EFI_GUID_STRING(&gEfiFaultTolerantWriteProtocolGuid, "FaultTolerantWrite Protocol", "Fault Tolerant Write protocol"); |