mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-21 23:31:11 +00:00
Revert "removed exception handler for SYSCALL, causing an infinite loop after calling vAHI_SwReset()"
This reverts commit c4def60cdd02760bed023bf516ddbbf89e2bd916.
This commit is contained in:
parent
c4def60cdd
commit
74d04562df
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user