+# IMPORT\r
+GCC_ASM_IMPORT(PeiCommonExceptionEntry)\r
+\r
+# EXPORT\r
+GCC_ASM_EXPORT(PeiVectorTable)\r
+\r
+//============================================================\r
+//Default Exception Handlers\r
+//============================================================\r
+ \r
+ \r
+ASM_PFX(PeiVectorTable):\r
+ b _DefaultResetHandler\r
+ b _DefaultUndefined\r
+ b _DefaultSWI\r
+ b _DefaultPrefetchAbort\r
+ b _DefaultDataAbort\r
+ b _DefaultReserved\r
+ b _DefaultIrq\r
+ b _DefaultFiq\r
+\r
+//\r
+// Default Exception handlers: There is no plan to return from any of these exceptions.\r
+// No context saving at all.\r
+//\r
+_DefaultResetHandler:\r
+ mov r1, lr\r
+ # Switch to SVC for common stack\r
+ cps #0x13\r
+ mov r0, #0\r
+ blx ASM_PFX(PeiCommonExceptionEntry)\r
+\r
+_DefaultUndefined:\r
+ sub r1, LR, #4\r
+ # Switch to SVC for common stack\r
+ cps #0x13\r
+ mov r0, #1\r
+ blx ASM_PFX(PeiCommonExceptionEntry)\r
+\r
+_DefaultSWI:\r
+ sub r1, LR, #4\r
+ # Switch to SVC for common stack\r
+ cps #0x13\r
+ mov r0, #2\r
+ blx ASM_PFX(PeiCommonExceptionEntry)\r
+\r
+_DefaultPrefetchAbort:\r
+ sub r1, LR, #4\r
+ # Switch to SVC for common stack\r
+ cps #0x13\r
+ mov r0, #3\r
+ blx ASM_PFX(PeiCommonExceptionEntry)\r
+\r
+_DefaultDataAbort:\r
+ sub r1, LR, #8\r
+ # Switch to SVC for common stack\r
+ cps #0x13\r
+ mov r0, #4\r
+ blx ASM_PFX(PeiCommonExceptionEntry)\r
+\r
+_DefaultReserved:\r
+ mov r1, lr\r
+ # Switch to SVC for common stack\r
+ cps #0x13\r
+ mov r0, #5\r
+ blx ASM_PFX(PeiCommonExceptionEntry)\r
+\r
+_DefaultIrq:\r
+ sub r1, LR, #4\r
+ # Switch to SVC for common stack\r
+ cps #0x13\r
+ mov r0, #6\r
+ blx ASM_PFX(PeiCommonExceptionEntry)\r