Michael Scire
b5fc48fc75
avoid lambda use in shared_ptr deleters
2019-12-07 18:44:53 -08:00
Michael Scire
6d85d6f835
fs.mitm: Implement bis protection
2019-12-07 18:44:52 -08:00
Michael Scire
fd7aad0bf9
ams_mitm: Implement system settings mitm
2019-12-07 18:44:51 -08:00
Michael Scire
b969fe0a17
mitm/cfg: pass around override status for decision-making
2019-12-07 18:44:50 -08:00
Michael Scire
ef090419f7
ams_mitm: begin skeleton refactor
2019-12-07 18:44:49 -08:00
Michael Scire
35d0600028
sf: fixes (basic mitm service functionality now confirmed working)
2019-12-07 18:44:48 -08:00
Michael Scire
ce45786551
libstrat: implement mitm server registration
2019-12-07 18:44:48 -08:00
Michael Scire
0eea56f077
strat: split out common functionality for future meso use
2019-12-07 18:44:47 -08:00
Michael Scire
528215f443
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 18:44:46 -08:00
Michael Scire
15def4ef63
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 18:44:46 -08:00
Michael Scire
1e8b13ac07
libstrat: fix domain issues. in/out objects now work.
2019-12-07 18:44:45 -08:00
Michael Scire
ba1fc9ef0a
sf: implement mitm forwarding + domains.
2019-12-07 18:44:44 -08:00
Michael Scire
ace60d0e3e
sf: implement CopyFromCurrentDomain
2019-12-07 18:44:34 -08:00
Michael Scire
021acd4275
hipc: begin implementing domains. fixes ro + sm together
2019-12-07 18:44:33 -08:00
Michael Scire
461ed913ef
new-ipc: implement deferral. sm now works.
2019-12-07 18:44:32 -08:00
Michael Scire
15f3adb8d2
sf: implement service framework enough for ro to work.
...
This completely re-does the whole interface for ipc servers.
2019-12-07 18:44:32 -08:00