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
Tony Wasserka
1b356cd4f2
Modernize C++ usage ( #144 )
...
* Stratosphere: Use modern C++ idioms in some places
* algorithms like std::for_each are used instead of raw loops
* Stratosphere: Replace more raw loops with algorithms
* Stratosphere: Add a utility predicate function to test for equality with a reference element
This can be used to rewrite some common raw loops using algorithms instead
* fs.mitm: Use variant
* fs.mitm: Use enum class
* fs.mitm: Turn RomFSSourceInfo::Cleanup into a destructor
This obsoletes the need for a custom deleter in other places
* fs.mitm: Use enum class some more
* fs.mitm: Use unique_ptr
* fs.mitm: Simplify initialization
* Stratosphere: Simplify initialization
* fs.mitm: Use unique_ptr (fix memory leak along the way)
The previous code was using "delete" rather than "delete[]"
* fs.mitm: Use vector::emplace_back rather than push_back
emplace_back constructs elements in-place, hence avoiding a redundant element copy.
* Stratosphere: Replace more raw loops with algorithms
* Stratosphere: Use unique_ptr
* fs.mitm: Replace more raw loops with algorithms
* Stratosphere: Prefer move-construction over copy-construction when moving sink parameters around
2018-06-19 11:07:31 -07:00
Michael Scire
51edf0fde9
PM: Fix remaining issues, now works properly again.
2018-06-15 00:47:07 -06:00
Michael Scire
eb02ff5d5f
Make PM Compile. Note: Currently broken.
2018-06-14 23:32:01 -06:00
Michael Scire
26e676424d
fs.mitm: WIP LayeredFS impl (NOTE: UNUSABLE ATM)
...
Also greatly refactors libstratosphere, and does a lot of other things.
There is a lot of code in this one.
2018-06-14 17:51:18 -06:00
Michael Scire
cd5da88405
libstratosphere/fs.mitm: Push WIP support for Domains. Not yet fully working.
2018-06-12 16:01:04 -06:00
Michael Scire
5f10855b57
fs.mitm: Add HANS-style redirection for System Data Archives.
2018-06-10 11:11:23 -06:00