SVC: Difference between revisions
| Line 1,309: | Line 1,309: | ||
If <code>what</code> is 0 or any invalid value, nothing is done. | If <code>what</code> is 0 or any invalid value, nothing is done. | ||
If it is 1, <code>val != 0</code> is written to the global variable enabling register dumps on CPU exceptions | If it is 1, <code>val != 0</code> is written to the global variable enabling ERR:F-format register dumps on user-mode CPU/VFP exceptions. The function handling it reads fields from the faulted or the main thread's TLS and most often writes the data structure on the faulted thread's stack. | ||
If 2, kernelpanic will be called when svcBreak is used by a non-attached process | If 2, kernelpanic will be called when svcBreak is used by a non-attached process | ||