Michael Scire
743634c3fd
kern: move KTargetSystem into .rodata, split init/verify
2024-10-15 21:48:59 -07:00
Michael Scire
3394a88a1a
kern: fix debug build
2024-10-15 21:48:59 -07:00
Michael Scire
a72e39d657
kern: allocate all TTBR0 pages during init, use procidx as asid
2024-10-15 21:48:59 -07:00
Michael Scire
c3fa42d958
kern: clear gicd/gicc pointers in KInterruptController::Finalize
2024-10-15 21:48:59 -07:00
Michael Scire
126cb8bbdf
kern: fix KMemoryBlock ctor reorder warn
2024-10-15 21:48:59 -07:00
Michael Scire
753cf74bf2
kern: eliminate use of KMemoryInfo, shuffle KMemoryBlock fields
2024-10-15 21:48:59 -07:00
Michael Scire
70bf833070
kern: KAddressSpaceInfo now takes CreateProcessFlags in getters
2024-10-15 21:48:59 -07:00
Michael Scire
a0ad3ef949
kern/svc: update WaitForAddress to support 64-bit WaitIfEqual
2024-10-15 21:48:59 -07:00
Michael Scire
5de551db29
kern: add InfoType_TransferMemoryHint
2024-10-15 21:48:59 -07:00
Michael Scire
77d17dc4ff
emummc: update for 19.0.0
2024-10-15 21:48:59 -07:00
Michael Scire
4acfac539c
erpt: add new IDs/categories
2024-10-15 21:48:59 -07:00
Michael Scire
c4a5d4db09
fusee/exo/ams: update with new keydata/version enums
2024-10-15 21:48:59 -07:00
Michael Scire
10c7a39528
kern/creport: use mod0 to locate symbol table for all modules
2024-09-24 13:15:21 -07:00
Michael Scire
009f581721
creport: optimize ScopedFile performance
2024-09-23 02:41:57 -07:00
Michael Scire
027e209073
kern/ldr: enable the use of relr for relocations
2024-09-01 22:27:48 -07:00
Michael Scire
423a05a1e9
meso: fix sign-comparison warn on svc/interrupt flag compare
2024-09-01 16:27:01 -07:00
Michael Scire
e85bc4db0b
fusee: add nogc case for 18.1
2024-06-11 10:29:02 -07:00
Michael Scire
39c201e37f
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "bb7678691"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "bb7678691"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2024-06-10 22:19:29 -07:00
Michael Scire
ab5cc75684
git subrepo push emummc
...
subrepo:
subdir: "emummc"
merged: "f23f943d4"
upstream:
origin: "https://github.com/m4xw/emummc "
branch: "develop"
commit: "f23f943d4"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2024-06-10 22:18:44 -07:00
Michael Scire
1e3349e99a
emummc: update readme
2024-06-10 22:18:04 -07:00
Michael Scire
76628e273a
ams: bump to 1.7.1 (support for 18.1.0)
2024-06-10 22:17:23 -07:00
Michael Scire
257ac2bd33
emummc: update to support 18.1.0
2024-06-10 22:16:24 -07:00
Michael Scire
9eb92f37db
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "d58ff30a1"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "d58ff30a1"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2024-06-05 11:29:13 -07:00
Michael Scire
5b135d12ca
libstrat: fix more gnu++23 errors
2024-06-05 11:28:29 -07:00
Michael Scire
c41a6b80d7
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "087f68257"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "087f68257"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2024-06-05 09:22:53 -07:00
Michael Scire
05fde7b764
ams: may as well test removal of CRTP from Result
2024-06-01 22:36:37 -07:00
Michael Scire
1609f804f2
ams: build with -std=gnu++23
2024-06-01 22:36:37 -07:00
Michael Scire
f35c94810c
ams: fix compilation with gcc 14 ( closes #2330 )
2024-06-01 22:36:37 -07:00
Michael Scire
548b48b2a6
loader: update to reflect latest 18.0.0 changes
...
well, this sure is late, whoops
2024-05-27 15:43:58 -07:00
Michael Scire
35d93a7c41
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "fadec2981"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "fadec2981"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2024-03-29 03:20:12 -07:00
Michael Scire
410f23035e
docs: update changelog for 1.7.0
2024-03-29 03:19:17 -07:00
Michael Scire
29cc13543a
kern: fix using memory config for half-of-true-size
2024-03-29 03:18:20 -07:00
Michael Scire
31ad4eec1d
git subrepo push emummc
...
subrepo:
subdir: "emummc"
merged: "832b24426"
upstream:
origin: "https://github.com/m4xw/emummc "
branch: "develop"
commit: "832b24426"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2024-03-29 02:57:53 -07:00
Michael Scire
3ccb0ae02b
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "8b85add71"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "8b85add71"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2024-03-29 02:56:10 -07:00
Michael Scire
4f7db6e60e
docs: add changelog for 1.7.0
2024-03-29 02:54:40 -07:00
Michael Scire
a325e18cb5
loader: add usb3 patches for 18.0.0
2024-03-29 02:41:14 -07:00
Michael Scire
af41272591
spl: add support for new spl:es command 33
2024-03-29 02:41:14 -07:00
Michael Scire
551821e7e2
erpt: actually support non-sequential ids, nintendo why
2024-03-29 02:41:14 -07:00
Michael Scire
b081762657
emummc: update for 18.0.0
2024-03-29 02:41:14 -07:00
Michael Scire
d2c2a94c5e
erpt: add new IDs/categories
2024-03-29 02:41:14 -07:00
Michael Scire
4ff9278d11
jpegdec: stop bundling (TODO post-prerelease)
2024-03-29 02:41:14 -07:00
Michael Scire
21c85c6a4f
exo/fusee: apparently 18.0.0 did not burn a fuse
2024-03-29 02:41:14 -07:00
Michael Scire
05090005b7
svc: advertise support for 18.3.0.0
2024-03-29 02:41:14 -07:00
Michael Scire
c0487ad384
kern: fix whoops in new page table logic
2024-03-29 02:41:14 -07:00
Michael Scire
ecbe5cd406
kern: refactor smc helpers to share more common logic
2024-03-29 02:41:14 -07:00
Michael Scire
4fe139ea52
kern: return ExceptionType_UnalignedData on data abort caused by alignment fault
2024-03-29 02:41:14 -07:00
Michael Scire
6922eae3e7
kern: add KPageGroup::CopyRangeTo
2024-03-29 02:41:14 -07:00
Michael Scire
952188fc73
kern: implement new attr tracking for memory range/traversal context
2024-03-29 02:41:14 -07:00
Michael Scire
c0a4fc30a8
kern: simplify size calculations in KPageTableBase::Read/WriteDebugIoMemory
2024-03-29 02:41:14 -07:00
Michael Scire
0b04c89a84
kern: pass properties directly to KPageTableBase::AllocateAndMapPagesImpl
2024-03-29 02:41:14 -07:00
Michael Scire
217dd1260a
kern: take alignment argument in KMemoryManager::AllocateAndOpen
2024-03-29 02:41:14 -07:00
Michael Scire
8aa62a54d8
kern/os: support CreateProcessFlag_EnableAliasRegionExtraSize
2024-03-29 02:41:14 -07:00
Michael Scire
25bae14064
kern: revise KPageTableBase region layout logic to match 18.0.0 changes
2024-03-29 02:41:14 -07:00
Michael Scire
900913fe3b
kern: fix longstanding bug in ConvertToKMemoryPermission
2024-03-29 02:41:14 -07:00
Michael Scire
7562f807fd
kern: pass kernel base from KernelLdr to Kernel
2024-03-29 02:41:14 -07:00
Michael Scire
cf5895e04f
kern: use userspace access instructions to read from tlr
2024-03-29 02:41:14 -07:00
Michael Scire
1f37fbed1d
fusee/exo/ams: update with new keydata/version enums
2024-03-29 02:41:14 -07:00
Michael Scire
c8c76bf8f8
readme: I suppose we're living in 2024, then
2024-03-04 14:51:44 -07:00
Michael Scire
0220f67085
fssrv: fix dumb assert error
2024-02-23 13:55:51 -07:00
Michael Scire
72b0fe6c1c
strat: fix nx_debug build target
2024-01-20 13:31:12 -07:00
Michael Scire
e919b80fa2
pm: improve resource limit management accuracy
...
This change was made for #2255 , but the issue creator never confirmed if it resolved the issue.
This *does* better reflect what Nintendo's pm does, though, so I'm going to commit it regardless.
2024-01-20 13:09:04 -07:00
Michael Scire
fc16f28d0c
settings: support PortugueseBr ( closes #2264 )
2024-01-08 12:20:53 -07:00
Michael Scire
e09ba765a1
kern: fix various comment/style hygiene issues (thanks @liamwhite)
2023-12-27 23:24:35 -07:00
Michael Scire
3217df147e
kern: allow ktrace map capability when ktrace is disabled
2023-12-27 23:17:52 -07:00
Michael Scire
1fa41c3e2a
loader/ro: abort if patching would go out of bounds
2023-12-27 23:05:10 -07:00
Michael Scire
db3dc4ebd2
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "bfc558348"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "bfc558348"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2023-11-28 13:02:32 -07:00
Michael Scire
742fd16080
sf: fix ipc serialization bug (out object id offsets)
2023-11-28 12:54:00 -07:00
Michael Scire
812b2aeb4c
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "d7a02b6ca"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "d7a02b6ca"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2023-11-16 16:25:52 -07:00
Michael Scire
46a4357882
fusee: remove ips patch parsing from sd filesystem
...
Parsing the SD fs is very slow. In addition, the only KIPs are either a) atmosphere modules, or b) FS.
The IPS subsystem was originally designed to make nogc/etc patches work for FS,
but these are now internal, and it appears that the literal only kip patches
that exist are for piracy.
It just doesn't make sense to slow down boot for every normal user for a feature
that has no actual usecase, and especially when fusee is already so minimal.
2023-11-13 12:45:00 -07:00
Michael Scire
872c18c501
kern: fix some comment typos
2023-11-01 10:25:31 -07:00
Michael Scire
afc0e14556
kern/svc: fix query/insecure names
2023-11-01 10:24:13 -07:00
Michael Scire
f7bf379cfe
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "80bf6aeee"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "80bf6aeee"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2023-10-27 16:22:45 -07:00
Michael Scire
9f26419b1a
ams: bump version to 1.6.2, add changelog
2023-10-27 16:21:57 -07:00
Michael Scire
1b057d48c6
sm: fix compat with new service macros
2023-10-26 14:44:45 -07:00
Michael Scire
0c3afff4d3
pm: update to reflect 17.0.0 internal design changes
2023-10-26 14:44:32 -07:00
Michael Scire
274f6b63f2
erpt: add remaining SubmitFsInfo helpers
2023-10-25 16:08:12 -07:00
Michael Scire
2ed8450446
erpt: SubmitFileSystemProxyErrorInfo
2023-10-25 14:21:27 -07:00
Michael Scire
60974a5f4e
erpt: GetMmcErrorInfo, GetSdCard*Info
2023-10-25 12:41:18 -07:00
Michael Scire
fa384fd920
erpt: begin SubmitFsinfo (SubmitMmcDetailInfo)
2023-10-25 04:45:41 -07:00
Michael Scire
3f19db0d96
jpegdec: fix abort check on output width
2023-10-18 02:33:59 -07:00
Michael Scire
a84f725e21
jpegdec: update to reflect 17.0.0 changes
2023-10-18 02:31:26 -07:00
Michael Scire
7f61dfdb8d
pm: since 15.0.0, WaitApplicationMemoryAvailable is more lenient
2023-10-17 11:25:35 -07:00
Michael Scire
c44da84869
pm: adjust resource limit function names
2023-10-17 11:10:09 -07:00
Michael Scire
edb4e2ea56
git subrepo push libraries
...
subrepo:
subdir: "libraries"
merged: "965e05b3c"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "965e05b3c"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
2023-10-16 12:31:15 -07:00
Michael Scire
183f3e0d7e
ams: bump version to 1.6.1
2023-10-16 12:30:35 -07:00
Michael Scire
7650c5eb96
docs: add changelog for 1.6.1
2023-10-16 12:30:18 -07:00
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
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