TianoCore EDK2 master
Loading...
Searching...
No Matches
MemoryOverwriteRequestControlLock.h
Go to the documentation of this file.
1
11#ifndef __MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_H__
12#define __MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_H__
13
14#define MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_GUID \
15 { \
16 0xBB983CCF, 0x151D, 0x40E1, {0xA0, 0x7B, 0x4A, 0x17, 0xBE, 0x16, 0x82, 0x92} \
17 }
18
19#define MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_NAME L"MemoryOverwriteRequestControlLock"
20
21//
22// VendorGuid: {BB983CCF-151D-40E1-A07B-4A17BE168292}
23// Name: MemoryOverwriteRequestControlLock
24// Attributes: NV+BS+RT
25// GetVariable value in Data parameter: 0x0 (unlocked); 0x1 (locked without key); 0x2 (locked with key)
26// SetVariable value in Data parameter: 0x0 (unlocked); 0x1 (locked);
27// Revision 2 additionally accepts an 8-byte value that represents a shared secret key.
28//
29
30//
31// Note: Setting MemoryOverwriteRequestControlLock does not commit to flash (just changes the internal lock state).
32// Getting the variable returns the internal state and never exposes the key.
33//
34
35extern EFI_GUID gEfiMemoryOverwriteRequestControlLockGuid;
36
37#endif
Definition: Base.h:213