1/*
2 * Copyright (c) 2006-2020, RT-Thread Development Team
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 *
6 * Change Logs:
7 * Date           Author       Notes
8 * 2024-03-28     Shell        Move vector handling codes from context_gcc.S
9 */
10
11#ifndef __ASSEMBLY__
12#define __ASSEMBLY__
13#endif
14
15#include "vector_gcc.h"
16#include "context_gcc.h"
17
18.section .text
19
20vector_fiq:
21    .globl vector_fiq
22    b       .
23
24.globl rt_hw_irq_exit
25
26/**
27 * void rt_hw_vector_irq_sched(void *eframe)
28 * @brief do IRQ scheduling
29 */
30rt_hw_vector_irq_sched:
31    .globl rt_hw_vector_irq_sched
32
33    bl      rt_scheduler_do_irq_switch
34    b       rt_hw_irq_exit
35