Commit Graph

888 Commits

Author SHA1 Message Date
Michael Scire
5c610a2225 sts: add STS_UNREACHABLE_DEFAULT_CASE() 2019-12-07 18:44:30 -08:00
Michael Scire
b52d630cf0 os: implement waitable management.
This implements waitable management for Events (and
implements Events). It also refactors PM to use new
Event/Waitable semantics, and also adds STS_ASSERT
as a macro for asserting a boolean expression. The
rest of stratosphere has been refactored to use
STS_ASSERT whenever possible.
2019-12-07 18:44:30 -08:00
Michael Scire
6815ccdf68 mitm: fix long-standing C descriptor issue. 2019-12-07 18:44:29 -08:00
Michael Scire
ec2ea1e850 libstrat: namespace hossynch.hpp 2019-12-07 18:44:28 -08:00
Michael Scire
8bae7b4a78 dmnt: refactor to use sts:: namespace. 2019-09-18 12:42:58 -07:00
Michael Scire
d0d6731ce9 ams: initial support for 9.0.0 2019-09-18 12:42:52 -07:00
Michael Scire
2d0811351e fatal: refactor into sts namespace 2019-08-08 17:49:15 -07:00
Michael Scire
d8f5407095 util: fix copy/paste error in intrusive lists 2019-08-08 17:49:14 -07:00
Michael Scire
5e9628c1fa kvdb: fix iterator access issue 2019-08-08 17:49:09 -07:00
Michael Scire
0c5dab8022 util: Add Intrusive List/RBTree 2019-07-17 19:23:49 -07:00
Michael Scire
fccef090ed ipc: remove boost usage 2019-07-17 00:08:02 -07:00
Michael Scire
c7478778cf remove boost include 2019-07-17 00:07:24 -07:00
Michael Scire
09d8f593c6 kvdb: Implement FileKeyValueStore/Cache 2019-07-16 23:25:39 -07:00
Michael Scire
99ebbd2a18 kvdb: implement MemoryKeyValueStore 2019-07-16 23:25:39 -07:00
TuxSH
a4a3ebed50 Fix building with latest commit 2019-07-16 01:24:26 +02:00
Michael Scire
5ae7b3ea9e fix missing include in sm_types.hpp 2019-07-12 17:59:34 -07:00
Michael Scire
a8282205b5 libstrat: update with svc types for creport 2019-07-12 05:30:34 -07:00
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
ccfadc501b libstrat: use WaitService where useful 2019-07-02 22:23:36 -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
403f1c7a01 patcher: fix memcmp bug. 2019-06-27 20:51:23 -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
4ccee42577 libstrat: prefer static waitable managers 2019-06-20 13:14:15 -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
Mat M
d9f931486f firmware_version: Add missing break in SetFirmwareVersionForLibnx() (#11)
A break was left out when updating the switch to add firmware version
8.0.0
2019-06-04 12:26:31 -07:00