Michael Scire
7835486a4d
ams_mitm: Implement savedata redirection
2019-12-07 12:41:28 -08:00
Michael Scire
4f9838df3c
avoid lambda use in shared_ptr deleters
2019-12-07 12:41:28 -08:00
Michael Scire
f4ca2c02a7
fs.mitm: Implement bis protection
2019-12-07 12:41:28 -08:00
Michael Scire
c10ba67973
ams_mitm: Implement system settings mitm
2019-12-07 12:41:28 -08:00
Michael Scire
421324b498
mitm/cfg: pass around override status for decision-making
2019-12-07 12:41:28 -08:00
Michael Scire
393596ef9a
ams_mitm: begin skeleton refactor
2019-12-07 12:41:28 -08:00
Michael Scire
2c5ef434f0
sf: fixes (basic mitm service functionality now confirmed working)
2019-12-07 12:41:28 -08:00
Michael Scire
122f3e4403
libstrat: implement mitm server registration
2019-12-07 12:41:28 -08:00
Michael Scire
d7a06057eb
strat: split out common functionality for future meso use
2019-12-07 12:41:28 -08:00
Michael Scire
8cb77ac136
namespace sts -> namespace ams
...
namespace sts::ams -> ams::exosphere, ams::.
This is to facilitate future use of ams:: namespace code in
mesosphere, as we'll want to include ams::util, ams::result, ams::svc...
2019-12-07 12:41:28 -08:00
Michael Scire
4059dc6187
Results: Implement namespaced, type-safe results.
...
Because I was working on multiple things at once, this commit also:
- Adds wrappers for/linker flags to wrap CXX exceptions to make them
abort. This saves ~0x8000 of memory in every system module.
- Broadly replaces lines of the pattern if (cond) { return ResultX; }
with R_UNLESS(!cond, ResultX());.
- Reworks the R_TRY_CATCH macros (and the result macros in general).
2019-12-07 12:41:28 -08:00
Michael Scire
15773e4755
libstrat: fix domain issues. in/out objects now work.
2019-12-07 12:41:28 -08:00
Michael Scire
4f455dacf4
sf: implement mitm forwarding + domains.
2019-12-07 12:41:28 -08:00
Michael Scire
88a86a3363
sf: implement CopyFromCurrentDomain
2019-12-07 12:41:28 -08:00
Michael Scire
0c7827104f
hipc: begin implementing domains. fixes ro + sm together
2019-12-07 12:41:28 -08:00
Michael Scire
c8ed190e5c
new-ipc: implement deferral. sm now works.
2019-12-07 12:41:28 -08:00
Michael Scire
f4dcd1db9b
sf: implement service framework enough for ro to work.
...
This completely re-does the whole interface for ipc servers.
2019-12-07 12:41:28 -08:00