summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2017-02-09 15:03:18 +0800
committerLiming Gao <liming.gao@intel.com>2017-02-10 11:18:34 +0800
commit4b5d69d3020841d624ae7c4bf886002b6dbcc654 (patch)
tree2ab099f3b2db46513750f4e2359e1f13cf370f89 /MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c
parentb8654f4de38e8d5ce7b943483222fd1bbc8d5ea2 (diff)
downloadedk2-4b5d69d3020841d624ae7c4bf886002b6dbcc654.tar.gz
edk2-4b5d69d3020841d624ae7c4bf886002b6dbcc654.tar.bz2
edk2-4b5d69d3020841d624ae7c4bf886002b6dbcc654.zip
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>
Diffstat (limited to 'MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c')
-rw-r--r--MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c4
1 files changed, 2 insertions, 2 deletions
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.<BR>
+ Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
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);