Michael Scire
d4f99ddb4d
libstratosphere: use from /atmosphere/libraries
2019-12-09 18:54:29 -08:00
Michael Scire
7472bc1c7f
Improve exception wrapping
2019-12-08 03:29:47 -08:00
Michael Scire
746dbfe018
ams_mitm: Implement emummc Nintendo folder redirection
2019-12-07 12:41:28 -08:00
Michael Scire
421324b498
mitm/cfg: pass around override status for decision-making
2019-12-07 12:41:28 -08:00
Michael Scire
b758e3fc55
strat: update for latest libnx.
2019-12-07 12:41:28 -08:00
Michael Scire
ea3ebbaa7d
strat: TitleId -> ProgramId, titles->contents
2019-12-07 12:41:28 -08:00
Michael Scire
d7a06057eb
strat: split out common functionality for future meso use
2019-12-07 12:41:28 -08:00
Michael Scire
8cb77ac136
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 12:41:28 -08:00
Michael Scire
4059dc6187
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 12:41:28 -08:00
Michael Scire
0b22af1206
libstrat: namespace remaining non-namespaced code. more new-ipc updates
2019-12-07 12:41:28 -08:00
Michael Scire
535e49a38d
strat: statically allocate additional threads
2019-12-07 12:41:28 -08:00
Michael Scire
8bd2a9a23b
ldr: fix copy/paste, only 1 ldr:pm session needed
2019-12-07 12:41:28 -08:00
Michael Scire
2f959785e1
loader: update for new-ipc
2019-12-07 12:41:28 -08:00
Michael Scire
add18d868f
sts: add STS_UNREACHABLE_DEFAULT_CASE()
2019-12-07 12:41:28 -08:00
Michael Scire
609a302e16
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 12:41:28 -08:00
Michael Scire
a6e405c988
ldr: fix hbl_html redirection invocation
2019-09-14 10:43:39 -07:00
Michael Scire
93d83c5bb9
ams: initial support for 9.0.0
2019-09-14 10:43:39 -07:00
Michael Scire
227a1d938d
creport: refactor to use sts:: namespace.
2019-07-15 14:35:48 -07:00
Michael Scire
6777dd9b38
pm: inform sm of title ids. remove inconsistent mitm association.
2019-07-11 22:24:59 -07:00
Michael Scire
2d0c881ffe
strat: go all in on ncm::TitleId
2019-07-11 22:24:59 -07:00
hexkyz
e561919a52
Fix logic in ldr_ro_manager
...
Fix argument type for isdigit/isxdigit
2019-06-30 18:48:16 +01:00
Michael Scire
18ca8aaf5b
stratosphere: all in on enum class CommandId
2019-06-27 23:34:53 -07:00
Michael Scire
e5c5101e8a
Add missing extension cleanup.
2019-06-27 20:51:57 -07:00
Michael Scire
934ff7bbde
<int> -> <s32>
2019-06-27 20:16:56 -07:00
Michael Scire
014f08f6b4
ldr: fix mount check mistake
2019-06-27 18:01:44 -07:00
Michael Scire
6ba2090c01
ldr: address review commentary.
2019-06-27 17:37:33 -07:00
Michael Scire
61fcf5e0f4
loader: completely rewrite.
2019-06-26 15:46:19 -07:00
Michael Scire
9217e4c5f9
sm: add HasService/HasMitm, refactor into sts::
2019-06-24 17:57:49 -07:00
Michael Scire
cead8a36ea
stratosphere: more result cleanup
2019-06-20 02:00:59 -07:00
Michael Scire
6699fda8c9
loader: implement 8.1.0 changes
2019-06-19 11:51:30 -07:00
Michael Scire
f9bf8923b1
loader: refactor for R_TRY
2019-06-17 16:29:09 -07:00
leo60228
defee07625
Allow pressing buttons on all controllers in loader ( closes #541 )
2019-05-11 15:15:17 -04:00
Michael Scire
03a425a579
stratosphere: TODO: panic -> std::abort()
2019-05-10 03:28:18 -07:00
Michael Scire
41f5b39f6b
stratosphere: stop using kernelAbove
2019-05-10 03:25:07 -07:00
Michael Scire
7945a921ca
Merge branch 'ro_dev'
2019-04-22 13:07:11 -07:00
Michael Scire
b09adb6a34
stratosphere: only hold sm sessions open when needed
2019-04-22 12:59:49 -07:00
Michael Scire
bfd04cfe92
loader: remove more unused ro functionality
2019-04-22 00:40:19 -07:00
Michael Scire
253afc90a4
loader: remove ldr:ro (moved into ro sysmodule)
2019-04-21 09:08:08 -07:00
Michael Scire
4ba6d8b24c
ro: implement rest of LoadNrr/LoadNrrEx
2019-04-21 05:28:57 -07:00
Michael Scire
ed86c44a49
loader: refactor to use LoaderModuleInfo
2019-04-20 18:15:39 -07:00
Michael Scire
5c9d0f05b1
loader: use libstratosphere randomness
2019-04-20 16:53:56 -07:00
Michael Scire
ac07971211
stratosphere: custom exception handlers (reboot to fusee)
2019-04-12 15:28:46 -07:00
Michael Scire
67891954ec
loader: fix support for 7.0.0+ games with NPDM flag bit 4 set.
2019-04-11 16:39:59 -07:00
Michael Scire
03e176d7f1
atmosphere: current year is 2019
2019-04-07 19:00:49 -07:00
Mat M
7a4d1e786c
ldr_map: Silence lingering initializer warning ( #500 )
...
One initializer warning case that I seem to have missed (my bad).
2019-04-04 23:13:46 -07:00
Mat M
b237168ec7
loader: Silence Wmissing-field-initializers warnings ( #499 )
...
Specifying 0 as the initial entry of a structure is a C-ism. C++ permits
using an empty set of braces to signify the same behavior, silencing
missing initializer warnings.
2019-04-04 21:05:41 -07:00
Michael Scire
a0f3183c79
strat: sha256 s/linux/libnx/g
2019-04-04 12:02:00 -07:00
Michael Scire
c6d67eab6a
strat: 0 -> ResultSuccess
2019-03-28 22:39:39 -07:00
Michael Scire
9427a5cf46
strat: use TitleId defs instead of magics.
2019-03-28 21:49:14 -07:00
Michael Scire
c50cb83ec1
strat: use lr results instead of magics
2019-03-28 20:31:48 -07:00