Commit Graph

207 Commits

Author SHA1 Message Date
Michael Scire
69dbb69e0b sm: add api for forward declaring a service mitm 2019-07-04 12:50:10 -07:00
Michael Scire
b9e5305273 mitm api: remove inconsistent association 2019-07-03 22:57:15 -07:00
Michael Scire
45700a12e8 libstrat/sm: add ScopedServiceHolder, Wait(Mitm/Service) 2019-07-02 22:21:18 -07:00
Michael Scire
d7d7cba3d3 title ids: go all in on ncm::TitleId 2019-07-02 20:53:44 -07:00
Michael Scire
c9dc24cce1 libstrat: remove sizeof() /sizeof([0]) 2019-07-02 14:36:34 -07:00
JamePeng
d6eacecce9 Add Missing Header for pm_info_api.hpp (#14) 2019-07-01 20:21:59 -07:00
Michael Scire
7bc25c01a0 libstrat: update for pm rewrite 2019-06-29 02:18:57 -07:00
Michael Scire
3f6df380c8 ipc: MAKE_SERVICE_COMMAND_META macro 2019-06-27 23:29:05 -07:00
Michael Scire
e37089d167 libstrat: implement functionality for loader rewrite 2019-06-26 15:45:35 -07:00
Michael Scire
cf5c6cdad9 libstrat: integrate sm API, add HasService/HasMitm. 2019-06-24 17:56:00 -07:00
Michael Scire
bbb689cecf libstratosphere: add ini parsing, LZ4 compression. 2019-06-24 14:41:04 -07:00
Michael Scire
269765a3bc StratosphereRandomUtils --> sts::rnd 2019-06-24 11:20:27 -07:00
Michael Scire
1d81da1230 add map, patcher, ro to sts. 2019-06-24 02:05:08 -07:00
Michael Scire
f575d06446 updater: move into libstrat 2019-06-22 12:30:08 -07:00
Michael Scire
ca344e1d19 Move spl api/smc impls into libstratosphere 2019-06-22 12:23:10 -07:00
Michael Scire
13e3f517cb libstrat: add register access helper 2019-06-22 00:06:15 -07:00
Michael Scire
2e36c24a01 add safe IoMapping getter 2019-06-21 20:22:26 -07:00
Michael Scire
0c26276b21 Add AutoHandle helper class. 2019-06-20 23:50:28 -07:00
Michael Scire
7660d782e0 ipc: accept any u32 convertible as command id 2019-06-20 21:49:40 -07:00
Michael Scire
59b49c0e0c libstrat: remove trailing whitespace 2019-06-20 12:59:48 -07:00
Michael Scire
4a120c3c16 libstrat: refactor for R_TRY 2019-06-20 05:01:24 -07:00
Michael Scire
7c9df9cfd8 results: Add R_ASSERT helper. 2019-06-20 02:00:33 -07:00
Michael Scire
3274848b56 results: correct R_END_TRY_CATCH definition 2019-06-20 00:56:33 -07:00
Michael Scire
7e0ed3b38f Update firmware version, add loader result 2019-06-19 11:51:00 -07:00
Michael Scire
281534d9f8 Add FirmwareVersion 8.1.0 support 2019-06-18 23:49:09 -07:00
Michael Scire
777984476e more macro cleanup 2019-06-17 15:26:24 -07:00
Michael Scire
8e810f0618 use statement exprs in macros 2019-06-17 14:58:19 -07:00
Michael Scire
b5f1ec02b3 Add R_TRY_CLEANUP utility. 2019-06-17 14:44:07 -07:00
Michael Scire
afcd075354 libstrat: revise emummc utility accessors 2019-06-14 21:19:51 -07:00
Michael Scire
05c58ef002 Add C++ only R_CATCH_MANY helper. 2019-06-01 21:22:07 -07:00
Michael Scire
ee05e2d91a Add helper macros for result try/catch. 2019-06-01 20:39:11 -07:00
Michael Scire
8e650c8ff7 libstrat: add R_TRY helper macro. 2019-05-30 18:34:36 -07:00
Michael Scire
44f52b445e libstrat: add IsEmunand() helper 2019-05-27 11:42:33 -07:00
Michael Scire
5fe1dacee2 Add prodinfo blank flag wrapper 2019-05-23 02:53:09 -07:00
Adubbz
8f2328975a Added GetRandomBytes (#10) 2019-05-10 05:36:18 -07:00
Michael Scire
8ec43f0d69 libstrat: TODO: panic -> std::abort() 2019-05-10 03:27:45 -07:00
Michael Scire
e8707a6581 results: add updater results 2019-05-09 01:15:40 -07:00
Michael Scire
c3d344cd1b fix interrupt event flag 2019-05-02 04:53:31 -07:00
Michael Scire
a189071537 results: add i2c results 2019-05-01 23:20:55 -07:00
Michael Scire
9dfe7709d9 Atmosphere: improve fatal error context 2019-04-26 07:25:03 -07:00
Michael Scire
63fc847f8a libstrat: Add MakeServiceCommandEx 2019-04-25 05:15:30 -07:00
Michael Scire
78d16968fd libstrat: Add InterruptEvents 2019-04-24 05:12:53 -07:00
Michael Scire
495cd03c2c remove redundant null check 2019-04-24 03:18:51 -07:00
Michael Scire
b5a7963a81 libstrat: improve Domain Object Close semantics 2019-04-24 02:56:05 -07:00
Michael Scire
9e34dbe7e2 results: add results for spl 2019-04-23 21:06:36 -07:00
averne
b0a0754ce6 Fix compiler warning when service string is exactly 8 characters (#9)
* Fix compiler warning when service string is exactly 8 characters

* Use sizeof

* Silence warning via compiler directive
2019-04-23 19:49:30 -07:00
Michael Scire
79bc9bf8d8 libstrat: only hold sm sessions open when needed 2019-04-22 12:40:35 -07:00
Michael Scire
4d6bf21f9c results: add ro results 2019-04-21 07:25:57 -07:00
Michael Scire
880bce9092 libstrat: add StratosphereRandomUtils 2019-04-20 16:52:50 -07:00
Michael Scire
016f2ecb25 libstrat: support arbitrary service object constructors 2019-04-20 16:17:24 -07:00
Michael Scire
163d9259a3 Update Runtime Firmware Version stuff for 8.0 2019-04-18 00:16:07 -07:00
Michael Scire
b9724cdcad libstrat: Custom exception handlers/std::abort 2019-04-12 15:26:27 -07:00
Michael Scire
1f9e2d042c libstrat: the current year is 2019 2019-04-07 18:56:40 -07:00
Michael Scire
8021b07eb8 results: add FsInvalidSaveDataSpaceId 2019-04-05 13:33:06 -07:00
Lioncash
0efaf3c8cb Silence -Wmissing-field-initializer warnings 2019-04-05 01:13:59 -04:00
Michael Scire
b6ca2d89ae Add RCM bug detection util 2019-04-01 17:22:38 -07:00
Michael Scire
37b74c7d75 results: add settings results 2019-03-28 23:03:13 -07:00
Michael Scire
5be736876c libstrat: remove remaining IPC magic numbers 2019-03-28 22:44:49 -07:00
Michael Scire
1034e0744a results: correct lr result names 2019-03-28 22:39:11 -07:00
Michael Scire
5a3583d79d libstrat: 0 -> ResultSuccess 2019-03-28 22:37:39 -07:00
Michael Scire
492975c110 results: ncm/kvdb results (thanks @adubbz) 2019-03-28 22:07:31 -07:00
Michael Scire
5fcc1469c7 Encounter -> Story 2019-03-28 21:42:08 -07:00
Michael Scire
f6e73c6160 libstrat: use TitleId defs. 2019-03-28 21:35:35 -07:00
Michael Scire
e113fe48d8 libstrat: fix missing include 2019-03-28 21:19:45 -07:00
Michael Scire
e2bdfdab08 libstrat: add constants for title ids. 2019-03-28 21:19:07 -07:00
Michael Scire
4c51a40617 results: add vi results 2019-03-28 20:38:39 -07:00
Michael Scire
2f1b90e397 results: add lr results (thanks @adubbz) 2019-03-28 20:31:23 -07:00
Michael Scire
8d15f82a9b results: Add unofficial atmosphere results header 2019-03-28 20:19:01 -07:00
Michael Scire
27164564a1 results: add sf/hipc results. 2019-03-28 19:59:33 -07:00
Michael Scire
033c77716c results: Add more fs results 2019-03-28 19:45:03 -07:00
Michael Scire
a3ca9cf1a3 results: use kernel results, add dbg results 2019-03-28 16:56:44 -07:00
Michael Scire
6b54534f47 results: Add some kernel results, ResultSuccess 2019-03-28 16:03:11 -07:00
Michael Scire
d448c03c5d results: Add fatal results 2019-03-28 15:37:13 -07:00
Michael Scire
aab4aedb34 results: Add SM results 2019-03-28 15:27:55 -07:00
Michael Scire
cd7f81f7b0 results: Add PM results 2019-03-28 15:15:49 -07:00
Michael Scire
0359681475 results: Add Loader results 2019-03-28 15:06:09 -07:00
Michael Scire
ea5c0f0174 libstrat: migrate result headers to library 2019-03-28 14:22:50 -07:00
Michael Scire
31c1dc1a82 vers: use svcCallSecMon instead of spl 2019-03-24 14:39:04 -07:00
Michael Scire
37c41f6324 Fix validation typo (closes #7) 2019-03-16 10:52:58 -07:00
Michael Scire
49d2188f6f add CancelSync thread primitive 2019-03-05 19:10:30 -08:00
Michael Scire
0fbc0e2f46 libstrat: better thread exiting in waitable manager 2019-03-05 07:48:37 -08:00
Michael Scire
82c67a62d6 libstrat: add full dmnt:cht client code 2019-03-05 00:47:00 -08:00
Michael Scire
9ce1dce440 libstrat: revise shutdown helper name 2019-02-21 07:04:33 -08:00
Michael Scire
1cad75081b libstrat: add shutdown helper 2019-02-21 07:04:04 -08:00
Michael Scire
3de9d6c9d6 Update for new libnx HOSVERSION API 2019-02-20 14:14:02 -08:00
Michael Scire
a2c74f8cd5 add IsApplicationTid helper 2019-02-12 02:48:45 -08:00
Michael Scire
2f1fa654f2 Revise firmware version detection to use Exosphere's targetfirmware field 2019-01-31 03:07:24 -08:00
Michael Scire
236190f8a3 mitm-server: simplify logic, eliminate deadlock possibility 2019-01-26 06:22:18 -08:00
Michael Scire
9bf228de3e Add wrappers for new SMC extensions 2019-01-24 08:10:18 -08:00
Michael Scire
de4c2ddae1 Improve deferral management logic, to fix order-sensitive bug 2019-01-21 22:28:04 -08:00
Michael Scire
f9d38856f3 Update for MitM API change 2019-01-20 16:58:35 -08:00
Michael Scire
4bcea4ed5e Fix OutPointerWithClientSize deserialization for domains 2018-12-12 06:51:28 -08:00
Michael Scire
8b9dd81fa6 Fix a number of bugs in mitm. 2018-12-12 03:07:26 -08:00
Michael Scire
fa37b70b0e Add HosSignal primitive 2018-12-05 01:09:01 -08:00
Michael Scire
05015b9354 Add RebootToRcm() 2018-11-30 05:18:34 -08:00
Michael Scire
8fbefee37e smm_ams: Add HasMitm extension 2018-11-30 00:50:45 -08:00
Michael Scire
0bec72ca36 Improve mitm semantics a little bit more. 2018-11-15 14:29:17 -08:00
Michael Scire
8fcac73ab2 Greatly improve mitm session acquire semantics. 2018-11-15 14:18:52 -08:00
Michael Scire
0fb33e9c09 Mark git getters inline 2018-11-13 12:52:03 -08:00
Michael Scire
6a6eedeacd Add atmosphere git revision getters 2018-11-13 12:41:13 -08:00