Sandrine Bailleux | 3cd87d7 | 2018-10-09 11:12:55 +0200 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (c) 2018, Arm Limited. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #include <arch.h> |
| 8 | #include <asm_macros.S> |
| 9 | #include <tftf.h> |
| 10 | |
| 11 | .globl tftf_vector |
| 12 | |
| 13 | vector_base tftf_vector |
| 14 | b tftf_entrypoint |
| 15 | b . /* Undef */ |
| 16 | b . /* Syscall */ |
| 17 | b . /* Prefetch abort */ |
| 18 | b . /* Data abort */ |
| 19 | b . /* Hyp trap */ |
| 20 | b tftf_intr_handle/* IRQ */ |
| 21 | b . /* FIQ */ |
| 22 | |
| 23 | /* ---------------------------------------------------------------------------- |
| 24 | * The IRQ exception handler |
| 25 | * ---------------------------------------------------------------------------- |
| 26 | */ |
| 27 | func tftf_intr_handle |
| 28 | push {r0 - r3, lr} |
| 29 | bl tftf_irq_handler_dispatcher |
| 30 | pop {r0 - r3, lr} |
| 31 | eret |
| 32 | endfunc tftf_intr_handle |