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