}\r
NextRegionLength += TT_DESCRIPTOR_SECTION_SIZE;\r
} else if (TT_DESCRIPTOR_SECTION_TYPE_IS_PAGE_TABLE(FirstLevelTable[i])) {\r
+ // In this case any bits set in the 'NextSectionAttributes' are garbage and were set from\r
+ // bits that are actually part of the pagetable address. We clear it out to zero so that\r
+ // the SyncCacheConfigPage will use the page attributes instead of trying to convert the\r
+ // section attributes into page attributes\r
+ NextSectionAttributes = 0;\r
Status = SyncCacheConfigPage (\r
i,FirstLevelTable[i],\r
NumberOfDescriptors, MemorySpaceMap,\r