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 #start of the code section
23 GCC_ASM_IMPORT(PrePiCommonExceptionEntry)
26 GCC_ASM_EXPORT(PrePiVectorTable)
28 //============================================================
29 //Default Exception Handlers
30 //============================================================
32 ASM_PFX(PrePiVectorTable):
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 # Switch to SVC for common stack
51 blx ASM_PFX(PrePiCommonExceptionEntry)
55 # Switch to SVC for common stack
58 blx ASM_PFX(PrePiCommonExceptionEntry)
62 # Switch to SVC for common stack
65 blx ASM_PFX(PrePiCommonExceptionEntry)
67 _DefaultPrefetchAbort:
69 # Switch to SVC for common stack
72 blx ASM_PFX(PrePiCommonExceptionEntry)
76 # Switch to SVC for common stack
79 blx ASM_PFX(PrePiCommonExceptionEntry)
83 # Switch to SVC for common stack
86 blx ASM_PFX(PrePiCommonExceptionEntry)
90 # Switch to SVC for common stack
93 blx ASM_PFX(PrePiCommonExceptionEntry)
97 # Switch to SVC for common stack
100 blx ASM_PFX(PrePiCommonExceptionEntry)