From ef96ba3cbe6f9f3658f19407d4c2150dcd6eb457 Mon Sep 17 00:00:00 2001 From: Star Zeng Date: Wed, 2 Jul 2014 02:29:02 +0000 Subject: MdeModulePkg SmmLockBoxSmmLib: Add debug message for the address of lockbox(smm) copy. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Jiewen Yao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15610 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c') diff --git a/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c b/MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.c index 79cdf7e943..a789daf9a8 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.
+Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.
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); -- cgit v1.2.3