rt-thread/libcpu/aarch64/cortex-a53/interrupt.h

30 lines
608 B
C
Raw Normal View History

2020-01-15 16:46:19 +08:00
/*
* Copyright (c) 2006-2020, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
2020-04-16 16:10:57 +08:00
* Date Author Notes
* 2020-04-16 bigmagic first version
2020-01-15 16:46:19 +08:00
*/
2020-01-10 10:38:21 +08:00
#ifndef __INTERRUPT_H__
#define __INTERRUPT_H__
#include <rthw.h>
#include <board.h>
2020-02-28 17:49:50 +08:00
#include "raspi.h"
2020-01-10 10:38:21 +08:00
#define INT_IRQ 0x00
#define INT_FIQ 0x01
void rt_hw_interrupt_init(void);
void rt_hw_interrupt_mask(int vector);
void rt_hw_interrupt_umask(int vector);
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
void *param, const char *name);
#endif