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
This commit is contained in:
Star Zeng
2014-07-02 02:29:02 +00:00
committed by lzeng14
parent edc93a3191
commit ef96ba3cbe

View File

@ -1,6 +1,6 @@
/** @file /** @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 This program and the accompanying materials
are licensed and made available under the terms and conditions are licensed and made available under the terms and conditions
@ -267,7 +267,15 @@ SaveLockBox (
LockBox->Length = (UINT64)Length; LockBox->Length = (UINT64)Length;
LockBox->Attributes = 0; LockBox->Attributes = 0;
LockBox->SmramBuffer = SmramBuffer; LockBox->SmramBuffer = SmramBuffer;
DEBUG ((
EFI_D_INFO,
"LockBoxGuid - %g, SmramBuffer - 0x%lx, Length - 0x%lx\n",
&LockBox->Guid,
LockBox->SmramBuffer,
LockBox->Length
));
LockBoxQueue = InternalGetLockBoxQueue (); LockBoxQueue = InternalGetLockBoxQueue ();
ASSERT (LockBoxQueue != NULL); ASSERT (LockBoxQueue != NULL);
InsertTailList (LockBoxQueue, &LockBox->Link); InsertTailList (LockBoxQueue, &LockBox->Link);