26 lines
632 B
C
26 lines
632 B
C
|
/*
|
||
|
* File : trap.c
|
||
|
* This file is part of RT-Thread RTOS
|
||
|
* COPYRIGHT (C) 2006, RT-Thread Development Team
|
||
|
*
|
||
|
* The license and distribution terms for this file may be
|
||
|
* found in the file LICENSE in this distribution or at
|
||
|
* http://openlab.rt-thread.com/license/LICENSE
|
||
|
*
|
||
|
* Change Logs:
|
||
|
* Date Author Notes
|
||
|
* 2006-03-13 Bernard first version
|
||
|
*/
|
||
|
|
||
|
#include <rtthread.h>
|
||
|
|
||
|
#define MAX_HANDLERS 32
|
||
|
|
||
|
extern rt_uint32_t rt_interrupt_nest;
|
||
|
|
||
|
/* exception and interrupt handler table */
|
||
|
rt_uint32_t rt_interrupt_from_thread, rt_interrupt_to_thread;
|
||
|
rt_uint32_t rt_thread_switch_interrput_flag;
|
||
|
|
||
|
/*@}*/
|