Commit Graph

11 Commits

Author SHA1 Message Date
Michael Scire
f13d2cb6c9 ams_mitm: Implement emummc Nintendo folder redirection 2019-12-07 18:44:54 -08:00
Michael Scire
f58c45b2c3 strat: update for latest libnx. 2019-12-07 18:44:49 -08:00
Michael Scire
6889953297 strat: TitleId -> ProgramId, titles->contents 2019-12-07 18:44:48 -08:00
Michael Scire
e7450d5340 strat: fixes for compat with latest libnx 2019-12-07 18:44:47 -08:00
Michael Scire
528215f443 namespace sts -> namespace ams
namespace sts::ams -> ams::exosphere, ams::.

This is to facilitate future use of ams:: namespace code in
mesosphere, as we'll want to include ams::util, ams::result, ams::svc...
2019-12-07 18:44:46 -08:00
Michael Scire
15def4ef63 Results: Implement namespaced, type-safe results.
Because I was working on multiple things at once, this commit also:
- Adds wrappers for/linker flags to wrap CXX exceptions to make them
  abort. This saves ~0x8000 of memory in every system module.
- Broadly replaces lines of the pattern if (cond) { return ResultX; }
  with R_UNLESS(!cond, ResultX());.
- Reworks the R_TRY_CATCH macros (and the result macros in general).
2019-12-07 18:44:46 -08:00
Michael Scire
e2162d3f3d libstrat: namespace remaining non-namespaced code. more new-ipc updates 2019-12-07 18:44:44 -08:00
Michael Scire
30804f8b9e libstrat: update for latest libnx, delete ipc in prep for rewrite 2019-12-07 18:44:31 -08:00
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
f575d06446 updater: move into libstrat 2019-06-22 12:30:08 -07:00