summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/GenFds/AprioriSection.py
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2016-06-27 15:41:50 +0800
committerMichael Kinney <michael.d.kinney@intel.com>2016-07-14 08:57:41 -0700
commit8b9311b79557311e137d0ffdc7934fea3966b0d7 (patch)
treefec569ad1da16db58cf3d3acd7438fde1fcc86ea /BaseTools/Source/Python/GenFds/AprioriSection.py
parent77d172b76d4c14a667a85014563cc41d254044a4 (diff)
downloadedk2-platforms-8b9311b79557311e137d0ffdc7934fea3966b0d7.tar.xz
UefiCpuPkg/PiSmmCpuDxeSmm: Remove duplicate aligned buffer on S3 path
InitializeMpSyncData() invokes InitializeSmmCpuSemaphores() to allocate an aligned buffer for all locks and semaphores. However, this function is invoked on S3 resume path again to reset mSmmMpSyncData. It causes an additional aligned buffer to be allocated. This update moves InitializeSmmCpuSemaphores() into InitializeMpServiceData() that is only invoked on normal boot. InitializeMpSyncData() is updated to reset the locks/semaphore in mSmmMpSyncData. Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Feng Tian <feng.tian@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/AprioriSection.py')
0 files changed, 0 insertions, 0 deletions