UINTN RegionLength;\r
UINTN RegionArmAttributes;\r
\r
+ if (mIsFlushingGCD) {\r
+ return EFI_SUCCESS;\r
+ }\r
+\r
if ((BaseAddress & (SIZE_4KB - 1)) != 0) {\r
// Minimum granularity is SIZE_4KB (4KB on ARM)\r
DEBUG ((EFI_D_PAGE, "CpuSetMemoryAttributes(%lx, %lx, %lx): Minimum ganularity is SIZE_4KB\n", BaseAddress, Length, EfiAttributes));\r