summaryrefslogtreecommitdiff
path: root/Nt32Pkg/WinNtAutoScanPei
diff options
context:
space:
mode:
authorCinnamon Shia <cinnamon.shia@hpe.com>2016-01-25 04:45:55 +0000
committerlgao4 <lgao4@Edk2>2016-01-25 04:45:55 +0000
commit4e50241273b7e01cf2d7eb22ebf9f6a9d045b00b (patch)
tree5a510b825240ccb1fcbf29ebfcf7ad129f504a15 /Nt32Pkg/WinNtAutoScanPei
parent2a244a5d9f1b16517caf92114ec3e09bdb9c37a5 (diff)
downloadedk2-platforms-4e50241273b7e01cf2d7eb22ebf9f6a9d045b00b.tar.xz
Nt32Pkg: Fix asserts from running Nt32 64-bit on Win8
On Windows 8, 64-bit NT32 images are loaded above 4GB. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Cinnamon Shia <cinnamon.shia@hpe.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19736 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/WinNtAutoScanPei')
-rw-r--r--Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c b/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c
index ab5fd0f3f1..8b68fefcaa 100644
--- a/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c
+++ b/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c
@@ -1,6 +1,7 @@
/**@file
Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
+(C) Copyright 2016 Hewlett Packard Enterprise Development LP<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
@@ -176,9 +177,9 @@ Returns:
} while (!EFI_ERROR (Status));
//
- // Build the CPU hob with 36-bit addressing and 16-bits of IO space.
+ // Build the CPU hob with 52-bit addressing and 16-bits of IO space.
//
- BuildCpuHob (36, 16);
+ BuildCpuHob (52, 16);
//
// Build GUIDed Hob that contains the Memory Type Information array