Commit Graph

1486 Commits

Author SHA1 Message Date
Michael Scire
c31069cc88 cs: fix allocator aborts 2021-09-19 10:35:30 -07:00
Michael Scire
0a262ed268 kern: improve single-step around user-exception entry 2021-09-19 10:35:29 -07:00
Michael Scire
2b91674b42 kern: fix spsr register in RestoreContext 2021-09-19 10:35:29 -07:00
Michael Scire
e9a80d95e7 kern: optimize hw-single-step management 2021-09-19 10:35:29 -07:00
Michael Scire
33d58424c7 kern: add hardware single step extension 2021-09-19 10:35:28 -07:00
Michael Scire
7bb3153938 osdbg: implement thread info api 2021-09-19 10:35:27 -07:00
Michael Scire
9eeafc6919 fix dmnt.gen2 title id (not sure how I typo'd this) 2021-09-19 10:35:26 -07:00
Michael Scire
f29660c335 boot2: launch dmnt.gen2 over dmnt, when using htc 2021-09-19 10:35:26 -07:00
Michael Scire
bd1fab8516 cs: implement GetFirmwareVersion command 2021-09-19 10:35:25 -07:00
Michael Scire
728191da43 scs: implement EventHandlerThread for shell 2021-09-19 10:35:25 -07:00
Michael Scire
a949c14c95 scs: implement DoShellServer 2021-09-19 10:35:25 -07:00
SciresM
277d2193e2 LogManager: implement system module, client api, logging api (#1617)
Some notes:

* Unless `atmosphere!enable_log_manager` is true, Nintendo's log manager will be used instead.
  * This prevents paying memory costs for LM when not enabling logging.
  * To facilitate this, Atmosphere's log manager has a different program id from Nintendo's.
  * `atmosphere!enable_htc` implies `atmosphere!enable_log_manager`.
* LogManager logs to tma, and the SD card (if `lm!enable_sd_card_logging` is true, which it is by default).
* Binary logs are saved to `lm!sd_card_log_output_directory`, which is `atmosphere/binlogs` by default.
2021-09-19 10:35:25 -07:00
Michael Scire
0c0bb8153a fusee: attempt reboot to self if possible, better abort/fatal handlers 2021-09-06 16:32:50 -07:00
Michael Scire
f78be93eac stratosphere: remove 0.19.0 update cleanup logic. 2021-09-06 16:32:49 -07:00
Michael Scire
7375d583c6 fusee: tactically don't trash PLLA1, fixes audio corruption on boot 2021-09-06 16:32:49 -07:00
Michael Scire
9c523b98fd ams-1.0.0: bump version number well ahead of time 2021-09-06 16:32:48 -07:00
Michael Scire
fe21509991 ams-1.0.0: meso no longer optional, remove conditional logic 2021-09-06 16:32:47 -07:00
Michael Scire
452ad57ae0 fusee_cpp: implement package2 rebuild/kip patching 2021-09-06 16:32:46 -07:00
Michael Scire
95eca16642 fusee_cpp: import mariko mtc 2021-09-06 16:32:43 -07:00
Michael Scire
6c6694d2c9 fusee_cpp: begin mariko mtc work 2021-09-06 16:32:43 -07:00
Michael Scire
a64b838b9c fusee_cpp: implement cpu startup 2021-09-06 16:32:42 -07:00
Michael Scire
2e30aa6d98 fusee_cpp: fix some careless search/replace mistakes 2021-09-06 16:32:42 -07:00
Michael Scire
93c773ad54 fusee_cpp: implement warmboot firmware load 2021-09-06 16:32:41 -07:00
Michael Scire
64da919d6b fusee_cpp: implement emummc/system partition mounting 2021-09-06 16:32:40 -07:00
Michael Scire
3fe151c263 fusee_cpp: implement all required key derivation 2021-09-06 16:32:40 -07:00
Michael Scire
e0d08dd6de fusee_cpp: implement tsec_keygen firmware execution 2021-09-06 16:32:39 -07:00
Michael Scire
0d31962902 fusee_cpp: import full erista mtc logic 2021-09-06 16:32:39 -07:00
Michael Scire
9ca9c59a19 fusee_cpp: implement mtc erista patram writes 2021-09-06 16:32:38 -07:00
Michael Scire
91d23d9634 fusee_cpp: implement erista pll selection logic for mtc 2021-09-06 16:32:38 -07:00
Michael Scire
ae25f6f8d4 fusee_cpp: implement inline storage of EmcDvfsTimingTables 2021-09-06 16:32:38 -07:00
Michael Scire
4043c52691 fusee_cpp: add logic for loading mtc overlays 2021-09-06 16:32:38 -07:00
Michael Scire
797c61b066 fusee_cpp: implement bpmp overclock 2021-09-06 16:32:37 -07:00
Michael Scire
812697c4ba fusee_cpp: Implement fatal display, reading of fusee-secondary 2021-09-06 16:32:37 -07:00
Michael Scire
34cad3b3b6 fusee_cpp: Add display init/fatal error display logic 2021-09-06 16:32:37 -07:00
Michael Scire
ba768c7f62 fusee_cpp: cache cleanup, confirmed working on hardware 2021-09-06 16:32:36 -07:00
Michael Scire
30725cfdec fusee_cpp: implement bpmp cache driver 2021-09-06 16:32:36 -07:00
Michael Scire
08b7808b2a fusee_cpp: implement sd card init 2021-09-06 16:32:36 -07:00
Michael Scire
6016ab3447 fusee_cpp: implement sdram lp0 scratch param save 2021-09-06 16:32:35 -07:00
Michael Scire
fdab233923 fusee_cpp: implement SDRAM initialization 2021-09-06 16:32:35 -07:00
Michael Scire
fa86167605 fusee_cpp: tweaks, now completes SecureInitialize on hardware 2021-09-06 16:32:35 -07:00
Michael Scire
26d94b940e fusee-cpp: a little more init in SecureInitialize 2021-09-06 16:32:34 -07:00
Michael Scire
660f1c61f2 fusee-cpp: finish SecureInitialize 2021-09-06 16:32:34 -07:00
Michael Scire
98df0a1906 fusee-cpp: implement SecureInitialize besides InitializeClock() 2021-09-06 16:32:34 -07:00
Michael Scire
6550e73754 fusee-cpp: sketch out remainder of secure initialize 2021-09-06 16:32:33 -07:00
Michael Scire
bc3bcb02ce fusee-cpp: Implement mbist workaround 2021-09-06 16:32:33 -07:00
Michael Scire
635aeb09b9 fusee-cpp: add basic structural stubs 2021-09-06 16:32:33 -07:00
Michael Scire
2d2f6d4237 ams: bump version to 0.20.1 2021-09-06 16:32:32 -07:00
Michael Scire
87a1de0b1d ams: bump to 0.2.0
NOTE: Release will not occur until hekate is ready to handle new sept-less release format.
2021-08-20 13:34:02 -07:00
Michael Scire
42ef588bf4 kern: improve some debug output 2021-08-20 13:34:02 -07:00
Michael Scire
d81e2f981e kern: fix same is_current check in GetThreadContext 2021-08-20 13:34:02 -07:00