From: Liming Gao Date: Thu, 9 Feb 2017 07:03:18 +0000 (+0800) Subject: MdeModulePkg PiSmmIpl: Update SmmCommunication comments to match code logic X-Git-Tag: edk2-stable201903~4655 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=4b5d69d3020841d624ae7c4bf886002b6dbcc654 MdeModulePkg PiSmmIpl: Update SmmCommunication comments to match code logic Cc: Star Zeng Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao Reviewed-by: Star Zeng Reviewed-by: Feng Tian --- diff --git a/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c b/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c index d3a5cdad82..26b71f163a 100644 --- a/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c +++ b/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c @@ -1,7 +1,7 @@ /** @file SMM IPL that produces SMM related runtime protocols and load the SMM Core into SMRAM - Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -521,7 +521,7 @@ SmmCommunicationCommunicate ( 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; *CommSize -= OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, Data);