audk/MdeModulePkg/Core/PiSmmCore
Jeff Fan eaae7b33b1 MdeModulePkg/PiSmmCore: Cache CommunicationBuffer info before using it
gSmmCorePrivate->CommunicationBuffer and gSmmCorePrivate->BufferSize locate at
runtime memory region. That means they could be modified by non-SMM code during
runtime.

We should cache them into SMM local variables before we verify them. After
verification, we should use the cached ones directly instead of the ones in
gSmmCorePrivate.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
2016-11-22 15:22:17 +08:00
..
Dependency.c MdeModulePkg/Core: Fix typos in comments 2016-10-27 09:11:17 +08:00
Dispatcher.c MdeModulePkg/PiSmmCore: Add MemoryAttributes support. 2016-11-17 16:30:04 +08:00
Handle.c
InstallConfigurationTable.c
Locate.c MdeModulePkg/Core: Fix typos in comments 2016-10-27 09:11:17 +08:00
MemoryAttributesTable.c MdeModulePkg/PiSmmCore: Add MemoryAttributes support. 2016-11-17 16:30:04 +08:00
Notify.c MdeModulePkg/SmmCore: SMM register protocol notify function clarify 2015-05-07 02:29:52 +00:00
Page.c MdeModulePkg/PiSmmCore: Add MemoryAttributes support. 2016-11-17 16:30:04 +08:00
PiSmmCore.c MdeModulePkg/PiSmmCore: Cache CommunicationBuffer info before using it 2016-11-22 15:22:17 +08:00
PiSmmCore.h MdeModulePkg/PiSmmCore: Add MemoryAttributes support. 2016-11-17 16:30:04 +08:00
PiSmmCore.inf MdeModulePkg/PiSmmCore: Add MemoryAttributes support. 2016-11-17 16:30:04 +08:00
PiSmmCore.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PiSmmCoreExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PiSmmCorePrivateData.h MdeModulePkg PiSmmCore: Remove a hidden assumption of SMRAM reservation 2015-07-26 07:38:12 +00:00
PiSmmIpl.c MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
PiSmmIpl.inf MdeModulePkg/PiSmmIpl: Check order of EndOfDxe and DxeSmmReadyToLock 2016-05-30 09:41:02 +08:00
PiSmmIpl.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PiSmmIplExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Pool.c MdeModulePkg/PiSmmCore: Add MemoryAttributes support. 2016-11-17 16:30:04 +08:00
Smi.c Update SmiManager() comments and implementation to follow the new rule clarified by PI 1.2.1 errata A. 2013-02-20 03:38:10 +00:00
SmramProfileRecord.c MdeModulePkg/Core/PiSmmCore: rebase to ARRAY_SIZE() 2016-10-27 11:10:56 +02:00