diff options
author | Jeff Fan <jeff.fan@intel.com> | 2016-11-18 10:46:43 +0800 |
---|---|---|
committer | Jeff Fan <jeff.fan@intel.com> | 2016-11-22 15:22:17 +0800 |
commit | eaae7b33b1cf6b9f21db1636f219c2b6a8d88afd (patch) | |
tree | b7e736f6b63d62f7b6c4823ea241c0aa6f0f32ed /BaseTools/Source/Python/Eot/CodeFragment.py | |
parent | 01dd077315c6759c94af9af4232f8318db13cf8d (diff) | |
download | edk2-platforms-eaae7b33b1cf6b9f21db1636f219c2b6a8d88afd.tar.xz |
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>
Diffstat (limited to 'BaseTools/Source/Python/Eot/CodeFragment.py')
0 files changed, 0 insertions, 0 deletions