Compare commits

..

17 Commits

Author SHA1 Message Date
Michael Scire
4aa7ed15d0 emummc: update for 21.0.0 2025-11-15 09:25:05 -07:00
Michael Scire
6f3cdc4e97 loader: fix sd-cmpt 2025-11-13 15:58:12 -07:00
Michael Scire
849b016197 loader: update for 20.0.0/21.0.0 2025-11-13 15:32:00 -07:00
Michael Scire
c0cfff94b9 pgl/pm: add GetProcessId command 2025-11-13 12:34:28 -07:00
Michael Scire
bd909f7272 kern: fix debug build for [[nodiscard]] changes 2025-11-12 17:32:43 -07:00
Michael Scire
3c209d46e6 kern: fix whoops introduced by nodiscard refactor 2025-11-12 17:32:26 -07:00
Michael Scire
749b32aac5 erpt: implement new 21.0.0 commands 2025-11-12 16:18:13 -07:00
Michael Scire
df6c94eddc erpt: fix ids, failed to copy the new categories 2025-11-12 14:38:52 -07:00
Michael Scire
be1797449b fatal: add new HashedTraceContext command 2025-11-12 14:38:28 -07:00
Michael Scire
0d8ce9fe31 erpt: add new IDs for 21.0.0 2025-11-11 20:06:24 -07:00
Michael Scire
231da89c6a kern: RESERVED_2F now set by HandleFpuException 2025-11-11 19:35:39 -07:00
Michael Scire
5cb14dcabc kern: exception flags are now atomic.
This is a really weird one, because they didn't actually update the
code which updates these flags in asm, these still use ldrb/orr/strb.
But every access to these via c++ is now an atomic ldxrb/stxrb loop.
Maybe they just forgot to update the asm?
2025-11-11 19:34:34 -07:00
Michael Scire
5b14d1f2b1 kern: pass u32 directly to CopyMemoryToUserSize32Bit 2025-11-11 18:48:37 -07:00
Michael Scire
98e131fcd1 ams: mark ams::Result [[nodiscard]] (partially complete).
NOTE: This work is not yet fully complete; kernel is done, but
it was taking an exceedingly long time to get through libstratosphere.
Thus, I've temporarily added -Wno-error=unused-result for libstratosphere/stratosphere.

All warnings should be fixed to do the same thing Nintendo does as relevant, but this
is taking a phenomenally long time and is not actually the most important work to do,
so it can be put off for some time to prioritize other tasks for 21.0.0 support.
2025-11-11 16:13:25 -07:00
Michael Scire
0b9cf32cdc kern: Nintendo now also devirtualizes KAutoObject::DynamicCast 2025-11-11 10:54:32 -07:00
Michael Scire
99ad25fbff kern: write cpu tick differential to tls +0x108 on thread switch 2025-11-11 10:50:17 -07:00
Michael Scire
dbb3bf621f fusee/exo/ams: update with new keydata/version enums 2025-11-10 22:32:02 -07:00
3 changed files with 4 additions and 28 deletions

View File

@@ -1,28 +1,4 @@
# Changelog
## 1.10.0
+ Basic support was added for 21.0.0.
+ The console should boot and atmosphère should be fully functional.
+ **Please note**: All homebrew software may need to be re-compiled with the latest libnx (>= 4.10.0), or else it may crash/experience memory corruption.
+ Nintendo broke the userland<->kernel TLS ABI in 21.0.0, by writing to previously reserved space.
+ Homebrew used this reserved space for its TLS slots, which means any homebrew software using TLS slots will experience memory corruption when running under Atmosphere 1.10.0.
+ This doesn't appear to impact everything, but a large portion of tested homebrew crashes (often on exit), and so will need re-compile for the new ABI.
+ For those technically inclined, while TLS slots are rarely used by developers, they're used to implement features like e.g. C++ exceptions under the hood, and so anything using those crashes, etc.
+ To help make this transition easier, hbmenu now shows a warning when selecting homebrew compiled with an older, incompatible ABI version.
+ I apologize for the hassle in general.
+ libnx has been updated so that its reserved space matches Nintendo's now -- this particular issue can never occur again, even if Nintendo touches more reserved space.
+ `exosphère` was updated to reflect the latest official secure monitor behavior.
+ `mesosphère` was updated to reflect the latest official kernel behavior.
+ `loader` was updated to reflect the latest official behavior.
+ `pm` was updated to reflect the latest official behavior.
+ `erpt` was updated to reflect the latest official behavior.
+ `pgl` was updated to reflect the latest official behavior.
+ `fatal` was updated to reflect the latest official behavior.
+ Support was added for launching another game-which-has-too-many-files with romfs mods.
+ I rely on user reports for adding support/fixing these, and some of these games can be pretty obscure!
+ If you are affected by this, you will see "Data abort (0x101)" when trying to launch the game with mods.
+ Please reach out to `sciresm` on discord if this occurs to share your error report binary.
+ Although some games may be impossible to fix, I believe I can get almost everything working, so please let me try to help you (and improve atmosphère's support!) if you run into this!
+ General system stability improvements to enhance the user's experience.
## 1.9.5
+ Basic support was added for 20.5.0.
+ General system stability improvements to enhance the user's experience.

4
emummc/.gitrepo vendored
View File

@@ -6,7 +6,7 @@
[subrepo]
remote = https://github.com/m4xw/emummc
branch = develop
commit = 3c57b20ba3820ec87d7dd239d6fcf9ba97510606
parent = d61ee942d9b34cadd80464d5d549c5e2e5bf1689
commit = a8e5f1a184aeb8ba884166a1e4f386088d4a6cf1
parent = 409c3cf9e190dbb65fe76570954939cbe8a5eca0
method = merge
cmdver = 0.4.1

View File

@@ -6,7 +6,7 @@
[subrepo]
remote = https://github.com/Atmosphere-NX/Atmosphere-libs
branch = master
commit = 6e2c09c795c3996397b2c5720007453b782e7db9
parent = 4928bcb00322a17345521f27f30bafa3e58ea681
commit = 583ae0fbf32b99fa97c879d2cfc598bf494e3c0e
parent = 652519da2eb7ccb2a113aa5883e4e405e00e2b1c
method = merge
cmdver = 0.4.1