summaryrefslogtreecommitdiff
path: root/DuetPkg/DxeIpl/HobGeneration.c
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-18 04:14:35 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-18 04:14:35 +0000
commitf40bbc08c8690a3e408736cbf047999d2fac44eb (patch)
tree8c28197325ea0d61d136319b12c423f4f4062a00 /DuetPkg/DxeIpl/HobGeneration.c
parent1166d06825aca8d7e172776bd1297d6bcd3ad47c (diff)
downloadedk2-f40bbc08c8690a3e408736cbf047999d2fac44eb.zip
edk2-f40bbc08c8690a3e408736cbf047999d2fac44eb.tar.gz
edk2-f40bbc08c8690a3e408736cbf047999d2fac44eb.tar.bz2
Apply david's patch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5091 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/DxeIpl/HobGeneration.c')
-rw-r--r--DuetPkg/DxeIpl/HobGeneration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/DuetPkg/DxeIpl/HobGeneration.c b/DuetPkg/DxeIpl/HobGeneration.c
index bf2fa1a..624d676 100644
--- a/DuetPkg/DxeIpl/HobGeneration.c
+++ b/DuetPkg/DxeIpl/HobGeneration.c
@@ -547,7 +547,7 @@ Return:
//
// Process region above 4GB
//
- if (EfiMemoryDescriptor[Index].PhysicalStart >= 0x100000000) {
+ if (EfiMemoryDescriptor[Index].PhysicalStart >= 0x100000000LL) {
if (EfiMemoryDescriptor[Index].Type == EfiConventionalMemory) {
if (gHob->MemoryAbove4GB.PhysicalStart == 0) {
gHob->MemoryAbove4GB.PhysicalStart = EfiMemoryDescriptor[Index].PhysicalStart;