diff --git a/platform/jn516x/dev/exceptions.c b/platform/jn516x/dev/exceptions.c index a04654077..10a3bf11b 100644 --- a/platform/jn516x/dev/exceptions.c +++ b/platform/jn516x/dev/exceptions.c @@ -182,6 +182,7 @@ vEXC_Register(void) BUS_ERROR = (uint32)exception_handler; UNALIGNED_ACCESS = (uint32)exception_handler; ILLEGAL_INSTRUCTION = (uint32)exception_handler; + SYSCALL = (uint32)exception_handler; TRAP = (uint32)exception_handler; GENERIC = (uint32)exception_handler; STACK_OVERFLOW = (uint32)exception_handler; @@ -210,6 +211,11 @@ vException_IllegalInstruction(uint32 *pu32Stack, eExceptionType eType) exception_handler(pu32Stack, eType); } PUBLIC void +vException_SysCall(uint32 *pu32Stack, eExceptionType eType) +{ + exception_handler(pu32Stack, eType); +} +PUBLIC void vException_Trap(uint32 *pu32Stack, eExceptionType eType) { exception_handler(pu32Stack, eType);