PRESERVE8\r
AREA SecException, CODE, READONLY, CODEALIGN, ALIGN=5\r
\r
-//============================================================
-//Default Exception Handlers
-//============================================================
-
-
-SecVectorTable
- b _DefaultResetHandler
- b _DefaultUndefined
- b _DefaultSWI
- b _DefaultPrefetchAbort
- b _DefaultDataAbort
- b _DefaultReserved
- b _DefaultIrq
- b _DefaultFiq
+//============================================================\r
+//Default Exception Handlers\r
+//============================================================\r
+ \r
+ \r
+SecVectorTable\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
-//
-_DefaultResetHandler
+//\r
+_DefaultResetHandler\r
mov r1, lr\r
- cps #0x13 ; Switch to SVC for common stack
- mov r0, #0
- blx SecCommonExceptionEntry
-
-_DefaultUndefined
+ cps #0x13 ; Switch to SVC for common stack\r
+ mov r0, #0\r
+ blx SecCommonExceptionEntry\r
+\r
+_DefaultUndefined\r
sub r1, LR\r
- cps #0x13 ; Switch to SVC for common stack
- mov r0, #1
- blx SecCommonExceptionEntry
-
-_DefaultSWI
+ cps #0x13 ; Switch to SVC for common stack\r
+ mov r0, #1\r
+ blx SecCommonExceptionEntry\r
+\r
+_DefaultSWI\r
sub r1, LR, #4\r
- cps #0x13 ; Switch to SVC for common stack
- mov r0, #2
- blx SecCommonExceptionEntry
-
-_DefaultPrefetchAbort
+ cps #0x13 ; Switch to SVC for common stack\r
+ mov r0, #2\r
+ blx SecCommonExceptionEntry\r
+\r
+_DefaultPrefetchAbort\r
sub r1, LR, #4\r
- cps #0x13 ; Switch to SVC for common stack
- mov r0, #3
- blx SecCommonExceptionEntry
-
-_DefaultDataAbort
+ cps #0x13 ; Switch to SVC for common stack\r
+ mov r0, #3\r
+ blx SecCommonExceptionEntry\r
+\r
+_DefaultDataAbort\r
sub r1, LR, #8\r
- cps #0x13 ; Switch to SVC for common stack
- mov r0, #4
- blx SecCommonExceptionEntry
-
-_DefaultReserved
+ cps #0x13 ; Switch to SVC for common stack\r
+ mov r0, #4\r
+ blx SecCommonExceptionEntry\r
+\r
+_DefaultReserved\r
mov r1, lr\r
- cps #0x13 ; Switch to SVC for common stack
- mov r0, #5
- blx SecCommonExceptionEntry
-
-_DefaultIrq
+ cps #0x13 ; Switch to SVC for common stack\r
+ mov r0, #5\r
+ blx SecCommonExceptionEntry\r
+ \r
+_DefaultIrq\r
sub r1, LR, #4\r
- cps #0x13 ; Switch to SVC for common stack
- mov r0, #6
- blx SecCommonExceptionEntry
-
-_DefaultFiq
+ cps #0x13 ; Switch to SVC for common stack\r
+ mov r0, #6\r
+ blx SecCommonExceptionEntry\r
+\r
+_DefaultFiq\r
sub r1, LR, #4\r
- cps #0x13 ; Switch to SVC for common stack
- mov r0, #7
- blx SecCommonExceptionEntry
+ cps #0x13 ; Switch to SVC for common stack\r
+ mov r0, #7\r
+ blx SecCommonExceptionEntry\r
\r
END\r