|
MdeModulePkg[all]
0.98
|
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 IN CHAR16 * | VariableName |
| typedef IN CHAR16 IN EFI_GUID * | VendorGuid |
Functions | |
| typedef | EFI_STATUS (EFIAPI *EDKII_VARIABLE_LOCK_PROTOCOL_REQUEST_TO_LOCK)(IN CONST EDKII_VARIABLE_LOCK_PROTOCOL *This |
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
| #define EDKII_VARIABLE_LOCK_PROTOCOL_GUID |
| typedef struct _EDKII_VARIABLE_LOCK_PROTOCOL EDKII_VARIABLE_LOCK_PROTOCOL |
| typedef IN CHAR16* VariableName |
| typedef IN CHAR16 IN EFI_GUID* VendorGuid |
| typedef EFI_STATUS | ( | EFIAPI * | EDKII_VARIABLE_LOCK_PROTOCOL_REQUEST_TO_LOCK | ) |
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. |
| EFI_GUID gEdkiiVariableLockProtocolGuid |