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
bb223eb5ae
libstrat: namespace hossynch.hpp
2019-12-07 12:41:28 -08:00
Michael Scire
1f2de35f94
fatal: use new vi enum value
2019-08-07 13:02:02 -07:00
Michael Scire
215f1bc8ee
fatal: fix abort in viSetDisplayPowerState on < 3.0.0
2019-08-05 18:55:04 -07:00
Michael Scire
39d041466d
fatal: refactor into sts namespace
2019-07-23 14:01:16 -07:00
Michael Scire
2d0c881ffe
strat: go all in on ncm::TitleId
2019-07-11 22:24:59 -07:00
Michael Scire
18ca8aaf5b
stratosphere: all in on enum class CommandId
2019-06-27 23:34:53 -07:00
Michael Scire
1671c04e24
stratosphere: prefer static waitable managers
2019-06-20 13:15:39 -07:00
Michael Scire
cead8a36ea
stratosphere: more result cleanup
2019-06-20 02:00:59 -07:00
Michael Scire
31fde233e1
fatal: refactor for R_TRY
2019-06-17 16:41:03 -07:00
Michael Scire
9319463a6e
fatal: use new I2cDevice enum
2019-05-02 17:54:05 -07:00
Michael Scire
c5fa4660c8
fatal: add clkrst service access.
2019-04-25 11:42:44 -07:00
Michael Scire
14683405be
fatal: update to use clkrst api on 8.0.0+
2019-04-24 16:39:06 -07:00
Michael Scire
3a8f9114fc
fatal: fix sm session usage
2019-04-24 05:18:31 -07:00
Michael Scire
b09adb6a34
stratosphere: only hold sm sessions open when needed
2019-04-22 12:59:49 -07:00
Sun
be4ca7eee5
Implement Auto Reboot Timer ( #518 ) ( #519 )
...
* Implement Auto Reboot Timer (#518 )
* Use > to check for values below -1
* Use TimeoutHelper and accept MS
* Add fatal_auto_reboot_interval into config (commented)
* Check for 0
2019-04-22 00:18:01 -07:00
Michael Scire
ac07971211
stratosphere: custom exception handlers (reboot to fusee)
2019-04-12 15:28:46 -07:00
Michael Scire
03e176d7f1
atmosphere: current year is 2019
2019-04-07 19:00:49 -07:00
Michael Scire
6b41a7e2e1
fatal: unconditionally reassign cpu_ctx ptr
2019-04-06 15:02:48 -07:00
Michael Scire
aed472775c
fatal: fix invalid struct access, cap stack trace size.
2019-04-06 15:00:40 -07:00
Mat M
f44a730a90
fatal_font: Add missing va_end() calls to PrintFormatLine() and PrintFormat() ( #497 )
...
Fairly self-explanatory. Ensures va_start() is balanced with va_end()
2019-04-04 11:21:25 -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
4167dfea14
strat: vi results over magics
2019-03-28 20:39:17 -07:00
Michael Scire
0001e93810
strat: use atmosphere results instead of magics
2019-03-28 20:19:38 -07:00
Michael Scire
285feba42b
fatal: Standardize result definitions
2019-03-28 15:37:50 -07:00
Michael Scire
106ae81614
fatal: improve start address detection
2019-03-26 09:04:32 -07:00
Michael Scire
991fe78740
creport/fatal: fix time-retrieval functionality
2019-03-14 09:16:55 -07:00
Michael Scire
e62606d276
fatal: only set display magnification on 3.0.0+
2019-03-06 14:39:48 -08:00
Michael Scire
a38927ec04
fatal: remove debugging log that slipped through
2019-03-05 07:52:42 -08:00
Michael Scire
b4b1208222
stratosphere: fix svcExitThread usage
2019-03-05 07:50:27 -08:00
Michael Scire
f00dd05f82
Make stratosphere use new libnx HosVersion API
2019-02-20 14:17:51 -08:00
Michael Scire
784964d49d
ams.mitm: add bpc handler, for reboot power button stuff
2019-02-04 21:17:05 -08:00
Michael Scire
a3adb70a04
stratosphere: version detect via svcCallSecureMonitor
2019-01-31 03:24:19 -08:00
Michael Scire
051789c430
fatal: alignas doesn't actually work
2019-01-24 09:31:54 -08:00
Michael Scire
f99dea798a
alignas preferred to __attribute__((aligned))
2019-01-24 09:13:24 -08:00
Michael Scire
08d1e9b880
fatal: fix payload size, pm: take from application instead of applet
2019-01-24 08:33:06 -08:00
Michael Scire
031c9e545b
fatal: reboot to sdmc:/atmosphere/reboot_payload.bin
2019-01-24 08:20:27 -08:00
Michael Scire
3fa973f430
fatal/set_mitm: Support 1.0.0 kernel.
2018-12-01 19:07:05 -08:00
Michael Scire
be5b58d033
fatal: Reboot to RCM if VOL is pressed instead of PWR.
2018-11-30 05:33:35 -08:00
Michael Scire
25956c4fa1
fatal: Print special message for version mistmatch.
2018-11-30 04:51:27 -08:00
Michael Scire
8054b2d219
Fatal: save auto-debug info to SD card.
2018-11-14 14:13:31 -08:00
Michael Scire
962fa0a690
fatal: automatically collect backtrace for callers.
2018-11-14 03:23:28 -08:00
Michael Scire
9714db14d2
fatal/creport: Add cpu context.
2018-11-13 20:22:54 -08:00
Michael Scire
50c65ea7e1
fatal: monospace start address
2018-11-13 19:33:21 -08:00
Michael Scire
98bdb2a7a3
fatal: Add fake monospace for hex output
2018-11-13 19:30:40 -08:00
Michael Scire
d4ee772714
fatal: Display start instead of bt if size = 0
2018-11-13 18:11:08 -08:00
Michael Scire
fa9d7f40fc
fatal: Reorder error message lines.
2018-11-13 18:07:27 -08:00
Michael Scire
20026587fd
fatal: Draw GPRs + Backtrace to screen.
2018-11-13 17:53:26 -08:00