Commit Graph
100 Commits
Author SHA1 Message Date
Michael Scire 9687218fbc Fusee: lfs kernel patches for 3.0.0/3.0.2 2018-06-24 16:24:22 -06:00
Michael Scire 1252c4d5e1 Fusee: Complete hashes (Thanks @Thog), lfs patches for 2.0.0 2018-06-24 15:51:29 -06:00
Michael Scire 040cfa90d3 Fusee: Add kernel patches for 1.0.0. 2018-06-24 15:20:16 -06:00
Michael Scire 284677c486 libstratosphere: Cleanup resources when doing OutSession for domains. 2018-06-24 12:39:09 -06:00
Michael Scire f41b780c0a PM: Fix remaining issues, now works properly again. 2018-06-15 00:47:07 -06:00
Michael Scire 4d36697080 Make PM Compile. Note: Currently broken. 2018-06-14 23:32:01 -06:00
Michael Scire c2d9ac8f5c fs.mitm: WIP LayeredFS impl (NOTE: UNUSABLE ATM)
Also greatly refactors libstratosphere, and does a lot of other things.
There is a lot of code in this one.
2018-06-14 17:51:18 -06:00
Michael Scire 237ff0d1e7 libstratosphere/fs.mitm: Push WIP support for Domains. Not yet fully working. 2018-06-12 16:01:04 -06:00
Michael Scire 5c80016c81 fs.mitm: Add HANS-style redirection for System Data Archives. 2018-06-10 11:11:23 -06:00
Michael Scire 931e38742b fs.mitm: Fix sm^H^Hfshax 2018-06-10 03:12:34 -06:00
Michael Scire 3cbdf0b2b9 fs.mitm: Get Title ID on fsp-srv init, Add worker to handle subinterfaces. 2018-06-10 03:07:15 -06:00
Michael Scire 548903e3fb fs.mitm: Remove debugging test, fix postprocessing. 2018-06-10 01:19:29 -06:00
Michael Scire ff9412feef fs.mitm: Add hook for postprocessing mitm messages. 2018-06-10 01:17:00 -06:00
Michael Scire 40a6b7bb54 fs.mitm: Fix pointer buffer size passed to mitm'd commands 2018-06-09 19:36:01 -06:00
Michael Scire 6a58307d83 fs.mitm: Remove unnecessary permissions from json. 2018-06-09 19:34:25 -06:00
Michael Scire c1c211f542 fs.mitm: Implement basic passthrough framework for input commands. 2018-06-09 19:33:22 -06:00
SciresM e964bcf872 Remove credit by request. 2018-06-07 20:55:57 -06:00
Michael Scire bb636dc05a SM: Make Mitm compile-time toggleable, to forestall whining. 2018-06-02 23:42:01 -06:00
Michael Scire 80f40caf67 SM: Add IPC commands for first-class MITM installation. 2018-06-02 23:38:01 -06:00
Michael Scire 968c86578a Fusee: Add 5.x kernel patches to allow for IPC PID mitm. 2018-06-02 20:01:44 -06:00
Michael Scire cc69079d73 Fusee: Add mechanism for branching back at end of hook. 2018-06-02 19:11:50 -06:00
Michael Scire b3a7086b7e Fusee: Add infrastructure for applying kernel patches (needed for mitm) 2018-06-02 16:06:31 -06:00
Michael Scire 1ba8a92030 Fusee: Separate kernel patching into its own file. 2018-06-02 16:06:31 -06:00
Michael Scire fa4c219395 Exosphere: Fix bugs, now boots 5.1.0 successfully. 2018-06-01 22:20:04 -06:00
Michael Scire b566d04036 Exosphere: Fix 4.0+ hang while waiting for BPMP shutdown. 2018-06-01 01:39:08 -06:00
Michael Scire af9bee6e7f Exosphere: Fix SE definition bug, misc other bugs. Now boots on 1.0.0 2018-06-01 00:46:05 -06:00
Michael Scire 1058ac7b2d Exosphere: Fix MMIO configuration on low firmware versions. 2018-05-31 18:32:51 -06:00
Michael Scire ef9adabb40 Exosphere: Fix MC carveout setup bug, now receives smcCpuOn from kernel on 1.0.0. 2018-05-21 20:14:18 -06:00
Michael Scire c64d7904b4 Fusee: Fix se_calculate_sha256 2018-05-21 13:07:46 -06:00
Michael Scire 366cc5e189 Exosphere: Fix extremely spooky Security Engine bugs, now makes it to the end of package2loader. 2018-05-21 04:30:53 -06:00
Michael Scire 9424510f8f Exosphere: Fix remaining crt0 bugs, we now make it to pk2ldr. 2018-05-18 07:16:41 -06:00
Michael Scire 6954925f71 Exosphere: Fix bug, we now make it past MMU enable. 2018-05-18 06:58:49 -06:00
Michael Scire ea905725c4 Exosphere: Copy initial data image to DRAM for coldboot init. 2018-05-18 06:49:49 -06:00
Michael Scire 1a9f095463 Exosphere: Fix relocation bug (warmboot relocs currently broken in edge case) 2018-05-18 03:10:48 -06:00
Michael Scire 5088851de4 Fusee: fix unused var 2018-05-17 07:15:55 -06:00
Michael Scire bb1dcb2655 Fusee: Implement BIS crypto functions. 2018-05-17 07:15:29 -06:00
Michael Scire 1182ea23a5 Fusee: Fix typo when decrypting keyblobs. 2018-05-16 02:39:13 -06:00
Michael Scire fa71e9cb15 Fusee: Decrypt all keyblobs during key derivation. 2018-05-16 02:06:59 -06:00
Michael Scire 02e01360fd Exosphere: Fix crt0 bug resulting in bad relocation calculations 2018-05-10 18:37:11 -06:00
Michael Scire ba7d0c2cb6 Exosphere: Add API for retrieving versioning info. 2018-05-09 06:29:56 -06:00
Michael Scire 173e6c8c0f PM: Fix missing flags set/missing wait. Now works on 5.x. 2018-05-08 18:46:49 -06:00
Michael Scire c800421a36 Loader: Fix char * const correctness. 2018-05-08 04:43:07 -06:00
Michael Scire 5c6f0fc14c SM: Match official SAC validation behavior. 2018-05-08 03:02:57 -06:00
Michael Scire aa158dbb5a Loader: Fix game update content loading, fix SD card mounting on newer firmwares. Closes #61. 2018-05-08 02:59:18 -06:00
Michael Scire 44127faa17 SM: Fix svcGetSystemInfo bug, now works on 5.0.2. 2018-05-07 22:48:08 -06:00
Michael Scire b346c8f375 Fix minor bugs in loader/sm 2018-05-07 07:31:36 -06:00
Michael Scire 9e558dafee libstratosphere: Make boolean autoparsing match official semantics. 2018-05-07 07:22:41 -06:00
Michael Scire ae78ee22da ProcessManager: Fully implement pm:dmnt. Remove debug logging. 2018-05-07 04:45:44 -06:00
Michael Scire 6dc8ab6f17 ProcessManager: Refactor resource limits, complete pm:shell. 2018-05-07 03:50:45 -06:00
Michael Scire 700f92162d ProcessManager: Fix Synchronization. Now works on 1.0.0 hardware. 2018-05-06 23:00:05 -06:00
SciresM 1b21a7022d Fix critically missing credit 2018-05-06 06:28:34 -06:00
Michael Scire 6d6ecb503a ProcessManager: Fix svcCreateEvent handle inversion bug, and others.
NOTE: Debugging logs have been left in, and will be cleaned up once PM
is working.
2018-05-06 02:23:47 -06:00
Michael Scire 772401b81f ProcessManager: Add pm:info, fix pm:shell missing qualifiers 2018-05-04 20:16:40 -06:00
Michael Scire e596fd0de5 ProcessManager: Implement almost all of pm:shell 2018-05-04 19:57:11 -06:00
Michael Scire ae830fea95 Process Manager: Add stub for pm:shell 2018-05-04 18:25:26 -06:00
Michael Scire 5d215ef299 Process Manager: Make process flag updating version agnostic, handle 5.x dead process semantics. 2018-05-04 17:55:48 -06:00
Michael Scire 553cd236f2 Fusee: fix typo 2018-05-04 16:38:10 -06:00
Michael Scire 9487924973 Fusee: Add #define requirement for pragmatic reasons. 2018-05-04 16:35:33 -06:00
Michael Scire 4199be2460 Merge SD stuff into fusee-secondary. Switch diskio to single-sector reads temporarily 2018-05-04 11:47:05 -06:00
Michael Scire 299b020ecc Push minimally working FATFS. 2018-05-04 11:21:15 -06:00
Michael Scire c19750a0d5 ProcessManager: Make launch flag parsing version agnostic. 2018-05-04 01:01:53 -06:00
Michael Scire d6cf7c605f ProcessManager: Implement core process management logic. 2018-05-03 23:58:37 -06:00
Michael Scire 7ab9f507cb ProcessManager: Fill out ProcessTracking::Initialize() 2018-05-03 16:15:12 -06:00
Michael Scire 54a1529ef4 ProcessManager: fix critical typo in sarcastic comment 2018-05-03 04:10:41 -06:00
Michael Scire 3d2c3e1fe1 ProcessManager: Stub ProcessTracking code. 2018-05-03 04:10:05 -06:00
Michael Scire 0459bcee74 ProcessManager: Acquire ldr:pm during init. 2018-05-03 03:58:45 -06:00
Michael Scire b5412df53b Stratosphere: Add IPC templating for non-member functions. 2018-05-03 03:14:48 -06:00
Michael Scire 593efedb2c ProcessManager: Add BootModeInterface 2018-05-03 02:58:11 -06:00
Michael Scire bd1315022a Stratosphere: Begin work on PM. 2018-05-02 22:18:05 -06:00
Michael Scire 9e03852703 Loader: Fix bugs ldr:ro, Loader now works fully on hardware. 2018-05-02 01:39:24 -06:00
Michael Scire 361e9607a9 SM: After checking docs, kernelAbove400() -> kernelAbove500() 2018-05-01 23:24:57 -06:00
Michael Scire 3c87c4c3c3 SM: Add compile-time smhax flag, finishing module. (Closes #62) 2018-05-01 23:21:39 -06:00
Michael Scire bda056562c Push all graphical resources to main repo, add credits 2018-05-01 18:42:23 -06:00
Michael Scire e05f199394 Loader: Fix (all?) remaining bugs in ldr:pm.
Loader now works when booted as a KIP1. NOTE: ldr:ro still needs
debugging.
2018-05-01 16:49:20 -06:00
Michael Scire 9944d8e7e1 Boot2: Remove svcExitProcess (handled by libnx). 2018-05-01 11:08:21 -06:00
Michael Scire c12de33440 Boot2: Fix comment. 2018-05-01 11:04:39 -06:00
Michael Scire 64bf2052e5 boot2: exit process at end of main(). 2018-05-01 11:02:16 -06:00
Michael Scire e7e28fbc57 Implement boot2 sysmodule. 2018-05-01 10:58:33 -06:00
Michael Scire 30f975a558 Stratosphere: Fix remaining bugs in sm, which now works as a KIP1 on hardware 2018-04-30 22:27:26 -06:00
Michael Scire f7434672bf Update banner placement in README 2018-04-27 03:56:48 -06:00
Michael Scire 0d25f342c6 Add banner to README 2018-04-27 03:56:06 -06:00
Michael Scire 4e1a29f618 Loader: Finish ldr:ro 2018-04-27 03:33:44 -06:00
Michael Scire 772e41971d Loader: Add ldr:ro->LoadNro() 2018-04-27 03:17:18 -06:00
Michael Scire e43c6df986 Loader: fix missing NULL assignment 2018-04-26 20:51:12 -06:00
Michael Scire 2e7b6de195 Loader: Automatically unload NRRs on service close. 2018-04-26 20:50:27 -06:00
Michael Scire e7aa5c246b Loader: Implement ldr:ro->UnloadNrr() 2018-04-26 20:37:38 -06:00
Michael Scire 8524f284fd Loader: Implement ldr:ro->LoadNRR(). NOTE: No sigchecks, at the moment. 2018-04-26 20:27:52 -06:00
Michael Scire 789afe7929 Loader: fix missing reassignment in AutoCloseMap 2018-04-26 19:43:26 -06:00
Michael Scire 1d73bd0a12 Loader: Start work on LoadNRR, Add AutoCloseMap 2018-04-26 19:13:55 -06:00
Michael Scire b34b9ba0e4 Loader: Greatly simplify mapping logic, add CodeMemory mapper. 2018-04-26 18:04:30 -06:00
Michael Scire 991357f309 Loader: Add NRRInfo to RegisteredProcess, refactor Registration:: 2018-04-26 17:03:10 -06:00
Michael Scire 977a51edb0 Loader: Service ldr:ro on <= 2.3.0 2018-04-26 16:50:43 -06:00
Michael Scire fe2f227dfc Loader: Implement ldr:ro->Initialize() 2018-04-26 16:49:01 -06:00
Michael Scire 4f09c61bfa Loader: Push ldr:ro stub. 2018-04-26 16:45:09 -06:00
Michael Scire 1ec3eb1ace Loader: is_64_bit -> is_64_bit_addspace 2018-04-26 14:53:33 -06:00
Michael Scire 82d9728372 Loader: Save process->is_64_bit as prep for ldr:ro 2018-04-26 14:51:07 -06:00
Michael Scire ea609e68d3 Change read_sd_file semantics to return size read. 2018-04-26 04:47:22 -06:00
Michael Scire 222ec1cd7f Boot: Fix JSON mappings to be RW (instead of RO) 2018-04-25 17:41:07 -06:00
Michael Scire dba0d62ef7 Stratosphere: Add .jsons for loader, sm 2018-04-25 02:07:47 -06:00
Michael Scire 678bf5914a Loader: Properly map BSS as rw. 2018-04-25 01:50:23 -06:00