audk/UefiCpuPkg/CpuDxe
Jian J Wang 147fd35c3e UefiCpuPkg/CpuDxe: Enable protection for newly added page table
One of the functionalities of CpuDxe is to update memory paging attributes.
If page table protection is applied, it must be disabled temporarily before
any attributes update and enabled again afterwards.

This patch makes use of the same way as DxeIpl to allocate page table memory
from reserved memory pool, which helps to reduce potential "split" operation
and recursive calling of SetMemorySpaceAttributes().

Laszlo (lersek@redhat.com) did a regression test on QEMU virtual platform with
one middle version of this series patch. The details can be found at

 https://lists.01.org/pipermail/edk2-devel/2017-December/018625.html

There're a few changes after his work.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
2017-12-12 10:14:51 +08:00
..
Ia32 UefiCpuPkg/CpuDxe: Remove unused codes and files 2016-08-17 20:07:07 +08:00
X64 UefiCpuPkg/CpuDxe: Remove unused codes and files 2016-08-17 20:07:07 +08:00
CpuDxe.c UefiCpuPkg/CpuDxe: Enable protection for newly added page table 2017-12-12 10:14:51 +08:00
CpuDxe.h UefiCpuPkg/CpuDxe: Enable protection for newly added page table 2017-12-12 10:14:51 +08:00
CpuDxe.inf UefiCpuPkg/CpuDxe: Initialize stack switch for MP 2017-12-08 14:38:50 +08:00
CpuDxe.uni UefiCpuPkg/CpuDxe: Consume MpInitLib to produce CPU MP Protocol services 2016-08-17 20:06:56 +08:00
CpuDxeExtra.uni UefiCpuPkg/CpuDxe: Consume MpInitLib to produce CPU MP Protocol services 2016-08-17 20:06:56 +08:00
CpuGdt.c UefiCpuPkg: CpuDxe: Update GDT to be consistent with DxeIplPeim 2015-10-30 17:32:27 +00:00
CpuGdt.h UefiCpuPkg: CpuDxe: Update GDT to be consistent with DxeIplPeim 2015-10-30 17:32:27 +00:00
CpuMp.c UefiCpuPkg/CpuDxe: Initialize stack switch for MP 2017-12-08 14:38:50 +08:00
CpuMp.h UefiCpuPkg CpuDxe: Update return status to follow spec. 2017-07-07 08:54:10 +08:00
CpuPageTable.c UefiCpuPkg/CpuDxe: Enable protection for newly added page table 2017-12-12 10:14:51 +08:00
CpuPageTable.h UefiCpuPkg/CpuDxe: Enable protection for newly added page table 2017-12-12 10:14:51 +08:00