From 1a1d17143bcaef6f087ea1fe205cba03bba28ec4 Mon Sep 17 00:00:00 2001 From: Marko Gucanin Date: Wed, 6 Jul 2016 16:28:47 +0200 Subject: [PATCH] return from exception handler if E_EXC_SYSCALL is generated --- platform/jn516x/dev/exceptions.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/jn516x/dev/exceptions.c b/platform/jn516x/dev/exceptions.c index 10a3bf11b..ac975ecac 100644 --- a/platform/jn516x/dev/exceptions.c +++ b/platform/jn516x/dev/exceptions.c @@ -354,6 +354,9 @@ exception_handler(uint32 *pu32Stack, eExceptionType eType) } #endif + if(eType == E_EXC_SYSCALL) + return; + #if EXCEPTION_STALLS_SYSTEM while(1) { }