Commit Graph

341 Commits

Author SHA1 Message Date
Michael Scire
5797d753bf libstratosphere is now just one lib 2019-12-08 17:01:03 -08:00
Michael Scire
303fc400dd sf: correct size calculation for In/OutArray 2019-12-08 16:30:15 -08:00
Michael Scire
6fafa541cc Improve exception wrapping 2019-12-08 16:30:14 -08:00
Michael Scire
93d4f69168 Implement support for 9.1.0 2019-12-07 18:44:57 -08:00
Michael Scire
62c251ef6d ams_mitm: implement hbl_html redirection 2019-12-07 18:44:57 -08:00
Michael Scire
c9396a6462 ams_mitm: implement ns.mitm 2019-12-07 18:44:56 -08:00
Michael Scire
5f75944505 ams_mitm: fix directory save bugs 2019-12-07 18:44:56 -08:00
Michael Scire
6c6dfbcc4d fix uninitialized data access 2019-12-07 18:44:55 -08:00
Michael Scire
a83655dc53 ams_mitm: Implement savedata redirection 2019-12-07 18:44:55 -08:00
Michael Scire
559640378b ams_mitm: add titles dir compat shim (to remove in 0.10.1) 2019-12-07 18:44:55 -08:00
Michael Scire
bd56a44957 ams_mitm: implement automatic backups of biskeys/cal0 2019-12-07 18:44:54 -08:00
Michael Scire
6f926ea72b shared_from_this requires public inheritance 2019-12-07 18:44:54 -08:00
Michael Scire
f13d2cb6c9 ams_mitm: Implement emummc Nintendo folder redirection 2019-12-07 18:44:54 -08:00
Michael Scire
91817c4367 ams_mitm: implement layeredfs 2019-12-07 18:44:54 -08:00
Michael Scire
5f0779ce15 os/dd: primitive fixes 2019-12-07 18:44:53 -08:00
Michael Scire
fd45f890fa compat fixes for libnx master 2019-12-07 18:44:53 -08:00
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
19f21514d9 stop overriding user config on update 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
b628ea560d ams_mitm: Implement set:sys firmwareversion mitm 2019-12-07 18:44:51 -08:00
Michael Scire
0333c376fd Implement set_mitm 2019-12-07 18:44:51 -08:00
Michael Scire
06e1eca4db ams_mitm: implement hid mitm 2019-12-07 18:44:51 -08:00
Michael Scire
96ab87f2a4 hbl: support different keys for any-app vs specific
This also makes the default configuration:

To override a generic app, hold R.
To override album, do not hold R.
2019-12-07 18:44:50 -08:00
Michael Scire
b969fe0a17 mitm/cfg: pass around override status for decision-making 2019-12-07 18:44:50 -08:00
Michael Scire
f58c45b2c3 strat: update for latest libnx. 2019-12-07 18:44:49 -08:00
Michael Scire
ef090419f7 ams_mitm: begin skeleton refactor 2019-12-07 18:44:49 -08:00
Michael Scire
ba0edbd9c4 sf: explicitly namespace in DEFINE_SERVICE_DISPATCH_TABLE 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
6889953297 strat: TitleId -> ProgramId, titles->contents 2019-12-07 18:44:48 -08:00
Michael Scire
e7450d5340 strat: fixes for compat with latest libnx 2019-12-07 18:44:47 -08:00
Michael Scire
8da7ecb197 sf: PrepareForErrorReply is common to all objects 2019-12-07 18:44:47 -08:00
Michael Scire
4fabafcd06 libstrat: enable lto 2019-12-07 18:44:47 -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
e2162d3f3d libstrat: namespace remaining non-namespaced code. more new-ipc updates 2019-12-07 18:44:44 -08:00
Michael Scire
0af2a628fd boot2: move to separate process 2019-12-07 18:44:42 -08:00
Michael Scire
a2b5865595 strat: statically allocate additional threads 2019-12-07 18:44:41 -08:00
Michael Scire
e94abc4b5e dmnt: update for new-ipc 2019-12-07 18:44:40 -08:00
Michael Scire
e679446994 fatal: update for new-ipc 2019-12-07 18:44:39 -08:00
Michael Scire
25ed190f4e spl: update for new-ipc (fixes two bugs in sf) 2019-12-07 18:44:38 -08:00
Michael Scire
f1a77be02a sf-impl: remove debug condition 2019-12-07 18:44:37 -08:00
Michael Scire
d1ae859891 pm: update for new-ipc 2019-12-07 18:44:35 -08:00
Michael Scire
d81f97862a loader: update for new-ipc 2019-12-07 18:44:34 -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