blob: 1e6c574db7bbe67193795817b86246e45007ca2c [file] [log] [blame]
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +02001/*
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
13vector_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 */
27func tftf_intr_handle
28 push {r0 - r3, lr}
29 bl tftf_irq_handler_dispatcher
30 pop {r0 - r3, lr}
31 eret
32endfunc tftf_intr_handle