Remove extra {} inside DEBUG_CODE() macro
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11244 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1480,7 +1480,6 @@ MtrrDebugPrintAllMtrrs (
|
||||
)
|
||||
{
|
||||
DEBUG_CODE (
|
||||
{
|
||||
MTRR_SETTINGS MtrrSettings;
|
||||
UINTN Index;
|
||||
UINTN Index1;
|
||||
@@ -1528,7 +1527,7 @@ MtrrDebugPrintAllMtrrs (
|
||||
for (Index = 0; Index < MTRR_NUMBER_OF_FIXED_MTRR; Index++) {
|
||||
Base = mMtrrLibFixedMtrrTable[Index].BaseAddress;
|
||||
for (Index1 = 0; Index1 < 8; Index1++) {
|
||||
MemoryType = (UINTN)RShiftU64 (MtrrSettings.Fixed.Mtrr[Index], Index1 * 8) & 0xff;
|
||||
MemoryType = (UINTN)(RShiftU64 (MtrrSettings.Fixed.Mtrr[Index], Index1 * 8) & 0xff);
|
||||
if (MemoryType > CacheWriteBack) {
|
||||
MemoryType = MTRR_CACHE_INVALID_TYPE;
|
||||
}
|
||||
@@ -1615,7 +1614,6 @@ MtrrDebugPrintAllMtrrs (
|
||||
}
|
||||
} while (Found);
|
||||
DEBUG((DEBUG_CACHE, "%016lx\n\n", Base - 1));
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user