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
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
PiSmmCoreExtra.uni
PiSmmCorePrivateData.h
PiSmmIpl.c MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
PiSmmIpl.inf
PiSmmIpl.uni
PiSmmIplExtra.uni
Pool.c MdeModulePkg/PiSmmCore: Add MemoryAttributes support. 2016-11-17 16:30:04 +08:00
Smi.c
SmramProfileRecord.c MdeModulePkg/Core/PiSmmCore: rebase to ARRAY_SIZE() 2016-10-27 11:10:56 +02:00