Commit Graph

14 Commits

Author SHA1 Message Date
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
9217e4c5f9 sm: add HasService/HasMitm, refactor into sts:: 2019-06-24 17:57:49 -07:00
Michael Scire
4be88c7180 sm: adjust Makefile 2019-06-20 18:24:35 -07:00
Michael Scire
cead8a36ea stratosphere: more result cleanup 2019-06-20 02:00:59 -07:00
Michael Scire
7bc95f35d7 Merge branch 'bis_protect' 2018-11-29 12:48:20 -08:00
Michael Scire
66da896347 sm: Disable smhax, it interferes with functionality. 2018-11-14 18:39:11 -08:00
Michael Scire
2838e41819 Add defines for atmosphere git revision. 2018-11-13 12:42:35 -08:00
Michael Scire
5dc31f001e Stratosphere: Fix FS permissions for <4.0.0 KIPs 2018-10-17 16:26:36 -07:00
Michael Scire
6711cd93a8 atmosphere: extract API version management to common folder 2018-10-16 17:54:50 -07:00
misson20000
ec78fa5977 sm: add compile-time option to put a lower bound on session limits, which lets us do things like accessing fsp-ldr without killing ldr. (#136)
This time with style fixes.
2018-06-10 00:29:42 -07:00
Michael Scire
bb636dc05a SM: Make Mitm compile-time toggleable, to forestall whining. 2018-06-02 23:42:01 -06:00
TuxSH
4e12d55993 loader, pm, sm: build kip as only taget (thanks @fincs !) 2018-05-15 02:28:41 +02:00
Michael Scire
3c87c4c3c3 SM: Add compile-time smhax flag, finishing module. (Closes #62) 2018-05-01 23:21:39 -06:00
Michael Scire
d0ef3b1c71 Stratosphere: Skeleton all services for sm. 2018-04-21 21:17:57 -06:00