Revert "removed exception handler for SYSCALL, causing an infinite loop after calling vAHI_SwReset()"

This reverts commit c4def60cdd.
This commit is contained in:
Marko Gucanin 2016-07-06 15:45:15 +02:00
parent c4def60cdd
commit 74d04562df

View file

@ -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);