SVC: Difference between revisions
| No edit summary | No edit summary | ||
| Line 325: | Line 325: | ||
| | ? | | ? | ||
| |} | |} | ||
| Each process can only use SVCs which are enabled in the NCCH [https://github.com/3dshax/ctr/blob/master/ctrtool/exheader.c exheader] for this process. The ARM11 kernel SVC handler checks whether the SVC is enabled in the syscall access control mask stored on the SVC-mode stack. When a process context switch is done, the syscall mask is loaded from the KProcess object and is written to the SVC-mode stack. | |||
| Calling svcBreak on retail will only terminate the process which called this SVC. | Calling svcBreak on retail will only terminate the process which called this SVC. | ||