SVC: Difference between revisions

Line 2,147: Line 2,147:
Note that if a thread that wasn't faulting calls svcReturnFromException, it signals an "invalid syscall" exception
Note that if a thread that wasn't faulting calls svcReturnFromException, it signals an "invalid syscall" exception


Note that [[SMC|IsDebugMode]] is not used during exception-handling, except for enabling printing a message to UART. This UART code causes a system-hang on retail (likely due to a loop that doesn't exit).
Note that [[SMC|IsDebugMode]] is not used during exception-handling, except for enabling printing a message to UART-A. This UART code causes a system-hang on retail (likely due to a loop that doesn't exit).