Michael Scire
2f9b9d5e7f
ams: basic support for compiling with gcc 15
2025-05-09 12:10:11 -07:00
Michael Scire
43b8461b5f
kern/svc: fix query/insecure names
2023-11-16 16:25:26 -07:00
Michael Scire
b0d412c916
sdmmc: fix wrong mode select for GcAsic(Fpga)Speed
2023-01-24 14:39:18 -07:00
Michael Scire
0913b4d150
sdmmc: fix missing call to GetSdStatus at non-uhsi mode
2023-01-24 14:39:17 -07:00
Michael Scire
932db3b92e
ams: address some warnings when building with gcc-12
2022-10-12 09:15:38 -07:00
Michael Scire
6a5d2ced4b
ams: globally prefer R_RETURN to return for ams::Result
2022-04-04 17:46:58 -07:00
Michael Scire
6f4618ea60
ams: use R_SUCCEED, R_THROW globally
2022-04-04 17:46:57 -07:00
Michael Scire
af48924e59
crypto: fix aes-128 dec on arm64/cortex-a57
2022-03-23 11:25:20 -07:00
Michael Scire
d97cdde1aa
os/dd: add missing semicolon to new cache logic
2022-03-23 09:16:08 -07:00
Michael Scire
d066ac3d69
kern: update for new hw maintenance semantics
2022-03-23 09:16:06 -07:00
Michael Scire
39047de5c2
ncm: update client code to better reflect latest sysupdate
2022-03-23 09:15:56 -07:00
Michael Scire
8a5d1ec46c
fs: utilities for hac2l to print gc headers
2022-03-23 09:15:55 -07:00
Michael Scire
1f2822fafe
abort/error: print backtrace, abuse templates, overhaul result/diag (macos not done yet)
2022-03-23 09:15:49 -07:00
Michael Scire
6c3eb5b121
lib: simplify pragma macros
2022-03-23 09:15:48 -07:00
Michael Scire
78af849848
libs: begin adding capacity for doing crypto on generic os (using externally-preset keys)
2022-03-23 09:15:47 -07:00
Michael Scire
d7a9c7ec4c
ams: support building unit test programs on windows/linux/macos
2022-03-23 09:15:46 -07:00
Michael Scire
513c5e732a
crypto: fix asm constraints for memory comparison
2022-03-23 09:15:45 -07:00
Michael Scire
9b2c279d81
fs: add Sha256HashGenerator, LZ4 decompressor
2022-03-23 09:15:44 -07:00
Michael Scire
f8e294d6fc
sprofile: various correctness fixes.
2021-10-29 17:47:14 -07:00
Michael Scire
a0f0dc3ba1
crypto: implement md5, which now used by sprof
2021-10-26 01:11:19 -07:00
Michael Scire
960c5c19f9
ams: improve offsetof style consistency
2021-10-26 01:11:10 -07:00
Michael Scire
bb1a22a631
sdmmc: use m_ for member variables
2021-10-15 23:54:35 -07:00
Michael Scire
116e41f790
exo/vapours: refactor member variables to m_ over this->
2021-10-15 23:54:34 -07:00
Michael Scire
3b5f56ab9f
ams: replace most remaining operator & with std::addressof
2021-10-15 23:54:34 -07:00
Michael Scire
fd1b6d4578
libstrat: enable -Wextra, -Werror
...
This caught an embarrassingly large number of bugs.
2021-10-07 23:06:28 -07:00
Michael Scire
002422d5dc
ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals
2021-10-07 23:06:25 -07:00
Michael Scire
6125281acd
os: adopt multiwait naming over waitable
2021-10-07 23:06:23 -07:00
Michael Scire
c68298a00e
stratosphere: use SdkMutex/SdkRecursiveMutex over Mutex
2021-10-07 23:06:22 -07:00
Michael Scire
7665721e03
ams-libs: AMS_ASSERT no longer invokes expression
2021-10-07 23:06:21 -07:00
SciresM
277d2193e2
LogManager: implement system module, client api, logging api ( #1617 )
...
Some notes:
* Unless `atmosphere!enable_log_manager` is true, Nintendo's log manager will be used instead.
* This prevents paying memory costs for LM when not enabling logging.
* To facilitate this, Atmosphere's log manager has a different program id from Nintendo's.
* `atmosphere!enable_htc` implies `atmosphere!enable_log_manager`.
* LogManager logs to tma, and the SD card (if `lm!enable_sd_card_logging` is true, which it is by default).
* Binary logs are saved to `lm!sd_card_log_output_directory`, which is `atmosphere/binlogs` by default.
2021-09-19 10:35:25 -07:00
Michael Scire
30725cfdec
fusee_cpp: implement bpmp cache driver
2021-09-06 16:32:36 -07:00
Michael Scire
2d67f66c44
util: add compile-time validation tests for intrusive red black trees
2021-04-29 03:04:53 -07:00
Michael Scire
7111b5cce6
strat: no longer materially constrained by sm session limit
2021-04-29 03:04:50 -07:00
Michael Scire
9b47aa6e08
ams: prefer construct_at/destroy_at over placement new/explicit destructor
2021-04-11 03:59:04 -07:00
Michael Scire
1861791c1c
ams: remove TYPED_STORAGE() macro in favor of template
2021-04-11 03:59:03 -07:00
Michael Scire
b05ba02f04
libmeso: explicitly blacklist ::sdmmc::, instead of relying on incorrect board tricks
2020-12-29 13:07:58 -08:00
Michael Scire
e82a57dc85
ams: resolve source dir inconsistency
2020-12-29 13:07:57 -08:00
Michael Scire
fd5212f399
fs: update + consolidate path normalization logic
2020-12-11 03:48:57 -08:00
Michael Scire
c891dfcff7
sdmmc: fix UHS-I tuning init for SD cards
2020-12-02 06:52:58 -08:00
Michael Scire
5aae240bc9
sdmmc: various fixes + logging as bugs are debugged
2020-12-02 06:52:58 -08:00
Michael Scire
3f4e0b4912
exo: read first two sd card sectors in mariko_fatal
2020-12-02 06:52:57 -08:00
Michael Scire
23609fb983
exo: implement start of mariko fatal handler
2020-12-02 06:52:57 -08:00
Michael Scire
f99c30920b
boot: add rgltr/clkrst overrides, skel I2cBusAccessor
2020-12-02 06:52:44 -08:00
Michael Scire
3756f81d9e
wec: implement wec driver components for boot sysmodule
2020-12-02 06:52:43 -08:00
SciresM
791b402320
sdmmc: implement driver suitable for fs + bootloader
...
* sdmmc: begin skeletoning sdmmc driver
* sdmmc: add most of SdHostStandardController
* sdmmc: implement most of SdmmcController
* sdmmc: Sdmmc2Controller
* sdmmc: skeleton implementation of Sdmmc1Controller
* sdmmc: complete abstract logic for Sdmmc1 power controller
* sdmmc: implement gpio handling for sdmmc1-register-control
* sdmmc: implement pinmux handling for sdmmc1-register-control
* sdmmc: fix building for arm32 and in stratosphere context
* sdmmc: implement voltage enable/set for sdmmc1-register-control
* util: move T(V)SNPrintf from kernel to util
* sdmmc: implement BaseDeviceAccessor
* sdmmc: implement MmcDeviceAccessor
* sdmmc: implement clock reset controller for register api
* sdmmc: fix bug in WaitWhileCommandInhibit, add mmc accessors
* exo: add sdmmc test program
* sdmmc: fix speed mode extension, add CheckMmcConnection for debug
* sdmmc: add DeviceDetector, gpio: implement client api
* gpio: modernize client api instead of doing it the lazy way
* sdmmc: SdCardDeviceAccessor impl
* sdmmc: update test program to read first two sectors of sd card
* sdmmc: fix vref sel
* sdmmc: finish outward-facing api (untested)
* ams: changes for libvapours including tegra register defs
* sdmmc: remove hwinit
2020-12-02 06:52:42 -08:00
Michael Scire
dc59a2d2e5
kern: build with -Wextra
2020-09-07 10:51:36 -07:00
Michael Scire
1674d4d220
exo2: implement warmboot firmware
2020-06-14 22:54:06 -07:00
Michael Scire
eef3dda23b
exo2: fix bugs in device unique data decrypytion
2020-06-14 22:54:01 -07:00
Michael Scire
7561db5ed2
exo2: Implement (untested) SmcDecryptDeviceUniqueData
2020-06-14 22:54:01 -07:00
SciresM
b38939adb5
Implement support for parsing/interacting with NCAs. ( #942 )
...
* fs: implement support for interacting with ncas.
* spl: extend to use virtual keyslots
2020-05-12 15:44:19 -07:00