Commit Graph

5 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
c9dc24cce1 libstrat: remove sizeof() /sizeof([0]) 2019-07-02 14:36:34 -07:00
Michael Scire
7bc25c01a0 libstrat: update for pm rewrite 2019-06-29 02:18:57 -07:00
Michael Scire
0c26276b21 Add AutoHandle helper class. 2019-06-20 23:50:28 -07:00