MdeModulePkg SmmLockBoxSmmLib: Add debug message for the address of lockbox(smm)...
authorStar Zeng <star.zeng@intel.com>
Wed, 2 Jul 2014 02:29:02 +0000 (02:29 +0000)
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 2 Jul 2014 02:29:02 +0000 (02:29 +0000)
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

MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c

index 79cdf7e..a789daf 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
 \r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions\r
@@ -267,7 +267,15 @@ SaveLockBox (
   LockBox->Length      = (UINT64)Length;\r
   LockBox->Attributes  = 0;\r
   LockBox->SmramBuffer = SmramBuffer;\r
-  \r
+\r
+  DEBUG ((\r
+    EFI_D_INFO,\r
+    "LockBoxGuid - %g, SmramBuffer - 0x%lx, Length - 0x%lx\n",\r
+    &LockBox->Guid,\r
+    LockBox->SmramBuffer,\r
+    LockBox->Length\r
+    ));\r
+\r
   LockBoxQueue = InternalGetLockBoxQueue ();\r
   ASSERT (LockBoxQueue != NULL);\r
   InsertTailList (LockBoxQueue, &LockBox->Link);\r