Commit Graph

1743 Commits

Author SHA1 Message Date
Michael Scire
335a05ca1a strat: fixes for compat with latest libnx 2019-10-27 15:57:30 -07:00
Michael Scire
45e2184fda sf: PrepareForErrorReply is common to all objects 2019-10-27 15:05:26 -07:00
Michael Scire
fc0f15177f libstrat: enable lto 2019-10-25 01:03:07 -07:00
Michael Scire
c7bc8c1027 strat: split out common functionality for future meso use 2019-10-25 00:12:47 -07:00
Michael Scire
2e2beb959b 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-10-24 02:30:10 -07:00
Michael Scire
b1b65a1ab4 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-10-24 01:40:44 -07:00
Michael Scire
3e50ab2bc4 libstrat: fix domain issues. in/out objects now work. 2019-10-23 00:07:20 -07:00
Michael Scire
17374e5081 sf: implement mitm forwarding + domains. 2019-10-21 02:45:52 -07:00
Michael Scire
3de766f532 libstrat: namespace remaining non-namespaced code. more new-ipc updates 2019-10-19 17:42:53 -07:00
Michael Scire
483700bbe9 boot: reduce memory footprint 2019-10-18 21:30:26 -07:00
Michael Scire
7bd30d6bd2 boot2: move to separate process 2019-10-18 21:06:40 -07:00
Michael Scire
6ea627041a strat: statically allocate additional threads 2019-10-18 20:31:15 -07:00
Michael Scire
c31818d469 strat: update for latest libnx commit 2019-10-18 10:37:03 -07:00
Michael Scire
8a4525774e dmnt: update for new-ipc 2019-10-17 21:18:27 -07:00
Michael Scire
d841fdb5b9 creport: update for new-ipc 2019-10-17 19:48:28 -07:00
Michael Scire
9e8596a2ed fatal: update for new-ipc 2019-10-17 19:39:22 -07:00
Michael Scire
006e4e4042 boot: update for api changes 2019-10-16 14:28:19 -07:00
Michael Scire
97c3033b54 spl: update for new-ipc (fixes two bugs in sf) 2019-10-16 12:50:04 -07:00
Michael Scire
0afef273b2 sf-impl: remove debug condition 2019-10-14 23:23:11 -07:00
Michael Scire
57c5f8cec4 pm: statically allocate more resources to save memory 2019-10-14 23:12:07 -07:00
Michael Scire
4d3f21ee79 pm: update for new-ipc 2019-10-14 22:49:06 -07:00
Michael Scire
fc525ffc00 ldr: fix copy/paste, only 1 ldr:pm session needed 2019-10-14 21:48:56 -07:00
Michael Scire
0db688a27c loader: update for new-ipc 2019-10-14 21:40:05 -07:00
Michael Scire
1541f7e2a0 sf: implement CopyFromCurrentDomain 2019-10-14 21:39:13 -07:00
Michael Scire
5fffab7b52 hipc: begin implementing domains. fixes ro + sm together 2019-10-14 09:20:21 -07:00
Michael Scire
53ca00678b new-ipc: implement deferral. sm now works. 2019-10-11 02:15:14 -07:00
Michael Scire
45280c5e51 sf: implement service framework enough for ro to work.
This completely re-does the whole interface for ipc servers.
2019-10-10 23:49:28 -07:00
Michael Scire
e8759e983f libstrat: update for latest libnx, delete ipc in prep for rewrite 2019-09-30 02:52:32 -07:00
Michael Scire
6ee5e75bcf sts: add STS_UNREACHABLE_DEFAULT_CASE() 2019-09-28 15:13:20 -07:00
Michael Scire
bedd71f784 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-09-28 14:05:18 -07:00
Michael Scire
66f8052502 mitm: fix long-standing C descriptor issue. 2019-09-24 21:43:18 -07:00
Michael Scire
13a7f18d79 libstrat: namespace hossynch.hpp 2019-09-24 03:15:36 -07:00
Michael Scire
542833866e git subrepo push stratosphere/libstratosphere
subrepo:
  subdir:   "stratosphere/libstratosphere"
  merged:   "8bae7b4a"
upstream:
  origin:   "https://github.com/Atmosphere-NX/libstratosphere"
  branch:   "master"
  commit:   "8bae7b4a"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-09-18 12:43:47 -07:00
Michael Scire
89c484414b dmnt: Truncate cheat names after maxlen instead of failing 2019-09-18 11:54:30 -07:00
Michael Scire
fe2dd671fb dmnt: fix edge case in debug events thread 2019-09-18 11:54:30 -07:00
Michael Scire
8abee1bdaa dmnt: fix some bugs in init 2019-09-18 11:54:30 -07:00
Michael Scire
78a730ddf6 dmnt: refactor to use sts:: namespace. 2019-09-18 11:54:30 -07:00
Michael Scire
a750e55f75 tmp-hid-mitm: less aggressively enable controllers
This fixes a crash in SSBU and possibly other games.
2019-09-14 13:37:31 -07:00
Michael Scire
c62c4846fc Bump version to 0.9.4. 2019-09-14 10:43:39 -07:00
Michael Scire
8db5b01507 hbl_html: enforce line ending = lf (fixes broken whitelist) 2019-09-14 10:43:39 -07:00
Michael Scire
a6e405c988 ldr: fix hbl_html redirection invocation 2019-09-14 10:43:39 -07:00
Michael Scire
6613fda4b1 ams_mitm: add temporary hid mitm on 9.x for compat 2019-09-14 10:43:39 -07:00
Michael Scire
a18a6e87df git subrepo pull emummc
subrepo:
  subdir:   "emummc"
  merged:   "5f5817e6"
upstream:
  origin:   "https://github.com/m4xw/emuMMC"
  branch:   "develop"
  commit:   "5f5817e6"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
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
6ee8720028 boot: fix pinmux init off-by-one 2019-08-29 00:18:40 -07:00
Michael Scire
600d68bd1a ams_mitm: fix bis key generation for newer hardware 2019-08-29 00:14:23 -07:00
hexkyz
0c3a294cbe Minor information update regarding previously unknown mysteries 2019-08-22 20:52:40 +01:00
Michael Scire
25218795b4 Bump version to 0.9.3 2019-08-08 18:06:21 -07:00
Michael Scire
a65ec67128 git subrepo push stratosphere/libstratosphere
subrepo:
  subdir:   "stratosphere/libstratosphere"
  merged:   "2d081135"
upstream:
  origin:   "https://github.com/Atmosphere-NX/libstratosphere"
  branch:   "master"
  commit:   "2d081135"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-08-08 17:50:09 -07:00
Michael Scire
5d753f2384 Add default system settings for hbl applet support 2019-08-08 17:45:31 -07:00