diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-04 10:18:18 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-04 10:18:18 +0000 |
commit | fb42fffeb854aa2de56b1cdcb4d4f3ba61935652 (patch) | |
tree | eaf8258587a45b1728751a26456939c35c2dcbf9 /ArmPlatformPkg/Library/EblCmdLib | |
parent | d326412cce0672a81852813532b0b1d18fc8cdbc (diff) | |
download | edk2-platforms-fb42fffeb854aa2de56b1cdcb4d4f3ba61935652.tar.xz |
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
Diffstat (limited to 'ArmPlatformPkg/Library/EblCmdLib')
-rw-r--r-- | ArmPlatformPkg/Library/EblCmdLib/EblCmdMmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmPlatformPkg/Library/EblCmdLib/EblCmdMmu.c b/ArmPlatformPkg/Library/EblCmdLib/EblCmdMmu.c index 4b001eaef3..3477693916 100644 --- a/ArmPlatformPkg/Library/EblCmdLib/EblCmdMmu.c +++ b/ArmPlatformPkg/Library/EblCmdLib/EblCmdMmu.c @@ -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;
}
|