Commit Graph

1766 Commits

Author SHA1 Message Date
Michael Scire
269101cf1b shared_from_this requires public inheritance 2019-12-06 00:59:56 -08:00
Michael Scire
7daefd6b6e ams_mitm: Implement emummc Nintendo folder redirection 2019-12-05 23:41:33 -08:00
Michael Scire
8c46a31576 ams_mitm: implement layeredfs 2019-12-04 06:53:52 -08:00
Michael Scire
c5aacc4979 os/dd: primitive fixes 2019-12-03 19:26:43 -08:00
Michael Scire
e4b058d9f0 compat fixes for libnx master 2019-11-28 22:19:39 -08:00
Michael Scire
f7819f8b14 avoid lambda use in shared_ptr deleters 2019-11-28 09:48:21 -08:00
Michael Scire
92ce9282a0 fs.mitm: Implement bis protection 2019-11-28 01:28:20 -08:00
Michael Scire
f620ac77bf stop overriding user config on update 2019-11-27 13:44:09 -08:00
Michael Scire
9e87e5b65d set_mitm: embed defaults in code, allow for missing ini 2019-11-27 13:28:54 -08:00
Michael Scire
38dd2028d2 ams_mitm: Implement system settings mitm 2019-11-26 20:58:39 -08:00
Michael Scire
8d2105a0ea ams_mitm: Implement set:sys firmwareversion mitm 2019-11-22 02:05:59 -08:00
Michael Scire
856b49084f Implement set_mitm 2019-11-21 19:32:41 -08:00
Michael Scire
b314f69f20 ams_mitm: implement hid mitm 2019-11-21 12:01:14 -08:00
Michael Scire
136383db27 Add icon for reboot to payload (closes #644) 2019-11-21 04:29:09 -08:00
Michael Scire
8b439f81a3 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-11-21 04:21:23 -08:00
Michael Scire
33c099f112 mitm/cfg: pass around override status for decision-making 2019-11-21 04:03:19 -08:00
Michael Scire
c3ff63d785 ams_mitm: implement bpc:mitm 2019-11-21 01:48:47 -08:00
Michael Scire
8ac008b5d8 strat: update for latest libnx. 2019-11-21 00:28:32 -08:00
Michael Scire
5b5d1f2729 ams_mitm: begin skeleton refactor 2019-11-20 23:58:18 -08:00
Michael Scire
bd2aa5dd80 sf: explicitly namespace in DEFINE_SERVICE_DISPATCH_TABLE 2019-11-20 22:05:25 -08:00
Michael Scire
8508d3813b sf: fixes (basic mitm service functionality now confirmed working) 2019-11-20 22:03:22 -08:00
Michael Scire
845e4b4208 libstrat: implement mitm server registration 2019-11-08 19:38:41 -08:00
Michael Scire
4fe746b635 strat: TitleId -> ProgramId, titles->contents 2019-10-27 21:43:01 -07:00
Michael Scire
335a05ca1a strat: fixes for compat with latest libnx 2019-10-27 15:57:30 -07:00
Michael Scire
45e2184fda sf: PrepareForErrorReply is common to all objects 2019-10-27 15:05:26 -07:00
Michael Scire
fc0f15177f libstrat: enable lto 2019-10-25 01:03:07 -07:00
Michael Scire
c7bc8c1027 strat: split out common functionality for future meso use 2019-10-25 00:12:47 -07:00
Michael Scire
2e2beb959b 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-10-24 02:30:10 -07:00
Michael Scire
b1b65a1ab4 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-10-24 01:40:44 -07:00
Michael Scire
3e50ab2bc4 libstrat: fix domain issues. in/out objects now work. 2019-10-23 00:07:20 -07:00
Michael Scire
17374e5081 sf: implement mitm forwarding + domains. 2019-10-21 02:45:52 -07:00
Michael Scire
3de766f532 libstrat: namespace remaining non-namespaced code. more new-ipc updates 2019-10-19 17:42:53 -07:00
Michael Scire
483700bbe9 boot: reduce memory footprint 2019-10-18 21:30:26 -07:00
Michael Scire
7bd30d6bd2 boot2: move to separate process 2019-10-18 21:06:40 -07:00
Michael Scire
6ea627041a strat: statically allocate additional threads 2019-10-18 20:31:15 -07:00
Michael Scire
c31818d469 strat: update for latest libnx commit 2019-10-18 10:37:03 -07:00
Michael Scire
8a4525774e dmnt: update for new-ipc 2019-10-17 21:18:27 -07:00
Michael Scire
d841fdb5b9 creport: update for new-ipc 2019-10-17 19:48:28 -07:00
Michael Scire
9e8596a2ed fatal: update for new-ipc 2019-10-17 19:39:22 -07:00
Michael Scire
006e4e4042 boot: update for api changes 2019-10-16 14:28:19 -07:00
Michael Scire
97c3033b54 spl: update for new-ipc (fixes two bugs in sf) 2019-10-16 12:50:04 -07:00
Michael Scire
0afef273b2 sf-impl: remove debug condition 2019-10-14 23:23:11 -07:00
Michael Scire
57c5f8cec4 pm: statically allocate more resources to save memory 2019-10-14 23:12:07 -07:00
Michael Scire
4d3f21ee79 pm: update for new-ipc 2019-10-14 22:49:06 -07:00
Michael Scire
fc525ffc00 ldr: fix copy/paste, only 1 ldr:pm session needed 2019-10-14 21:48:56 -07:00
Michael Scire
0db688a27c loader: update for new-ipc 2019-10-14 21:40:05 -07:00
Michael Scire
1541f7e2a0 sf: implement CopyFromCurrentDomain 2019-10-14 21:39:13 -07:00
Michael Scire
5fffab7b52 hipc: begin implementing domains. fixes ro + sm together 2019-10-14 09:20:21 -07:00
Michael Scire
53ca00678b new-ipc: implement deferral. sm now works. 2019-10-11 02:15:14 -07:00
Michael Scire
45280c5e51 sf: implement service framework enough for ro to work.
This completely re-does the whole interface for ipc servers.
2019-10-10 23:49:28 -07:00