Commit Graph
517 Commits
Author SHA1 Message Date
niklascfw b29e92192e Merge upstream Atmosphere master into boot-storage 2026-10-16 20:19:15 +02:00
hexkyz a8258fb31f ams: bump version and add enum version support for 23.0.1 2026-10-15 22:35:01 +01:00
Niklas080208 b72f8a76f2 Merge upstream Atmosphere master into boot-storage 2026-09-29 20:54:57 +02:00
hexkyz 2d0fc65fd8 kern: implement and comment missing 23.0.0 changes 2026-09-23 00:02:33 +01:00
hexkyz 0411dbfdda ro: start implementing 23.0.0 changes 2026-09-20 23:23:56 +01:00
Alula 866c831f7a spl/vapours: move CTR_DRBG to vapours 2026-09-18 07:22:42 +02:00
Alula 3cfac4c2d8 kern: switch RNG to CTR-DBRG 2026-09-18 04:02:58 +02:00
hexkyz ab1e8a3e32 kern/loader/svc: adopt updated names 2026-09-17 21:42:22 +01:00
hexkyz 6acbabeb72 Merge pull request #2844 from alula/23_support
23.0.0: kernel changes
2026-09-17 00:36:07 +01:00
hexkyz 98d64c28d8 sprofile: clean up and update for 23.0.0 2026-09-17 00:34:00 +01:00
Alula 7e58f5fbae kern: finish shadow stack region, 64k page process segregation implementation, fix some long-standing issues 2026-09-15 17:04:50 +02:00
Alula 0f15010ba5 kern/loader: make aware of new address space and shadow stack region 2026-09-15 17:04:50 +02:00
hexkyz 3d3f0c2daf fusee/exo/ams: update with new keydata/version enums 2026-09-10 15:31:12 +01:00
niklascfw c5aa01f34c Merge upstream Atmosphere master into boot-storage
Bring in latest upstream changes including zstd/zbic loader refactor,
pinmux named options, and erpt ClearFsInfo fixes.
2026-07-17 12:26:29 +02:00
Alula fbeea26919 ams: add R_UNLESS_LOG() 2026-06-24 20:51:39 +02:00
hexkyz 3423a8291f ams: basic support for compiling with gcc 16 2026-06-17 00:59:16 +02:00
hexkyz 5accc43671 ams: add enum recognition for 22.5.0 2026-06-17 00:59:16 +02:00
hexkyz 3a3a2ca99b ams: basic support for compiling with gcc 16 2026-06-16 21:10:23 +01:00
hexkyz c497ffda75 ams: add enum recognition for 22.5.0 2026-06-16 18:41:32 +01:00
naga cfb5e8107f compile fix 2026-04-19 04:16:07 +02:00
NaGa 6703eb990c . 2026-04-14 04:12:32 +02:00
hexkyz 1d550bc2cd Merge pull request #2786 from alula/alula
ams: add enum recognition for 22.1.0
2026-04-08 16:57:24 +02:00
Alula 020ed307b1 ams: add enum recognition for 22.1.0 2026-04-07 03:22:37 +02:00
hexkyz 923dbe02b3 Merge pull request #2734 from ndeadly/r_discard
libvapours: add R_DISCARD macro
2026-04-04 21:38:33 +02:00
Alulaandnvnprogram 82018c0004 erpt: Implement 22.0.0 commands and changes
Co-authored-by: nvnprogram <97150065+nvnprogram@users.noreply.github.com>
2026-04-04 21:30:19 +02:00
Alula 57c341c8e1 svc: bump supported kernel version 2026-04-04 21:30:18 +02:00
Alula 688091abc9 kern: write thread handle to tls +0x110 on creation 2026-04-04 21:30:18 +02:00
Alula db41e33507 fusee/exo/ams: update with new keydata/version enums 2026-04-04 21:30:18 +02:00
hexkyz 7ffb1da2ac Merge pull request #2734 from ndeadly/r_discard
libvapours: add R_DISCARD macro
2026-04-03 19:27:19 +01:00
Alulaandnvnprogram 1847db06f8 erpt: Implement 22.0.0 commands and changes
Co-authored-by: nvnprogram <97150065+nvnprogram@users.noreply.github.com>
2026-03-18 23:33:55 +01:00
Alula 76bceffbd5 svc: bump supported kernel version 2026-03-18 23:25:24 +01:00
Alula 0ee6277be9 kern: write thread handle to tls +0x110 on creation 2026-03-18 23:25:24 +01:00
Alula 9cc82c6f80 fusee/exo/ams: update with new keydata/version enums 2026-03-18 23:25:24 +01:00
ndeadly f8a5a6c015 libvapours: add R_DISCARD macro 2026-02-23 01:09:11 +01:00
Michael Scire ad04b2215d ams/emummc: update for 21.2.0 2026-01-15 03:46:49 +01:00
Michael Scire 1e88f37892 ams/emummc: update for 21.2.0 2026-01-13 23:24:53 -07:00
Michael Scire 39925c3802 ams: add enum recognition for 21.1.0 2025-12-09 06:42:13 +01:00
Michael Scire 3cb5d5f957 ams: add enum recognition for 21.1.0 2025-12-08 18:41:01 -07:00
Michael Scire d457f05204 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-12-04 03:12:52 +01:00
Michael Scire 59f3fc70a5 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-12-04 03:12:52 +01:00
Michael Scire 1978309b3e kern: write cpu tick differential to tls +0x108 on thread switch 2025-12-04 03:09:41 +01:00
Michael Scire 689e25ccb0 fusee/exo/ams: update with new keydata/version enums 2025-12-04 03:09:41 +01:00
Michael Scire ac382f69e7 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-15 12:31:07 -07:00
Michael Scire 3bc1951820 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-15 12:31:07 -07:00
Michael Scire e36051359c kern: write cpu tick differential to tls +0x108 on thread switch 2025-11-15 12:31:07 -07:00
Michael Scire 18bb1fdea0 fusee/exo/ams: update with new keydata/version enums 2025-11-15 12:31:07 -07:00
Michael Scire a1a88e5c42 ams: bump version, add enum support for 20.5.0 2025-10-07 21:21:17 +02:00
Michael Scire 982f0e4fd4 ams: bump version, add enum support for 20.5.0 2025-09-29 18:44:40 -07:00
Michael Scire 93e73a3c36 ams: bump version, add enum support for 20.4.0 2025-09-12 19:13:09 +02:00
comex e9147d8e1d haze: fix duplicate-macro warnings
haze was including both `<switch.h>` and `vapours/types.hpp` which both
define `R_SUCCEEDED` and `R_FAILED`, producing compiler warnings.

The intent is that `vapours/types.hpp` only gets included when targeting
not-Switch and/or not-EL0.  But the check didn't account for
Troposphère.  Fix that.
2025-09-12 19:10:47 +02:00