Logo
Explore Help
Sign In
Mirror/Luma3DS
1
0
Fork 0
You've already forked Luma3DS
mirror of https://github.com/LumaTeam/Luma3DS.git synced 2026-02-22 09:54:38 +00:00
Code Issues Packages Projects Releases Wiki Activity
Luma3DS/arm9/linker.specs

8 lines
169 B
Plaintext
Raw Normal View History

Sanitize arm9 build system... however link script overflows itcm
2018-05-23 15:02:57 +02:00
%rename link old_link
*link:
Patch kernel11 to remove checks on core2/3 thread creation 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
2022-12-17 23:33:15 +01:00
%(old_link) -T %:getenv(TOPDIR /linker.ld) --nmagic --gc-sections --no-warn-rwx-segments
Sanitize arm9 build system... however link script overflows itcm
2018-05-23 15:02:57 +02:00
*startfile:
crti%O%s crtbegin%O%s
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 17ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API