]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/IndustryStandard/MemoryOverwriteRequestControlLock.h
MdePkg: Clean up source files
[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
70c7664c
JY
7 This program and the accompanying materials\r
8 are licensed and made available under the terms and conditions of the BSD License\r
9 which accompanies this distribution. The full text of the license may be found at\r
10 http://opensource.org/licenses/bsd-license.php\r
11\r
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14\r
15**/\r
16\r
17#ifndef __MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_H__\r
18#define __MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_H__\r
19\r
20#define MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_GUID \\r
21 { \\r
22 0xBB983CCF, 0x151D, 0x40E1, {0xA0, 0x7B, 0x4A, 0x17, 0xBE, 0x16, 0x82, 0x92} \\r
23 }\r
24\r
25#define MEMORY_OVERWRITE_REQUEST_CONTROL_LOCK_NAME L"MemoryOverwriteRequestControlLock"\r
26\r
27//\r
28// VendorGuid: {BB983CCF-151D-40E1-A07B-4A17BE168292}\r
29// Name: MemoryOverwriteRequestControlLock\r
30// Attributes: NV+BS+RT\r
31a9d3b4
JY
31// GetVariable value in Data parameter: 0x0 (unlocked); 0x1 (locked without key); 0x2 (locked with key)\r
32// SetVariable value in Data parameter: 0x0 (unlocked); 0x1 (locked);\r
33// Revision 2 additionally accepts an 8-byte value that represents a shared secret key.\r
70c7664c 34//\r
31a9d3b4
JY
35\r
36//\r
37// Note: Setting MemoryOverwriteRequestControlLock does not commit to flash (just changes the internal lock state).\r
38// Getting the variable returns the internal state and never exposes the key.\r
70c7664c
JY
39//\r
40\r
41extern EFI_GUID gEfiMemoryOverwriteRequestControlLockGuid;\r
42\r
43#endif\r