]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/CpuDxe: Fix out-of-sync issue in page attributes
authorJian J Wang <jian.j.wang@intel.com>
Sat, 16 Sep 2017 13:26:28 +0000 (21:26 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 21 Sep 2017 01:38:15 +0000 (09:38 +0800)
commitc1cab54ce57c2608b8b3ea051c7041f036f21153
tree1bb3dffa43daf499e62ca5c9535dcb52bfaa477b
parent947f3737abf65fda63f3ffd97fddfa6986986868
UefiCpuPkg/CpuDxe: Fix out-of-sync issue in page attributes

From CpuDxe driver perspective, it doesn't update GCD memory attributes from
current page table setup during its initialization. So the memory attributes in
GCD might not reflect all memory attributes in real world.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Suggested-by: Jiewen Yao <jiewen.yao@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>
UefiCpuPkg/CpuDxe/CpuDxe.c
UefiCpuPkg/CpuDxe/CpuDxe.h
UefiCpuPkg/CpuDxe/CpuPageTable.c