TianoCore EDK2 master
Loading...
Searching...
No Matches
SystemNvDataGuid.h File Reference

Go to the source code of this file.

Data Structures

struct  EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER
 
struct  EFI_FAULT_TOLERANT_WRITE_HEADER
 
struct  EFI_FAULT_TOLERANT_WRITE_RECORD
 

Macros

#define EFI_SYSTEM_NV_DATA_FV_GUID    {0xfff12b8d, 0x7696, 0x4c8b, {0xa9, 0x85, 0x27, 0x47, 0x7, 0x5b, 0x4f, 0x50} }
 
#define EDKII_WORKING_BLOCK_SIGNATURE_GUID    {0x9e58292b, 0x7c68, 0x497d, {0xa0, 0xce, 0x65, 0x0, 0xfd, 0x9f, 0x1b, 0x95} }
 
#define WORKING_BLOCK_VALID   0x1
 
#define WORKING_BLOCK_INVALID   0x2
 
#define FTW_VALID_STATE   0
 
#define FTW_INVALID_STATE   1
 
#define FTW_RECORD_SIZE(PrivateDataSize)   (sizeof (EFI_FAULT_TOLERANT_WRITE_RECORD) + (UINTN) PrivateDataSize)
 
#define FTW_RECORD_TOTAL_SIZE(NumberOfWrites, PrivateDataSize)    ((UINTN) (NumberOfWrites) * (sizeof (EFI_FAULT_TOLERANT_WRITE_RECORD) + (UINTN) PrivateDataSize))
 
#define FTW_WRITE_TOTAL_SIZE(NumberOfWrites, PrivateDataSize)
 

Variables

EFI_GUID gEfiSystemNvDataFvGuid
 
EFI_GUID gEdkiiWorkingBlockSignatureGuid
 

Detailed Description

This file defines NvDataFv GUID and FTW working block structures. The NvDataFv GUID can be used as FileSystemGuid in EFI_FIRMWARE_VOLUME_HEADER if this FV image contains NV data, such as NV variable data. This file also defines WorkingBlockSignature GUID for FTW working block signature.

Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file SystemNvDataGuid.h.

Macro Definition Documentation

◆ EDKII_WORKING_BLOCK_SIGNATURE_GUID

#define EDKII_WORKING_BLOCK_SIGNATURE_GUID    {0x9e58292b, 0x7c68, 0x497d, {0xa0, 0xce, 0x65, 0x0, 0xfd, 0x9f, 0x1b, 0x95} }

Definition at line 18 of file SystemNvDataGuid.h.

◆ EFI_SYSTEM_NV_DATA_FV_GUID

#define EFI_SYSTEM_NV_DATA_FV_GUID    {0xfff12b8d, 0x7696, 0x4c8b, {0xa9, 0x85, 0x27, 0x47, 0x7, 0x5b, 0x4f, 0x50} }

Definition at line 15 of file SystemNvDataGuid.h.

◆ FTW_INVALID_STATE

#define FTW_INVALID_STATE   1

Definition at line 65 of file SystemNvDataGuid.h.

◆ FTW_RECORD_SIZE

#define FTW_RECORD_SIZE (   PrivateDataSize)    (sizeof (EFI_FAULT_TOLERANT_WRITE_RECORD) + (UINTN) PrivateDataSize)

Definition at line 100 of file SystemNvDataGuid.h.

◆ FTW_RECORD_TOTAL_SIZE

#define FTW_RECORD_TOTAL_SIZE (   NumberOfWrites,
  PrivateDataSize 
)     ((UINTN) (NumberOfWrites) * (sizeof (EFI_FAULT_TOLERANT_WRITE_RECORD) + (UINTN) PrivateDataSize))

Definition at line 102 of file SystemNvDataGuid.h.

◆ FTW_VALID_STATE

#define FTW_VALID_STATE   0

Definition at line 64 of file SystemNvDataGuid.h.

◆ FTW_WRITE_TOTAL_SIZE

#define FTW_WRITE_TOTAL_SIZE (   NumberOfWrites,
  PrivateDataSize 
)
Value:

Definition at line 105 of file SystemNvDataGuid.h.

◆ WORKING_BLOCK_INVALID

#define WORKING_BLOCK_INVALID   0x2

Definition at line 25 of file SystemNvDataGuid.h.

◆ WORKING_BLOCK_VALID

#define WORKING_BLOCK_VALID   0x1

Definition at line 24 of file SystemNvDataGuid.h.