audk/UefiCpuPkg/PiSmmCpuDxeSmm
Jiewen Yao d2fc771113 UefiCpuPkg/PiSmmCpu: Add SMM Comm Buffer Paging Protection.
This patch sets the normal OS buffer EfiLoaderCode/Data,
EfiBootServicesCode/Data, EfiConventionalMemory, EfiACPIReclaimMemory
to be not present after SmmReadyToLock.

To access these region in OS runtime phase is not a good solution.

Previously, we did similar check in SmmMemLib to help SMI handler
do the check. But if SMI handler forgets the check, it can still
access these OS region and bring risk.

So here we enforce the policy to prevent it happening.

Cc: Jeff Fan <jeff.fan@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
2016-12-19 09:37:37 +08:00
..
Ia32 UefiCpuPkg/PiSmmCpu: Add SMM Comm Buffer Paging Protection. 2016-12-19 09:37:37 +08:00
X64 UefiCpuPkg/PiSmmCpu: Add SMM Comm Buffer Paging Protection. 2016-12-19 09:37:37 +08:00
CpuS3.c UefiCpuPkg/PiSmmCpuDxeSmm: Add volatile to mNumberToFinish 2016-11-17 17:37:50 -08:00
CpuService.c UefiCpuPkg/LocalApicLib: Rename GetProcessorLocation() 2016-11-02 09:16:21 +08:00
CpuService.h
MpService.c UefiCpuPkg: Make the comments align with the functions 2016-12-14 21:34:42 +08:00
PiSmmCpuDxeSmm.c UefiCpuPkg/PiSmmCpu: Add SMM Comm Buffer Paging Protection. 2016-12-19 09:37:37 +08:00
PiSmmCpuDxeSmm.h UefiCpuPkg/PiSmmCpu: Add SMM Comm Buffer Paging Protection. 2016-12-19 09:37:37 +08:00
PiSmmCpuDxeSmm.inf UefiCpuPkg/PiSmmCpuDxeSmm: Add paging protection. 2016-11-17 16:30:07 +08:00
PiSmmCpuDxeSmm.uni UefiCpuPkg: Convert all .uni files to utf-8 2015-12-15 04:59:14 +00:00
PiSmmCpuDxeSmmExtra.uni UefiCpuPkg: Convert all .uni files to utf-8 2015-12-15 04:59:14 +00:00
SmmCpuMemoryManagement.c UefiCpuPkg/PiSmmCpu: Add SMM Comm Buffer Paging Protection. 2016-12-19 09:37:37 +08:00
SmmProfile.c UefiCpuPkg/PiSmmCpuDxeSmm: handle dynamic PcdCpuMaxLogicalProcessorNumber 2016-11-28 12:19:40 +01:00
SmmProfile.h UefiCpuPkg/PiSmmCpu: Correct exception message. 2016-11-24 10:51:16 +08:00
SmmProfileInternal.h UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile: Remove unnecessary BTS MSRs 2016-05-16 10:40:18 -07:00
SmramSaveState.c UefiCpuPkg/PiSmmCpuDxeSmm: Always initialze PSD 2016-12-06 23:26:31 -08:00
SyncTimer.c