2 // Copyright (c) 2011, ARM Limited. All rights reserved.
4 // This program and the accompanying materials
5 // are licensed and made available under the terms and conditions of the BSD License
6 // which accompanies this distribution. The full text of the license may be found at
7 // http://opensource.org/licenses/bsd-license.php
9 // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #include <AsmMacroIoLib.h>
18 IMPORT SecCommonExceptionEntry
22 AREA SecException, CODE, READONLY, CODEALIGN, ALIGN=5
24 //============================================================
25 //Default Exception Handlers
26 //============================================================
30 b _DefaultResetHandler
33 b _DefaultPrefetchAbort
40 // Default Exception handlers: There is no plan to return from any of these exceptions.
41 // No context saving at all.
45 cps #0x13 ; Switch to SVC for common stack
47 blx SecCommonExceptionEntry
51 cps #0x13 ; Switch to SVC for common stack
53 blx SecCommonExceptionEntry
57 cps #0x13 ; Switch to SVC for common stack
59 blx SecCommonExceptionEntry
63 cps #0x13 ; Switch to SVC for common stack
65 blx SecCommonExceptionEntry
69 cps #0x13 ; Switch to SVC for common stack
71 blx SecCommonExceptionEntry
75 cps #0x13 ; Switch to SVC for common stack
77 blx SecCommonExceptionEntry
81 cps #0x13 ; Switch to SVC for common stack
83 blx SecCommonExceptionEntry
87 cps #0x13 ; Switch to SVC for common stack
89 blx SecCommonExceptionEntry