Atmosphere/libraries/libstratosphere/include/stratosphere
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
..
ams ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
boot2 ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
cal ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
capsrv ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
cfg ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
clkrst ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
cs ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
dd ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
ddsf ams: globally prefer R_RETURN to return for ams::Result 2022-03-26 14:48:33 -07:00
diag abort/error: print backtrace, abuse templates, overhaul result/diag (macos not done yet) 2022-03-21 17:21:44 -07:00
dmnt loader: refactor ro manager/improve accuracy 2021-10-10 18:22:32 -07:00
erpt erpt: update for new ids 2023-02-22 17:19:51 -08:00
err ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
fatal sf: add new debug-interface-id in cmif out header 2022-03-23 09:10:50 -07:00
fs libstrat: make build with new ncm/fs api changes (sysmodules probably fail to build) 2023-02-22 17:19:51 -08:00
fssrv libstrat: make build with new ncm/fs api changes (sysmodules probably fail to build) 2023-02-22 17:19:51 -08:00
fssystem fs/emummc: fix DirectoryRedirectionFileSystem not stripping prefix 2022-08-06 08:48:51 -07:00
gc/impl libstrat: misc fixes for unused arg warnings 2022-03-23 09:10:50 -07:00
gpio sf: add new debug-interface-id in cmif out header 2022-03-23 09:10:50 -07:00
hid ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
hos ams: recognize 16.0.3('s FS) 2023-05-08 17:51:13 -07:00
htc sf: add new debug-interface-id in cmif out header 2022-03-23 09:10:50 -07:00
htcfs ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
htclow ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
htcs ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
i2c ams: use R_SUCCEED, R_THROW globally 2022-03-26 00:14:36 -07:00
init strat: use ams::Main() instead of main(argc, argv) 2021-10-07 17:44:54 -07:00
kvdb ncm: first pass at ContentManagerImpl refactor (missing the IntegratedImpls, won't link) 2023-02-22 17:19:51 -08:00
ldr loader: update for changes in 14.0.0 2022-04-17 20:11:05 -07:00
lm ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
lmem constexpr: resign ourselves to gcc dropping void -> T support 2021-10-17 02:39:16 -07:00
lr lr: new AOC commands use MapAlias for paths... 2022-10-12 09:15:16 -07:00
mem ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
mitm romfs/ams.mitm/pm: refactor to dynamically steal heap for certain games. (#2122) 2023-05-14 03:06:52 -07:00
ncm ncm: alignment was changed for PlaceHolderId/ContentId in 16.0.0 2023-02-22 17:19:51 -08:00
nim ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
ns/impl sf: add new debug-interface-id in cmif out header 2022-03-23 09:10:50 -07:00
nsd ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
os os: add UnsafeMemory apis 2023-03-01 03:20:49 -07:00
osdbg ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
patcher ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
pcv ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
pgl ams: globally prefer R_RETURN to return for ams::Result 2022-03-26 14:48:33 -07:00
pinmux ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
pm romfs/ams.mitm/pm: refactor to dynamically steal heap for certain games. (#2122) 2023-05-14 03:06:52 -07:00
powctl ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
psc sf: add new debug-interface-id in cmif out header 2022-03-23 09:10:50 -07:00
pwm strat: update for code changes found in boot (closes #1797) 2022-05-05 17:45:55 -07:00
rapidjson rapidjson: import -master as ams::rapidjson 2021-02-24 04:06:54 -08:00
regulator ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
ro sf: add new debug-interface-id in cmif out header 2022-03-23 09:10:50 -07:00
rocrt ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
scs ams: globally prefer R_RETURN to return for ams::Result 2022-03-26 14:48:33 -07:00
settings settings: add os guard 2023-03-12 22:34:23 -07:00
sf ams: globally prefer R_RETURN to return for ams::Result 2022-03-26 14:48:33 -07:00
sm ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
socket strat: add windows socket api, linux/macos TODO 2022-03-27 14:36:31 -07:00
spl ams: globally prefer R_RETURN to return for ams::Result 2022-03-26 14:48:33 -07:00
sprofile ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
svc kern: update for new device map semantics 2022-10-12 09:15:16 -07:00
time Minor header fixes to reduce parsing issues with Clang (#1700) 2021-11-06 18:19:34 -07:00
tipc ams: globally prefer R_RETURN to return for ams::Result 2022-03-26 14:48:33 -07:00
tma sf: add new debug-interface-id in cmif out header 2022-03-23 09:10:50 -07:00
updater ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
usb sf: add new debug-interface-id in cmif out header 2022-03-23 09:10:50 -07:00
util util: LockFreeAtomicType (for time) 2022-03-27 20:15:10 -07:00
vi ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
wec ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
ams.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
boot2.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
cal.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
capsrv.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
cfg.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
clkrst.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
cs.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
dd.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
ddsf.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
diag.hpp abort/error: print backtrace, abuse templates, overhaul result/diag (macos not done yet) 2022-03-21 17:21:44 -07:00
dmnt.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
erpt.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
err.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
fatal.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
fs.hpp fs: fixup all OperateRange implementations 2022-03-28 00:54:10 -07:00
fssrv.hpp fssrv: add ExternalKeyManager (rights-id crypto) for hac2l 2022-03-21 17:21:44 -07:00
fssystem.hpp fs: update nca drivers (and dependents/callees) for 14.0.0 changes 2022-03-25 09:48:24 -07:00
gc.hpp fs: add gc validation wrappers for hac2l 2022-03-21 17:21:44 -07:00
gpio.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
hid.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
hos.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
htc.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
htcfs.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
htclow.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
htcs.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
i2c.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
init.hpp strat: use ams::Main() instead of main(argc, argv) 2021-10-07 17:44:54 -07:00
kvdb.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
ldr.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
lm.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
lmem.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
lr.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
mem.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
mitm.hpp romfs/ams.mitm/pm: refactor to dynamically steal heap for certain games. (#2122) 2023-05-14 03:06:52 -07:00
ncm.hpp ncm: update for new add on content/attr changes 2022-10-12 09:15:16 -07:00
nim.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
ns.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
nsd.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
os.hpp os: add UnsafeMemory apis 2023-03-01 03:20:49 -07:00
osdbg.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
patcher.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
pcv.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
pgl.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
pinmux.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
pm.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
powctl.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
psc.hpp sf: add new debug-interface-id in cmif out header 2022-03-23 09:10:50 -07:00
pwm.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
rapidjson.hpp ams: replace most remaining operator & with std::addressof 2021-10-09 14:49:53 -07:00
regulator.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
ro.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
scs.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
settings.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
sf.hpp sf: add NativeHandle type 2021-10-04 17:34:16 -07:00
sm.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
socket.hpp ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00
spl.hpp spl: refactor for accuracy/move into libstrat 2021-10-10 12:57:36 -07:00
sprofile.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
time.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
tipc.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
tma.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
updater.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
usb.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
util.hpp util: LockFreeAtomicType (for time) 2022-03-27 20:15:10 -07:00
vi.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
wec.hpp ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-04 12:59:10 -07:00
windows.hpp ams: support building unit test programs on windows/linux/macos 2022-03-21 17:21:44 -07:00