]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/CpuDxe: Add memory attribute setting.
authorJiewen Yao <jiewen.yao@intel.com>
Sat, 14 Jan 2017 07:40:20 +0000 (15:40 +0800)
committerJiewen Yao <jiewen.yao@intel.com>
Wed, 22 Feb 2017 06:07:01 +0000 (14:07 +0800)
commit22292ed344b8512c838bdd162533198b51a51c0c
tree5b3afa17c49fcb226857a6a713151c0530404851
parentd37fa01fbbe2cf0cd8b49069a71706a33cb4a53e
UefiCpuPkg/CpuDxe: Add memory attribute setting.

Add memory attribute setting in CpuArch protocol.
Previous SetMemoryAttributes() API only supports cache attribute setting.

This patch updated SetMemoryAttributes() API to support memory attribute
setting by updating CPU page table.

Cc: Jeff Fan <jeff.fan@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.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>
UefiCpuPkg/CpuDxe/CpuDxe.c
UefiCpuPkg/CpuDxe/CpuDxe.inf
UefiCpuPkg/CpuDxe/CpuPageTable.c [new file with mode: 0644]
UefiCpuPkg/CpuDxe/CpuPageTable.h [new file with mode: 0644]