Michael Scire
e8ac23e2ee
ncm: fix two comments
2023-10-16 08:24:07 -07:00
Michael Scire
3a8cffef57
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 02:38:30 -07:00
Liam
13411902c9
fs: add missing stub for GetProgramId
2023-10-14 07:52:47 -07:00
Michael Scire
693fb423cb
kern: fix minor sin
2023-10-12 14:25:17 -07:00
Michael Scire
8a9eb85e05
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "132558c33"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "132558c33"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2023-10-12 09:23:31 -07:00
Michael Scire
d389ef639e
docs: add changelog for 1.6.0
2023-10-12 09:19:26 -07:00
Michael Scire
719858ad18
git subrepo push emummc
...
subrepo:
subdir: "emummc"
merged: "9513a5412"
upstream:
origin: "https://github.com/m4xw/emummc "
branch: "develop"
commit: "9513a5412"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2023-10-12 09:02:30 -07:00
Michael Scire
e4d08ae0c5
erpt: amend min-version for latest CreateReportWithAttachments
2023-10-12 08:55:58 -07:00
Michael Scire
0c063db926
loader: add usb3 patches for 17.0.0
2023-10-12 08:55:58 -07:00
Michael Scire
02e987819b
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 08:55:58 -07:00
Michael Scire
2ec3e141c7
bpc.mitm/exo: support pmic reboot/shutdown on mariko (thanks @CTCaer)
2023-10-12 08:55:58 -07:00
Michael Scire
71d0274884
erpt: remove deprecated fields, they didn't actually change IDs, just the mapping between id and name table index
2023-10-12 08:55:58 -07:00
Michael Scire
05259b7519
emummc: fix offsets for 17.0.0
2023-10-12 08:55:58 -07:00
Michael Scire
59a24fa646
fusee: support parsing 17.0.0+ INI
2023-10-12 08:55:58 -07:00
Michael Scire
f5b2eab4a8
exo: fix up new titlekey option extents
2023-10-12 08:55:58 -07:00
Michael Scire
e96e1063e2
jpegdec: stop bundling (TODO post-prerelease)
2023-10-12 08:55:58 -07:00
Michael Scire
aa170a72a9
erpt: Add basic (TODO-impl post-prerelease) support for 17.0.0 changes
2023-10-12 08:55:58 -07:00
Michael Scire
9d4cb685a7
fs: update OpenCodeFileSystem abi for 17.0.0
2023-10-12 08:55:58 -07:00
Michael Scire
c95741142e
ncm: update for new 17.0.0 apis
2023-10-12 08:55:58 -07:00
Michael Scire
ef9b111bbf
emummc: update for 17.0.0
2023-10-12 08:55:58 -07:00
Michael Scire
114b82284d
exo/spl: Add new EsCommonKeyType
2023-10-12 08:55:58 -07:00
Michael Scire
c5d7ca5159
fusee/exo: implement the usual changes for new firmware support
2023-10-12 08:55:58 -07:00
Michael Scire
6d0bf70783
kern: fix assert usage in process load
2023-10-12 08:55:58 -07:00
Michael Scire
aba6ca7329
kern: bump supported version to 17.x
2023-10-12 08:55:58 -07:00
Michael Scire
06a840e550
kern: fix operation type enum-value whoops
2023-10-12 08:55:58 -07:00
Michael Scire
11c02e22e0
kern: implement support for applying relr relocations
2023-10-12 08:55:58 -07:00
Michael Scire
f93aea4c06
kern: split Process/Thread exit to separate WorkerTaskManagers
2023-10-12 08:55:58 -07:00
Michael Scire
4ddfb6183c
kern: split out GetInstructionDataUserMode in exception handler
2023-10-12 08:55:58 -07:00
Michael Scire
3737151a2f
kern: Add special-case for InvalidateProcessDataCache on current process
2023-10-12 08:55:58 -07:00
Michael Scire
2a4d68f916
kern: KPageTable: remove MapFirst operation, replace with MapFirstGroup
2023-10-12 08:55:58 -07:00
Michael Scire
7b523cfc8d
kern: note OnFinalize calls in KPageTable::Finalize
2023-10-12 08:55:58 -07:00
Michael Scire
39a95d4023
kern: implement new default application system resource field in KProcess
2023-10-12 08:55:58 -07:00
Michael Scire
2c5002ce50
kern: update KMemoryRegionType values for new ids + SecureUnknown region
2023-10-12 08:55:58 -07:00
Michael Scire
b7384a8667
kern: KSupervisorPageTable now checks wxn instead of setting it
2023-10-12 08:55:58 -07:00
Michael Scire
85b5f20395
kern: KPageTable::Initialize no longer takes unused process id
2023-10-12 08:55:58 -07:00
Michael Scire
ad5bd81d3f
kern: implement PermissionLock, update KPageTableBase attribute/alignment checks
2023-10-12 08:55:58 -07:00
Michael Scire
777b6d285c
kern: KPageTableBase::CheckMemoryState now invokes a helper
2023-10-12 08:55:58 -07:00
Michael Scire
ae2c25e9c8
kern: update KMemoryState, remove bijection (separate IoRegister/IoMemory)
2023-10-12 08:55:58 -07:00
Michael Scire
3b8f65d502
kern: update initial process load logic to do per-segment mapping/decompression
2023-10-12 08:55:58 -07:00
Michael Scire
cfd2d5b012
kern: clear new pages in init page allocator, not init page table
2023-10-12 08:55:58 -07:00
Michael Scire
c72ba35684
kern: add speculation barriers after eret
2023-10-12 08:55:58 -07:00
Michael Scire
ec96203cb7
kern: remove unnecessary fields from InitArgs (0x80 -> 0x40)
2023-10-12 08:55:58 -07:00
Michael Scire
1491a7b159
kern: on second thought, move vectors back to end of text
2023-10-12 08:55:58 -07:00
Michael Scire
0daef4a6e8
kern/ldr: move crt0 into .rodata
2023-10-12 08:55:58 -07:00
Michael Scire
4ca3c44e5f
kern: pass ini1 size from loader to kernel, remove slab memset from init0
2023-10-12 08:55:58 -07:00
Michael Scire
add4b3fdc3
utils: update erpt script
2023-10-12 08:55:58 -07:00
Liam
159f8d384b
dmnt.gen2: enable attach to arbitrary program id
2023-10-11 19:50:09 -07:00
Liam
92a8c8eb88
haze: implement android operations
2023-10-11 18:57:49 -07:00
Liam
9e0daff46e
haze: split operations by type
2023-10-11 18:57:49 -07:00
Liam
6b72dbd22d
haze: refactor constant use for cleaner separation
2023-10-11 18:57:49 -07:00