summaryrefslogtreecommitdiff
path: root/libcpu/risc-v/cv32e40p/interrupt.c
blob: 4a4e37382f063f43a77cfe989ef6b2d28a13aaef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2018/10/01     Bernard      The first version
 */

#include <rthw.h>
#include <stdint.h>
#include <rtthread.h>

typedef void (*irq_handler_t)(void);
extern const irq_handler_t isr_table[];

extern void vSystemIrqHandler(uint32_t mcause);