summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/CpuDxe/CpuDxe.inf
diff options
context:
space:
mode:
authorJiewen Yao <jiewen.yao@intel.com>2017-01-14 15:40:20 +0800
committerJiewen Yao <jiewen.yao@intel.com>2017-02-22 14:07:01 +0800
commit22292ed344b8512c838bdd162533198b51a51c0c (patch)
tree5b3afa17c49fcb226857a6a713151c0530404851 /UefiCpuPkg/CpuDxe/CpuDxe.inf
parentd37fa01fbbe2cf0cd8b49069a71706a33cb4a53e (diff)
downloadedk2-22292ed344b8512c838bdd162533198b51a51c0c.tar.gz
edk2-22292ed344b8512c838bdd162533198b51a51c0c.tar.bz2
edk2-22292ed344b8512c838bdd162533198b51a51c0c.zip
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>
Diffstat (limited to 'UefiCpuPkg/CpuDxe/CpuDxe.inf')
-rw-r--r--UefiCpuPkg/CpuDxe/CpuDxe.inf5
1 files changed, 3 insertions, 2 deletions
diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.inf b/UefiCpuPkg/CpuDxe/CpuDxe.inf
index bf389bbbe7..f61b2c9d7f 100644
--- a/UefiCpuPkg/CpuDxe/CpuDxe.inf
+++ b/UefiCpuPkg/CpuDxe/CpuDxe.inf
@@ -1,7 +1,7 @@
## @file
# CPU driver installs CPU Architecture Protocol and CPU MP protocol.
#
-# Copyright (c) 2008 - 2016, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2008 - 2017, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -19,7 +19,6 @@
FILE_GUID = 1A1E4886-9517-440e-9FDE-3BE44CEE2136
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
-
ENTRY_POINT = InitializeCpu
[Packages]
@@ -52,6 +51,8 @@
CpuGdt.h
CpuMp.c
CpuMp.h
+ CpuPageTable.h
+ CpuPageTable.c
[Sources.IA32]
Ia32/CpuAsm.asm