]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/Library/DebugAgentSymbolsBaseLib/AArch64/DebugAgentException.S
ArmPkg: Added Aarch64 support
[mirror_edk2.git] / ArmPkg / Library / DebugAgentSymbolsBaseLib / AArch64 / DebugAgentException.S
1 #------------------------------------------------------------------------------
2 #
3 # Copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>
4 #
5 # This program and the accompanying materials
6 # are licensed and made available under the terms and conditions of the BSD License
7 # which accompanies this distribution. The full text of the license may be found at
8 # http://opensource.org/licenses/bsd-license.php
9 #
10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 #
13 #------------------------------------------------------------------------------
14
15 GCC_ASM_EXPORT(DebugAgentVectorTable)
16 GCC_ASM_IMPORT(DefaultExceptionHandler)
17
18 .text
19 ASM_PFX(DebugAgentVectorTable):
20
21 //
22 // Current EL with SP0 : 0x0 - 0x180
23 //
24 .align 11
25 ASM_PFX(SynchronousExceptionSP0):
26 b ASM_PFX(SynchronousExceptionSP0)
27
28 .align 7
29 ASM_PFX(IrqSP0):
30 b ASM_PFX(IrqSP0)
31
32 .align 7
33 ASM_PFX(FiqSP0):
34 b ASM_PFX(FiqSP0)
35
36 .align 7
37 ASM_PFX(SErrorSP0):
38 b ASM_PFX(SErrorSP0)
39
40 //
41 // Current EL with SPx: 0x200 - 0x380
42 //
43 .align 7
44 ASM_PFX(SynchronousExceptionSPx):
45 b ASM_PFX(SynchronousExceptionSPx)
46
47 .align 7
48 ASM_PFX(IrqSPx):
49 b ASM_PFX(IrqSPx)
50
51 .align 7
52 ASM_PFX(FiqSPx):
53 b ASM_PFX(FiqSPx)
54
55 .align 7
56 ASM_PFX(SErrorSPx):
57 b ASM_PFX(SErrorSPx)
58
59 /* Lower EL using AArch64 : 0x400 - 0x580 */
60 .align 7
61 ASM_PFX(SynchronousExceptionA64):
62 b ASM_PFX(SynchronousExceptionA64)
63
64 .align 7
65 ASM_PFX(IrqA64):
66 b ASM_PFX(IrqA64)
67
68 .align 7
69 ASM_PFX(FiqA64):
70 b ASM_PFX(FiqA64)
71
72 .align 7
73 ASM_PFX(SErrorA64):
74 b ASM_PFX(SErrorA64)
75
76 //
77 // Lower EL using AArch32 : 0x0 - 0x180
78 //
79 .align 7
80 ASM_PFX(SynchronousExceptionA32):
81 b ASM_PFX(SynchronousExceptionA32)
82
83 .align 7
84 ASM_PFX(IrqA32):
85 b ASM_PFX(IrqA32)
86
87 .align 7
88 ASM_PFX(FiqA32):
89 b ASM_PFX(FiqA32)
90
91 .align 7
92 ASM_PFX(SErrorA32):
93 b ASM_PFX(SErrorA32)