\r
//Note: On ARM processor with the Security Extension, the Vector Table can be located anywhere in the memory.\r
// The Vector Base Address Register defines the location\r
- ArmWriteVBar(PcdGet32(PcdCpuVectorBaseAddress));\r
+ ArmWriteVBar (PcdGet32(PcdCpuVectorBaseAddress));\r
} else {\r
+ // The Vector table must be 32-byte aligned\r
+ ASSERT(((UINT32)ExceptionHandlersStart & ((1 << 5)-1)) == 0);\r
+\r
// We do not copy the Exception Table at PcdGet32(PcdCpuVectorBaseAddress). We just set Vector Base Address to point into CpuDxe code.\r
- ArmWriteVBar((UINT32)ExceptionHandlersStart);\r
+ ArmWriteVBar ((UINT32)ExceptionHandlersStart);\r
}\r
\r
if (FiqEnabled) {\r