ArmPlatformPkg: Fix build issues
Other compiler version ... other warnings git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11970 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -128,8 +128,8 @@ MmuEntryGetAddress (
|
||||
} else if ((Entry.Value & 0x3) == 2) { // Section Type
|
||||
return Entry.Value & TT_DESCRIPTOR_SECTION_BASE_ADDRESS_MASK;
|
||||
} else if ((Entry.Value & 0x3) == 1) { // Level2 Table
|
||||
MMU_ENTRY Entry = MmuEntryCreate(Level2,(UINT32*)(Entry.Value & 0xFFFFC000),0);
|
||||
return MmuEntryGetAddress(Entry);
|
||||
MMU_ENTRY Level2Entry = MmuEntryCreate (Level2,(UINT32*)(Entry.Value & 0xFFFFC000),0);
|
||||
return MmuEntryGetAddress (Level2Entry);
|
||||
} else { // Page Type
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user