]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/IndustryStandard/MemoryOverwriteRequestControlLock.h
BaseTools: process the files by the priority in BUILDRULEORDER
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / MemoryOverwriteRequestControlLock.h
CommitLineData
70c7664c
JY
1/** @file\r
2 Support for Microsoft Secure MOR implementation, defined at \r
3 Microsoft Secure MOR implementation.\r
4 https://msdn.microsoft.com/en-us/library/windows/hardware/mt270973(v=vs.85).aspx\r
5\r
6 Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
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
31// Size: 0x1 byte\r
32//\r
33// The BIOS initializes MemoryOverwriteRequestControlLock to a value of 0x00\r
34// before BDS (BOOT#### processing). When the OS loader calls SetVariable by\r
35// specifying 0x01, the access mode for both MemoryOverwriteRequestControlLock\r
36// and MemoryOverwriteRequestControl is changed to read-only. If any other\r
37// value is specified in the SetVariable call, it fails with the \r
38// EFI_INVALID_PARAMETER error code.\r
39//\r
40\r
41extern EFI_GUID gEfiMemoryOverwriteRequestControlLockGuid;\r
42\r
43#endif\r