Commit graph

18 commits

Author SHA1 Message Date
SciresM f2ee44da74
romfs/ams.mitm/pm: refactor to dynamically steal heap for certain games. (#2122)
* fs.mitm: skeleton the use of special allocation in romfs build

* pm: add api for ams.mitm to steal application memory

* pm/mitm: okay, that api won't work, try a different one

* romfs: revert memory usage increases; we'll handle torture games case-by-case.

* pm/romfs: first (broken?) pass at dynamic heap.

I cannot wait to figure out all the ways this is wrong.

* Release the dynamic heap a little more eagerly

* romfs: animal crossing is also not a nice game

* romfs: fix issues in close-during-build

* romfs: zelda is a blight upon this earth
2023-05-14 03:06:52 -07:00
Michael Scire 5fb6f52b9e fatal: dynamically allocate memory as required (preferring system > nonsecure > unsafe) 2023-03-01 03:20:49 -07:00
Michael Scire c949779b3d stratosphere: grant access to SynchronizePreemptionState 2021-09-29 14:18:03 -07:00
Michael Scire 2d8acf9c64 strat: add new npdm field 2020-12-02 06:43:37 -08:00
Michael Scire c98f4f1ff6 strat: use 39-bit address space when available (new loader extension) 2020-11-20 17:02:32 -08:00
Michael Scire f3fa680d5d fatal: use STB instead of freetype 2020-01-03 22:35:11 -08:00
Michael Scire d5458960d5 fatal: increase stack size (needed for some custom fonts) 2020-01-03 14:33:12 -08:00
Michael Scire 39d041466d fatal: refactor into sts namespace 2019-07-23 14:01:16 -07:00
Michael Scire c5fa4660c8 fatal: add clkrst service access. 2019-04-25 11:42:44 -07:00
Michael Scire 991fe78740 creport/fatal: fix time-retrieval functionality 2019-03-14 09:16:55 -07:00
Michael Scire a3adb70a04 stratosphere: version detect via svcCallSecureMonitor 2019-01-31 03:24:19 -08:00
Michael Scire 3fa973f430 fatal/set_mitm: Support 1.0.0 kernel. 2018-12-01 19:07:05 -08:00
Michael Scire be5b58d033 fatal: Reboot to RCM if VOL is pressed instead of PWR. 2018-11-30 05:33:35 -08:00
Michael Scire 8054b2d219 Fatal: save auto-debug info to SD card. 2018-11-14 14:13:31 -08:00
Michael Scire 962fa0a690 fatal: automatically collect backtrace for callers. 2018-11-14 03:23:28 -08:00
Michael Scire 1228cd6903 fatal: misc cleanup, verified to reboot on hardware 2018-11-10 02:21:29 -08:00
Michael Scire 21b0f228b6 fatal: Skeleton tasks, write ThrowFatalImpl. 2018-11-10 00:54:12 -08:00
Michael Scire b9091e9466 fatal: Implement fatal:p, fatal:u stub. 2018-11-10 00:11:38 -08:00