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>
21 GCC_ASM_IMPORT(SecCommonExceptionEntry)
22 GCC_ASM_EXPORT(SecVectorTable)
24 //============================================================
25 // Default Exception Handlers
26 //============================================================
29 ASM_PFX(SecVectorTable):
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 # Switch to SVC for common stack
48 blx ASM_PFX(SecCommonExceptionEntry)
52 # Switch to SVC for common stack
55 blx ASM_PFX(SecCommonExceptionEntry)
59 # Switch to SVC for common stack
62 blx ASM_PFX(SecCommonExceptionEntry)
64 _DefaultPrefetchAbort:
66 # Switch to SVC for common stack
69 blx ASM_PFX(SecCommonExceptionEntry)
73 # Switch to SVC for common stack
76 blx ASM_PFX(SecCommonExceptionEntry)
80 # Switch to SVC for common stack
83 blx ASM_PFX(SecCommonExceptionEntry)
87 # Switch to SVC for common stack
90 blx ASM_PFX(SecCommonExceptionEntry)
94 # Switch to SVC for common stack
97 blx ASM_PFX(SecCommonExceptionEntry)