Commit Graph

1908 Commits

Author SHA1 Message Date
Michael Scire
d7a02b6ca1 kern: fix some comment typos 2023-11-16 16:25:26 -07:00
Michael Scire
43b8461b5f kern/svc: fix query/insecure names 2023-11-16 16:25:26 -07:00
Michael Scire
80bf6aeeed ams: bump version to 1.6.2, add changelog 2023-10-27 16:22:11 -07:00
Michael Scire
8fe4159ca2 erpt: add remaining SubmitFsInfo helpers 2023-10-27 16:22:10 -07:00
Michael Scire
2dd93851d9 erpt: SubmitFileSystemProxyErrorInfo 2023-10-27 16:22:09 -07:00
Michael Scire
04ba43ff98 erpt: GetMmcErrorInfo, GetSdCard*Info 2023-10-27 16:22:09 -07:00
Michael Scire
f67c400289 erpt: begin SubmitFsinfo (SubmitMmcDetailInfo) 2023-10-27 16:22:09 -07:00
Michael Scire
71e35e4880 jpegdec: fix abort check on output width 2023-10-27 16:22:08 -07:00
Michael Scire
166c49c893 jpegdec: update to reflect 17.0.0 changes 2023-10-27 16:22:08 -07:00
Michael Scire
44809d30cb pm: adjust resource limit function names 2023-10-27 16:22:07 -07:00
Michael Scire
965e05b3cc ams: bump version to 1.6.1 2023-10-16 12:30:46 -07:00
Michael Scire
944ff3d5f6 ncm: fix two comments 2023-10-16 12:30:44 -07:00
Michael Scire
2125f3c404 ncm: better detect + fix 17 brick after-the-fact
This adds detection for missing-save or empty-save, and rebuilds in either case.
2023-10-16 12:30:44 -07:00
Liam
8d495c256e fs: add missing stub for GetProgramId 2023-10-16 12:30:44 -07:00
Michael Scire
74d96b5fea kern: fix minor sin 2023-10-16 12:30:43 -07:00
Michael Scire
132558c338 erpt: amend min-version for latest CreateReportWithAttachments 2023-10-12 09:22:33 -07:00
Michael Scire
5d5699a7e8 ncm: work around change in Nintendo save handling behavior
Static save files do not require an entry in the save data indexer to mount.
Prior to 17.0.0, save data files were considered static if userid was 0.
In 17.0.0+, only 8000000000000000 is static.

However, some users using cfw do not have an entry for 8000000000000120 in the indexer,
for various reasons (but mostly manual nand-restore, I think). Thus, on boot of 17.0.0+,
FS will say 8000000000000120 is not present (not in indexer), and NCM will create it anew.

The 8000000000000120 save will then be empty, and then the firmware can't boot.

To workaround this, logic has been re-enabled on 17.0.0+ for building the content meta database.
Thus, if the user encounters this error, the 8000000000000120 save will be emptied, but then
it will be automatically reconstructed, fixing the problem.
2023-10-12 09:22:32 -07:00
Michael Scire
338d7ce940 bpc.mitm/exo: support pmic reboot/shutdown on mariko (thanks @CTCaer) 2023-10-12 09:22:32 -07:00
Michael Scire
77ae1814ff erpt: remove deprecated fields, they didn't actually change IDs, just the mapping between id and name table index 2023-10-12 09:22:32 -07:00
Michael Scire
054eeddc0c erpt: Add basic (TODO-impl post-prerelease) support for 17.0.0 changes 2023-10-12 09:22:30 -07:00
Michael Scire
ee56715f3f fs: update OpenCodeFileSystem abi for 17.0.0 2023-10-12 09:22:30 -07:00
Michael Scire
c9a576e990 ncm: update for new 17.0.0 apis 2023-10-12 09:22:29 -07:00
Michael Scire
38cc50294b exo/spl: Add new EsCommonKeyType 2023-10-12 09:22:29 -07:00
Michael Scire
5c8a8adc9a fusee/exo: implement the usual changes for new firmware support 2023-10-12 09:22:28 -07:00
Michael Scire
2c77b3e1e3 kern: fix assert usage in process load 2023-10-12 09:22:28 -07:00
Michael Scire
a2cdc8626d kern: bump supported version to 17.x 2023-10-12 09:22:27 -07:00
Michael Scire
224be3e9f1 kern: fix operation type enum-value whoops 2023-10-12 09:22:27 -07:00
Michael Scire
d211eb4de7 kern: implement support for applying relr relocations 2023-10-12 09:22:27 -07:00
Michael Scire
a55dbf0819 kern: split Process/Thread exit to separate WorkerTaskManagers 2023-10-12 09:22:27 -07:00
Michael Scire
d213377313 kern: split out GetInstructionDataUserMode in exception handler 2023-10-12 09:22:26 -07:00
Michael Scire
e07b0a924d kern: Add special-case for InvalidateProcessDataCache on current process 2023-10-12 09:22:26 -07:00
Michael Scire
6dcf506423 kern: KPageTable: remove MapFirst operation, replace with MapFirstGroup 2023-10-12 09:22:25 -07:00
Michael Scire
7ac90cdb0d kern: note OnFinalize calls in KPageTable::Finalize 2023-10-12 09:22:25 -07:00
Michael Scire
dfbd37e448 kern: implement new default application system resource field in KProcess 2023-10-12 09:22:25 -07:00
Michael Scire
9d485e7df9 kern: update KMemoryRegionType values for new ids + SecureUnknown region 2023-10-12 09:22:25 -07:00
Michael Scire
9f51df06d5 kern: KSupervisorPageTable now checks wxn instead of setting it 2023-10-12 09:22:24 -07:00
Michael Scire
41eea11a19 kern: KPageTable::Initialize no longer takes unused process id 2023-10-12 09:22:24 -07:00
Michael Scire
15ca0c1b10 kern: implement PermissionLock, update KPageTableBase attribute/alignment checks 2023-10-12 09:22:24 -07:00
Michael Scire
d4319842a9 kern: KPageTableBase::CheckMemoryState now invokes a helper 2023-10-12 09:22:23 -07:00
Michael Scire
c8f04e21e5 kern: update KMemoryState, remove bijection (separate IoRegister/IoMemory) 2023-10-12 09:22:23 -07:00
Michael Scire
2c2aa8b57c kern: update initial process load logic to do per-segment mapping/decompression 2023-10-12 09:22:23 -07:00
Michael Scire
a6e34647de kern: clear new pages in init page allocator, not init page table 2023-10-12 09:22:22 -07:00
Michael Scire
8d84b5776f kern: add speculation barriers after eret 2023-10-12 09:22:22 -07:00
Michael Scire
d21f281094 kern: remove unnecessary fields from InitArgs (0x80 -> 0x40) 2023-10-12 09:22:22 -07:00
Michael Scire
3abc567a73 kern/ldr: move crt0 into .rodata 2023-10-12 09:22:21 -07:00
Michael Scire
ba1a07db68 kern: pass ini1 size from loader to kernel, remove slab memset from init0 2023-10-12 09:22:21 -07:00
Liam
540ca1351a dmnt.gen2: enable attach to arbitrary program id 2023-10-12 09:22:20 -07:00
Michael Scire
c3dc418a28 ams: add enum recognition for 16.1.0 2023-08-21 17:26:50 -07:00
Michael Scire
ea17b60da6 fssystem: fix typo error in BucketTree::Visitor::MoveNext 2023-08-21 17:26:50 -07:00
Liam
05852b0ffd libstrat: comment fixes for fssystem 2023-08-21 17:26:50 -07:00