Commit graph

795 commits

Author SHA1 Message Date
Michael Scire a0deea8ae0 exo: fix SAVE_WP_REG definition 2018-08-16 18:56:49 -07:00
Michael Scire ee0117b59e exo: tabs->spaces... 2018-08-16 18:56:04 -07:00
Michael Scire f41aaccaa2 exosphere: commit WIP warmboot progress
-15+ bugs fixed
-We now receive ~0x400 SMCs from user processes
 (including from psm) on wake-from-sleep
2018-08-16 18:45:38 -07:00
Michael Scire de49cfefac creport: Print Break information on UserBreak 2018-08-11 19:16:29 -07:00
Michael Scire 326d58e28c creport: tabs -> spaces 2018-08-11 19:02:12 -07:00
Michael Scire 6c8a1a39e1 creport: fix various issues, improve support (closes #187)
-Fixes a NULL deref in thread info parsing
-Heuristically uses [<buildid>] instead of rodata contents if NSO has no
name segment
-Adds full thread/code region dump for all firmwares, instead of just
5.x.
2018-08-11 18:46:41 -07:00
Michael Scire 761ab4fcfe Creport: Update makefile to build npdm/nsp 2018-08-10 19:52:32 -07:00
Pika 294f05ea56 make all (working) sysmodules compile 2018-08-03 02:20:52 -07:00
Michael Scire adc496b6a7 Exosphere: Change physical segment maps depending on firmware version 2018-08-02 21:33:55 -07:00
Michael Scire 441e58be56 anti-telemetry: Do not boot Error Collection sysmodule 2018-08-01 23:15:52 -07:00
hexkyz 6eac78595e
fusee-secondary: Remove restriction for loading from eMMC 2018-08-01 21:15:16 +01:00
Lioncash 4b8455baf9 fusee-secondary: Correct else-if condition in xmemmove()
Previously both the if and else conditions were the same.
2018-07-29 20:53:01 -07:00
Lioncash bbdf2868c9 fusee-secondary/fs_dev: Correct uninitialized cast within fsdev_seek()
Previously this was casting the same unassigned variable that was being
assigned to.
2018-07-29 20:15:44 -07:00
Michael Scire cb4089e49c Stratosphere: use isxdigit to check if char is hex. 2018-07-29 17:27:30 -07:00
Michael Scire c70420d996 creport: Actually change report paths. 2018-07-29 16:54:15 -07:00
Michael Scire 84bcaf8dc6 creport: Change report path to crash_reports 2018-07-29 16:48:33 -07:00
Michael Scire c547ed50aa Loader: Fix exefs nsp support. Works on hardware. 2018-07-29 16:45:29 -07:00
Michael Scire 3a2520a3b7 Loader: Add support for exefs redirection to code nsp on SD. 2018-07-29 16:35:43 -07:00
Michael Scire 44e2412ae6 Loader: Change ips patch location to ease patch distribution 2018-07-29 11:27:19 -07:00
Michael Scire e697f6bdd0 fs.mitm: Fix flag detection. 2018-07-29 11:21:42 -07:00
Michael Scire de05685e3d fs.mitm: Remove shim for fsStorageGetSize, which was added to libnx 2018-07-29 11:07:05 -07:00
Michael Scire a9b20b5553 Exosphere: Fix CFLAGs for latest devkitA64 2018-07-29 11:02:20 -07:00
Luke Street a3d53fbb2c Define wait() in fusee-primary/secondary 2018-07-29 10:53:06 -07:00
Michael Scire 674a91db8c Loader/ips: Fix more bugs, now works with simple test on hw. 2018-07-28 21:06:50 -07:00
Michael Scire 08275240c6 Loader/ips: fix compile error 2018-07-28 20:41:13 -07:00
Michael Scire 75916001a2 Loader: Fix IPS edge condition, change ips location 2018-07-28 20:36:30 -07:00
Michael Scire 0f5f3c2ad0 Loader: Implement IPS/IPS32 patching. 2018-07-28 20:28:17 -07:00
Michael Scire c1fd2eda20 Loader: Skeleton IPS/IPS32 patching support. 2018-07-28 20:01:09 -07:00
Michael Scire cd42f6dc18 fs.mitm: Allow fsmitm.flag specification for mitm 2018-07-28 12:29:54 -07:00
Michael Scire a811b447ce creport: Pretty-print addresses whenever possible. 2018-07-27 20:34:09 -07:00
Michael Scire 5993614c2e fs.mitm: Try to MitM titles that have override RomFS content on the SD card 2018-07-27 20:15:06 -07:00
Michael Scire 2a6348cd73 creport: add fsp-srv access to npdm 2018-07-27 19:57:32 -07:00
Michael Scire b365065a2d Loader: Support loading FsStorageId_None content from SD. 2018-07-27 19:53:20 -07:00
Michael Scire 5a63f4e304 PM: Make boot2 launch SD card content with StorageId_None 2018-07-27 19:34:22 -07:00
Michael Scire 2667266aad pm.boot2: Skeleton hook for SD-mandated launches 2018-07-27 03:22:06 -07:00
Michael Scire c079803189 PM: Use enum in EmbeddedBoot2 2018-07-27 02:37:45 -07:00
Michael Scire 9f16062767 PM: Embed boot2 logic in PM. 2018-07-27 02:23:53 -07:00
misson20000 6adcb483e5 pm: remove magic flag/event numbers to improve readability and understandability 2018-07-27 02:03:28 -07:00
Michael Scire 9d0d9d95e1 Stratosphere: Give more memory to SYSTEM, use less memory. 2018-07-27 01:44:34 -07:00
hexkyz 054c65dffb
Revert unnecessary change (thanks @rajkosto) 2018-07-26 19:26:43 +01:00
hexkyz 7836609839 Fix multiple issues reported by Coverity Scan 2018-07-26 18:45:18 +01:00
hexkyz fd88bd1d2c
fusee: Disable the SDCLK when switching to low voltage. 2018-07-24 19:06:41 +01:00
hexkyz a2104b85ce
fusee: Disable the SDCLK when switching to low voltage. 2018-07-24 19:05:27 +01:00
Michael Scire dd4993dfda Loader: Use HW-acceleration for SHA256 2018-07-24 01:26:37 -07:00
hexkyz e58927a8ab fusee: Fix SDMMC high speed support and other bugs. 2018-07-23 20:14:53 +01:00
Michael Scire eaa282b915 Fix additional UAF in DirEntry building 2018-07-19 21:21:50 -06:00
Michael Scire a46e796f4d fs.mitm: Fix UAF in every DirEntry processed.
How on earth did this code ever work?
2018-07-19 21:17:57 -06:00
hexkyz 3db9ce32fa Fusee: Deployed new SDMMC driver in fusee-secondary. All stages boot now.
Fusee: Fixed wrong argument in se.c function.
Fusee: Improved timers.
2018-07-19 21:07:53 +01:00
Léo Lam 49ba91a8f3 fs_istorage: Default IStorage destructor in cpp
Prevents a -Wweak-vtables warning.
2018-07-10 09:38:18 -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