summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/CpuDxe/CpuDxe.c
diff options
context:
space:
mode:
Diffstat (limited to 'UefiCpuPkg/CpuDxe/CpuDxe.c')
-rw-r--r--UefiCpuPkg/CpuDxe/CpuDxe.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.c b/UefiCpuPkg/CpuDxe/CpuDxe.c
index bf03978710..472de55180 100644
--- a/UefiCpuPkg/CpuDxe/CpuDxe.c
+++ b/UefiCpuPkg/CpuDxe/CpuDxe.c
@@ -1034,6 +1034,11 @@ InitializeCpu (
ASSERT_EFI_ERROR (Status);
//
+ // Install EFI memory attribute Protocol
+ //
+ InstallEfiMemoryAttributeProtocol (mCpuHandle);
+
+ //
// Refresh GCD memory space map according to MTRR value.
//
RefreshGcdMemoryAttributes ();