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 //============================================================
28 //FIXME: One of the EDK2 tool is broken. It does not look to respect the alignment. Even, if we specify 32-byte alignment for this file.
33 b _DefaultResetHandler
36 b _DefaultPrefetchAbort
43 // Default Exception handlers: There is no plan to return from any of these exceptions.
44 // No context saving at all.
48 cps #0x13 ; Switch to SVC for common stack
50 blx SecCommonExceptionEntry
54 cps #0x13 ; Switch to SVC for common stack
56 blx SecCommonExceptionEntry
60 cps #0x13 ; Switch to SVC for common stack
62 blx SecCommonExceptionEntry
66 cps #0x13 ; Switch to SVC for common stack
68 blx SecCommonExceptionEntry
72 cps #0x13 ; Switch to SVC for common stack
74 blx SecCommonExceptionEntry
78 cps #0x13 ; Switch to SVC for common stack
80 blx SecCommonExceptionEntry
84 cps #0x13 ; Switch to SVC for common stack
86 blx SecCommonExceptionEntry
90 cps #0x13 ; Switch to SVC for common stack
92 blx SecCommonExceptionEntry