MdeModulePkg PiSmmIpl: Update SmmCommunication comments to match code logic

Cc: Star Zeng <star.zeng@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
This commit is contained in:
Liming Gao 2017-02-09 15:03:18 +08:00
parent b8654f4de3
commit 4b5d69d302
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/** @file /** @file
SMM IPL that produces SMM related runtime protocols and load the SMM Core into SMRAM SMM IPL that produces SMM related runtime protocols and load the SMM Core into SMRAM
Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR> Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at distribution. The full text of the license may be found at
@ -521,7 +521,7 @@ SmmCommunicationCommunicate (
gSmmCorePrivate->InSmm = TRUE; gSmmCorePrivate->InSmm = TRUE;
// //
// Already in SMM and before SetVirtualAddressMap(), so call SmiManage() directly. // Before SetVirtualAddressMap(), we are in SMM or SMRAM is open and unlocked, call SmiManage() directly.
// //
CommunicateHeader = (EFI_SMM_COMMUNICATE_HEADER *)CommBuffer; CommunicateHeader = (EFI_SMM_COMMUNICATE_HEADER *)CommBuffer;
*CommSize -= OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, Data); *CommSize -= OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, Data);