diff options
author | Star Zeng <star.zeng@intel.com> | 2014-07-02 02:29:02 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-07-02 02:29:02 +0000 |
commit | ef96ba3cbe6f9f3658f19407d4c2150dcd6eb457 (patch) | |
tree | 32ed337f3f754371afb7ee9748ca08e524364a3b /MdeModulePkg/Library | |
parent | edc93a319184294dfa2f1764baceb02f49ccdcc5 (diff) | |
download | edk2-ef96ba3cbe6f9f3658f19407d4c2150dcd6eb457.zip edk2-ef96ba3cbe6f9f3658f19407d4c2150dcd6eb457.tar.gz edk2-ef96ba3cbe6f9f3658f19407d4c2150dcd6eb457.tar.bz2 |
MdeModulePkg SmmLockBoxSmmLib: Add debug message for the address of lockbox(smm) copy.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15610 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library')
-rw-r--r-- | MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c b/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c index 79cdf7e..a789daf 100644 --- a/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c +++ b/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c @@ -1,6 +1,6 @@ /** @file
-Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions
@@ -267,7 +267,15 @@ SaveLockBox ( LockBox->Length = (UINT64)Length;
LockBox->Attributes = 0;
LockBox->SmramBuffer = SmramBuffer;
-
+
+ DEBUG ((
+ EFI_D_INFO,
+ "LockBoxGuid - %g, SmramBuffer - 0x%lx, Length - 0x%lx\n",
+ &LockBox->Guid,
+ LockBox->SmramBuffer,
+ LockBox->Length
+ ));
+
LockBoxQueue = InternalGetLockBoxQueue ();
ASSERT (LockBoxQueue != NULL);
InsertTailList (LockBoxQueue, &LockBox->Link);
|