Commit graph

25 commits

Author SHA1 Message Date
Michael Scire 3a91a6b786 svc: populate namespace 2020-01-17 20:11:03 -08:00
Michael Scire 746dbfe018 ams_mitm: Implement emummc Nintendo folder redirection 2019-12-07 12:41:28 -08:00
Michael Scire 1636668762 strat: fixes for compat with latest libnx 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 89c6fc6437 creport: update for new-ipc 2019-12-07 12:41:28 -08:00
Michael Scire 227a1d938d creport: refactor to use sts:: namespace. 2019-07-15 14:35:48 -07:00
Michael Scire 766097d0b7 creport: dump tls/name on crash (closes #310) 2019-05-25 13:33:33 -07:00
Michael Scire 03e176d7f1 atmosphere: current year is 2019 2019-04-07 19:00:49 -07:00
Michael Scire 2678735f73 stratosphere: migrate result headers to libstrat 2019-03-28 14:23:34 -07:00
Michael Scire 9714db14d2 fatal/creport: Add cpu context. 2018-11-13 20:22:54 -08:00
hexkyz 28e4d4411d Add and fix copyright notices for better GPL compliance (thanks @naehrwert and @CTCaer). 2018-09-07 16:00:13 +01:00
Michael Scire a811b447ce creport: Pretty-print addresses whenever possible. 2018-07-27 20:34:09 -07:00
Léo Lam e088a2f414 stratosphere: In-class initialize members
Same thing, less code, less boilerplate.
2018-07-10 09:38:18 -07:00
Michael Scire 4eadeb021b creport: Complete crash report saving. 2018-06-26 00:44:58 -06:00
Michael Scire b8e0c2855f creport: Further Skeleton Report saving. 2018-06-25 10:22:37 -06:00
Michael Scire f189610af8 creport: Skeleton reading of Code Regions. 2018-06-25 04:38:54 -06:00
Michael Scire d65255acb8 creport: Implement reading info about all threads. 2018-06-25 04:07:44 -06:00
Michael Scire 5268a9f9f3 creport: Implement reading a dying message 2018-06-25 03:40:32 -06:00
Michael Scire e6b7793916 creport: Parse info for crashed thread 2018-06-25 03:04:17 -06:00
Michael Scire 7cd44e8980 creport: Read exception info properly (except for crashed thread info) 2018-06-25 02:18:26 -06:00
Michael Scire 4e7fcc1a50 creport: Solidify main() logic. 2018-06-25 01:58:44 -06:00
Michael Scire 851d21a276 creport: Implement process open, stub exception parsing. 2018-06-25 01:45:25 -06:00
Michael Scire 6ffc9bd8e0 creport: Further skeleton the CrashReport object. 2018-06-25 00:42:26 -06:00