Revision: 19687
http://sourceforge.net/p/edk2/code/19687
Author: jyao1
Date: 2016-01-19 13:17:10 +0000 (Tue, 19 Jan 2016)
Log Message:
-----------
MdePkg: Update MorLock comment to latest doc.
Microsoft updated secure MOR lock document with version 2.
So we update comment here.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <[email protected]>
Reviewed: "Zhang, Chao B" <[email protected]>
Modified Paths:
--------------
trunk/edk2/MdePkg/Include/IndustryStandard/MemoryOverwriteRequestControlLock.h
Modified:
trunk/edk2/MdePkg/Include/IndustryStandard/MemoryOverwriteRequestControlLock.h
===================================================================
---
trunk/edk2/MdePkg/Include/IndustryStandard/MemoryOverwriteRequestControlLock.h
2016-01-19 12:58:52 UTC (rev 19686)
+++
trunk/edk2/MdePkg/Include/IndustryStandard/MemoryOverwriteRequestControlLock.h
2016-01-19 13:17:10 UTC (rev 19687)
@@ -3,7 +3,7 @@
Microsoft Secure MOR implementation.
https://msdn.microsoft.com/en-us/library/windows/hardware/mt270973(v=vs.85).aspx
- Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD
License
which accompanies this distribution. The full text of the license may be
found at
@@ -28,15 +28,15 @@
// VendorGuid: {BB983CCF-151D-40E1-A07B-4A17BE168292}
// Name: MemoryOverwriteRequestControlLock
// Attributes: NV+BS+RT
-// Size: 0x1 byte
+// GetVariable value in Data parameter: 0x0 (unlocked); 0x1 (locked without
key); 0x2 (locked with key)
+// SetVariable value in Data parameter: 0x0 (unlocked); 0x1 (locked);
+// Revision 2 additionally accepts an
8-byte value that represents a shared secret key.
//
-// The BIOS initializes MemoryOverwriteRequestControlLock to a value of 0x00
-// before BDS (BOOT#### processing). When the OS loader calls SetVariable by
-// specifying 0x01, the access mode for both MemoryOverwriteRequestControlLock
-// and MemoryOverwriteRequestControl is changed to read-only. If any other
-// value is specified in the SetVariable call, it fails with the
-// EFI_INVALID_PARAMETER error code.
+
//
+// Note: Setting MemoryOverwriteRequestControlLock does not commit to flash
(just changes the internal lock state).
+// Getting the variable returns the internal state and never exposes the key.
+//
extern EFI_GUID gEfiMemoryOverwriteRequestControlLockGuid;
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits