12#ifndef __VARIABLE_SUPPORT_H__
13#define __VARIABLE_SUPPORT_H__
18#define DEFAULT_VERSION 0x1
19#define DEFAULT_LOWESTSUPPORTEDVERSION 0x0
20#define DEFAULT_LASTATTEMPTSTATUS 0x0
21#define DEFAULT_LASTATTEMPTVERSION 0x0
27#define VARNAME_VERSION L"FmpVersion"
28#define VARNAME_LSV L"FmpLsv"
29#define VARNAME_LASTATTEMPTSTATUS L"LastAttemptStatus"
30#define VARNAME_LASTATTEMPTVERSION L"LastAttemptVersion"
38#define VARNAME_FMPSTATE L"FmpState"
47 BOOLEAN LastAttemptStatusValid;
48 BOOLEAN LastAttemptVersionValid;
51 UINT32 LastAttemptStatus;
52 UINT32 LastAttemptVersion;
186 IN UINT32 LowestSupportedVersion
203 IN UINT32 LastAttemptStatus
220 IN UINT32 LastAttemptVersion
UINT32 GetLastAttemptStatusFromVariable(IN FIRMWARE_MANAGEMENT_PRIVATE_DATA *Private)
VOID SetVersionInVariable(IN FIRMWARE_MANAGEMENT_PRIVATE_DATA *Private, IN UINT32 Version)
UINT32 GetLastAttemptVersionFromVariable(IN FIRMWARE_MANAGEMENT_PRIVATE_DATA *Private)
UINT32 GetLowestSupportedVersionFromVariable(IN FIRMWARE_MANAGEMENT_PRIVATE_DATA *Private)
VOID SetLowestSupportedVersionInVariable(IN FIRMWARE_MANAGEMENT_PRIVATE_DATA *Private, IN UINT32 LowestSupportedVersion)
VOID GenerateFmpVariableNames(IN OUT FIRMWARE_MANAGEMENT_PRIVATE_DATA *Private)
EFI_STATUS LockAllFmpVariables(IN FIRMWARE_MANAGEMENT_PRIVATE_DATA *Private)
UINT32 GetVersionFromVariable(IN FIRMWARE_MANAGEMENT_PRIVATE_DATA *Private)
VOID SetLastAttemptStatusInVariable(IN FIRMWARE_MANAGEMENT_PRIVATE_DATA *Private, IN UINT32 LastAttemptStatus)
VOID SetLastAttemptVersionInVariable(IN FIRMWARE_MANAGEMENT_PRIVATE_DATA *Private, IN UINT32 LastAttemptVersion)