MIPS:fix the RT_EXCEPTION_MAX value

from <see mips run> know that cp0_cause's ExcCode have 5 bit filed and
the max exception is 32.
This commit is contained in:
michael 2020-09-14 11:10:44 +08:00
parent bfebcac4d3
commit a8928c881e
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ void rt_hw_interrupt_enable(rt_base_t level)
/** /**
* exception handle table * exception handle table
*/ */
#define RT_EXCEPTION_MAX 31 #define RT_EXCEPTION_MAX 32
exception_func_t sys_exception_handlers[RT_EXCEPTION_MAX]; exception_func_t sys_exception_handlers[RT_EXCEPTION_MAX];
/** /**