SVC: Difference between revisions

Bond697 (talk | contribs)
No edit summary
Line 793: Line 793:
  Handle* thread=R1
  Handle* thread=R1


The processorid parameter specifies which processor the thread can run on. Non-negative values correspond to a specific CPU. (e.g. 0 for the Appcore and 1 for the Syscore on Old3DS) Special value -1 means all CPUs, and -2 means the default CPU for the process (Read from the [[ExHeader|NCCD/Extended Header]], usually 0 for applications, 1 for system services). Games usually create threads using -2.
The processorid parameter specifies which processor the thread can run on. Non-negative values correspond to a specific CPU. (e.g. 0 for the Appcore and 1 for the Syscore on Old3DS) Special value -1 means all CPUs, and -2 means the default CPU for the process (Read from the [[NCCH/Extended Header|Exheader]], usually 0 for applications, 1 for system services). Games usually create threads using -2.


With the Old3DS kernel, the s32 processorid must be <=2.
With the Old3DS kernel, the s32 processorid must be <=2.