Apply david's patch.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5091 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2
2008-04-18 04:14:35 +00:00
parent 1166d06825
commit f40bbc08c8
11 changed files with 28 additions and 24 deletions

View File

@@ -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;