DEBUG ((DEBUG_GCD, "SetGcdMemorySpaceAttributes[0x%lX; 0x%lX] = 0x%lX\n",\r
BaseAddress, BaseAddress + Length, Attributes));\r
\r
+ // We do not support a smaller granularity than 4KB on ARM Architecture\r
+ if ((Length & EFI_PAGE_MASK) != 0) {\r
+ DEBUG ((DEBUG_WARN,\r
+ "Warning: We do not support smaller granularity than 4KB on ARM Architecture (passed length: 0x%lX).\n",\r
+ Length));\r
+ }\r
+\r
//\r
// Get all memory descriptors covered by the memory range\r
//\r