Commit Graph

1675 Commits

Author SHA1 Message Date
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
dd31b3d2e2 smm_ams: fix typo 2018-11-30 00:52:03 -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
Michael Scire
bcd80ab445 Fix domain unallocation failure in WaitableManager 2018-11-08 16:00:04 -08:00
Michael Scire
3e87318090 move version checking back into libstratosphere 2018-11-08 01:18:56 -08:00
Michael Scire
533d72c662 Add README 2018-11-08 01:05:35 -08:00
Michael Scire
3a541909f5 Fix boost submodule 2018-11-08 00:57:08 -08:00
Michael Scire
cc700248e1 Update to allow building as standalone lib 2018-11-08 00:53:44 -08:00
Michael Scire
34b927b322 Migrate atmosphere version checks out of libstratosphere. 2018-11-08 00:46:51 -08:00
Michael Scire
94c1e5724b libstratosphere: add ReadOnlySystemEvent helper 2018-11-07 23:25:16 -08:00
Michael Scire
2ecb6c7f2b libstratosphere: Add thread primitive, WaitableManager->RequestStop() 2018-11-07 23:25:11 -08:00
Michael Scire
39ce397017 libstratosphere: Implement message queues 2018-11-07 23:25:00 -08:00
Michael Scire
48b9c9340f libstrat: Use iterators when looping deferred waitables 2018-11-07 22:59:30 -08:00
Michael Scire
a7d3e4903c libstrat: Significantly cleanup waitable manager result handling. 2018-11-07 22:40:19 -08:00
Michael Scire
b5dc85fcf1 libstrat: fix potential oob deref in WaitableManager (closes #256) 2018-11-07 19:10:04 -08:00
Michael Scire
2f706e5842 libstrat: improve waitable manager cancelsync semantics 2018-11-07 12:42:06 -08:00
Michael Scire
a0c5246b5c libstrat: update curthreadhandle for libnx 1.5.0 2018-11-05 22:56:04 -08:00
Michael Scire
9d923fcba4 libstratosphere: Use intraprocess event signaling for new waitable management 2018-11-05 18:35:21 -08:00
Michael Scire
ca2233d33b libstrat: Allow nullptr buffers if 0 size. (closes #255) 2018-11-04 21:52:53 -08:00
Michael Scire
ded8dd9d09 fs.mitm: Only create storage interface when needed. 2018-11-04 12:45:29 -08:00
Michael Scire
3495f3b319 libstrat: delete old ipc templating. 2018-10-30 15:57:15 -07:00
TuxSH
1d857e8c80 Add boost as submodule 2018-10-30 23:49:26 +01:00
Michael Scire
a43853f2de libstrat: mark ServiceObjectHolder functions const 2018-10-31 05:04:00 +09:00
Michael Scire
a6514b9169 libstrat: remove unused struct in serializer 2018-10-31 05:04:00 +09:00
Michael Scire
9f99327cab libstrat: automatically detect+format rawdata structs correctly. 2018-10-31 05:04:00 +09:00
Michael Scire
2007f2d240 libstratosphere: Fix uninitialized memory bug. 2018-10-31 05:04:00 +09:00
Michael Scire
51bad55da4 fs.mitm: split out set.mitm 2018-10-31 05:04:00 +09:00
Michael Scire
772f20b703 libstratosphere: refactor everything 2018-10-31 05:04:00 +09:00
Michael Scire
e1e699a124 fs.mitm: Intercept qlaunch sysver request 2018-10-24 14:16:39 -07:00
Michael Scire
71084bdd77 libstratosphere: Fix receive for multi-static IPC buffers 2018-10-17 03:49:05 -07:00
Michael Scire
80fc45b7c2 atmosphere: extract API version management to common folder 2018-10-16 17:54:50 -07:00
Michael Scire
b8ac9a8fcf fs.mitm: Add domain support (closes #202) 2018-10-16 13:33:45 -07:00
Michael Scire
c66fc1ab8a libstratosphere: Fix condvar wrapper primitives 2018-09-09 07:04:16 -07:00
Michael Scire
ccab6aa737 pm: Support for 6.0.0 2018-09-08 23:47:15 -07:00
hexkyz
5cecc78d51 Add and fix copyright notices for better GPL compliance (thanks @naehrwert and @CTCaer). 2018-09-07 16:00:13 +01:00
Léo Lam
f4212ff213 stratosphere: Use RAII for locks
This renames the Mutex class member functions so that the mutex types
satisfy Lockable.

This makes them usable with standard std::scoped_lock
and std::unique_lock, which lets us use RAII and avoids the need
for a custom RAII wrapper :)
2018-07-10 09:38:18 -07:00
Léo Lam
8e29e70a61 stratosphere: Remove an unneeded constructor
domain_objects is already an array of empty std::shared_ptrs (since
std::shared_ptr has a sane default constructor).
2018-07-10 09:38:18 -07:00
Michael Scire
3f7c9fc70d fs.mitm: Fix c++ modernization breaking changes 2018-06-27 23:02:06 -06:00
Michael Scire
ba805d2c8a libstratosphere: Cleanup resources when doing OutSession for domains. 2018-06-24 12:39:09 -06:00