TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | _EDKII_VARIABLE_LOCK_PROTOCOL |
Macros | |
#define | EDKII_VARIABLE_LOCK_PROTOCOL_GUID |
Typedefs | |
typedef struct _EDKII_VARIABLE_LOCK_PROTOCOL | EDKII_VARIABLE_LOCK_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | EDKII_VARIABLE_LOCK_PROTOCOL_REQUEST_TO_LOCK) (IN CONST EDKII_VARIABLE_LOCK_PROTOCOL *This, IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid) |
Variables | |
EFI_GUID | gEdkiiVariableLockProtocolGuid |
Variable Lock Protocol is related to EDK II-specific implementation of variables and intended for use as a means to mark a variable read-only after the event EFI_END_OF_DXE_EVENT_GUID is signaled.
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file VariableLock.h.
#define EDKII_VARIABLE_LOCK_PROTOCOL_GUID |
Definition at line 14 of file VariableLock.h.
typedef struct _EDKII_VARIABLE_LOCK_PROTOCOL EDKII_VARIABLE_LOCK_PROTOCOL |
Definition at line 19 of file VariableLock.h.
typedef EFI_STATUS(EFIAPI * EDKII_VARIABLE_LOCK_PROTOCOL_REQUEST_TO_LOCK) (IN CONST EDKII_VARIABLE_LOCK_PROTOCOL *This, IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid) |
Mark a variable that will become read-only after leaving the DXE phase of execution. Write request coming from SMM environment through EFI_SMM_VARIABLE_PROTOCOL is allowed.
[in] | This | The EDKII_VARIABLE_LOCK_PROTOCOL instance. |
[in] | VariableName | A pointer to the variable name that will be made read-only subsequently. |
[in] | VendorGuid | A pointer to the vendor GUID that will be made read-only subsequently. |
EFI_SUCCESS | The variable specified by the VariableName and the VendorGuid was marked as pending to be read-only. |
EFI_INVALID_PARAMETER | VariableName or VendorGuid is NULL. Or VariableName is an empty string. |
EFI_ACCESS_DENIED | EFI_END_OF_DXE_EVENT_GROUP_GUID or EFI_EVENT_GROUP_READY_TO_BOOT has already been signaled. |
EFI_OUT_OF_RESOURCES | There is not enough resource to hold the lock request. |
Definition at line 38 of file VariableLock.h.