
This stubs checks in SvcCreateThread and SvcSetProcessIdealProcessor that applied when creating threads on core2 and core3. This allows non-sysmodules to create threads on core3. Please note, core2 access was already being automatically granted to 3dsx apps for a long time (this is controlled through a kernel flag), and other apps that needed it had that flag too. This commit thus changes nothing for all these applications. Do not create threads on core3 unless you know exactly what you're doing. On N3DS, gsp (GPU sysmodule) depends on qtm (head-tracking sysmodule) which runs many threads at very high priority on core3. Running code that needs the GPU (including printf) on core3 can thus result in thread starvation / deadlock. If you just need an extra application core, just use core2 as it is intended for that exact purpose and is by default completely idle. Closes #1668
8 lines
169 B
Plaintext
8 lines
169 B
Plaintext
%rename link old_link
|
|
|
|
*link:
|
|
%(old_link) -T %:getenv(TOPDIR /linker.ld) --nmagic --gc-sections --no-warn-rwx-segments
|
|
|
|
*startfile:
|
|
crti%O%s crtbegin%O%s
|