mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-25 06:13:56 +08:00
[FEATURE/PIC] support PIC cancel (only in debug)
PIC may free because some wrongs in debug. We should remove in PIC list or there are some undefined behavior will happen. Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
@@ -148,6 +148,7 @@ void rt_pic_default_name(struct rt_pic *pic);
|
||||
struct rt_pic *rt_pic_dynamic_cast(void *ptr);
|
||||
|
||||
rt_err_t rt_pic_linear_irq(struct rt_pic *pic, rt_size_t irq_nr);
|
||||
rt_err_t rt_pic_cancel_irq(struct rt_pic *pic);
|
||||
|
||||
int rt_pic_config_ipi(struct rt_pic *pic, int ipi_index, int hwirq);
|
||||
int rt_pic_config_irq(struct rt_pic *pic, int irq_index, int hwirq);
|
||||
|
||||
Reference in New Issue
Block a user