Revert "removed exception handler for SYSCALL, causing an infinite loop after calling vAHI_SwReset()"
This reverts commit c4def60cdd
.
This commit is contained in:
parent
c4def60cdd
commit
74d04562df
1 changed files with 6 additions and 0 deletions
|
@ -182,6 +182,7 @@ vEXC_Register(void)
|
||||||
BUS_ERROR = (uint32)exception_handler;
|
BUS_ERROR = (uint32)exception_handler;
|
||||||
UNALIGNED_ACCESS = (uint32)exception_handler;
|
UNALIGNED_ACCESS = (uint32)exception_handler;
|
||||||
ILLEGAL_INSTRUCTION = (uint32)exception_handler;
|
ILLEGAL_INSTRUCTION = (uint32)exception_handler;
|
||||||
|
SYSCALL = (uint32)exception_handler;
|
||||||
TRAP = (uint32)exception_handler;
|
TRAP = (uint32)exception_handler;
|
||||||
GENERIC = (uint32)exception_handler;
|
GENERIC = (uint32)exception_handler;
|
||||||
STACK_OVERFLOW = (uint32)exception_handler;
|
STACK_OVERFLOW = (uint32)exception_handler;
|
||||||
|
@ -210,6 +211,11 @@ vException_IllegalInstruction(uint32 *pu32Stack, eExceptionType eType)
|
||||||
exception_handler(pu32Stack, eType);
|
exception_handler(pu32Stack, eType);
|
||||||
}
|
}
|
||||||
PUBLIC void
|
PUBLIC void
|
||||||
|
vException_SysCall(uint32 *pu32Stack, eExceptionType eType)
|
||||||
|
{
|
||||||
|
exception_handler(pu32Stack, eType);
|
||||||
|
}
|
||||||
|
PUBLIC void
|
||||||
vException_Trap(uint32 *pu32Stack, eExceptionType eType)
|
vException_Trap(uint32 *pu32Stack, eExceptionType eType)
|
||||||
{
|
{
|
||||||
exception_handler(pu32Stack, eType);
|
exception_handler(pu32Stack, eType);
|
||||||
|
|
Loading…
Add table
Reference in a new issue