]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/IndustryStandard/MemoryOverwriteRequestControlLock.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / MemoryOverwriteRequestControlLock.h
CommitLineData
70c7664c 1/** @file\r
9095d37b 2 Support for Microsoft Secure MOR implementation, defined at\r
70c7664c
JY
3 Microsoft Secure MOR implementation.\r
4 https://msdn.microsoft.com/en-us/library/windows/hardware/mt270973(v=vs.85).aspx\r
5\r
9095d37b 6 Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>\r
9344f092 7 SPDX-License-Identifier: BSD-2-Clause-Patent\r
70c7664c
JY
8\r
9**/\r
10\r
11#ifndef __MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_H__\r
12#define __MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_H__\r
13\r
14#define MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_GUID \\r
15 { \\r
16 0xBB983CCF, 0x151D, 0x40E1, {0xA0, 0x7B, 0x4A, 0x17, 0xBE, 0x16, 0x82, 0x92} \\r
17 }\r
18\r
2f88bd3a 19#define MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_NAME L"MemoryOverwriteRequestControlLock"\r
70c7664c
JY
20\r
21//\r
22// VendorGuid: {BB983CCF-151D-40E1-A07B-4A17BE168292}\r
23// Name: MemoryOverwriteRequestControlLock\r
24// Attributes: NV+BS+RT\r
31a9d3b4
JY
25// GetVariable value in Data parameter: 0x0 (unlocked); 0x1 (locked without key); 0x2 (locked with key)\r
26// SetVariable value in Data parameter: 0x0 (unlocked); 0x1 (locked);\r
27// Revision 2 additionally accepts an 8-byte value that represents a shared secret key.\r
70c7664c 28//\r
31a9d3b4
JY
29\r
30//\r
31// Note: Setting MemoryOverwriteRequestControlLock does not commit to flash (just changes the internal lock state).\r
32// Getting the variable returns the internal state and never exposes the key.\r
70c7664c
JY
33//\r
34\r
2f88bd3a 35extern EFI_GUID gEfiMemoryOverwriteRequestControlLockGuid;\r
70c7664c
JY
36\r
37#endif\r