Commit Graph

60 Commits

Author SHA1 Message Date
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
7a689dc29e libs: add ongoing work to facilitate hactool rewrite 2022-03-23 09:15:48 -07:00
Michael Scire
5131256383 add basic tests for os::Event/SystemEvent functionality 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
9b2c279d81 fs: add Sha256HashGenerator, LZ4 decompressor 2022-03-23 09:15:44 -07:00
Michael Scire
5b4528214f fs: implement newer allocator templates 2022-03-23 09:15:42 -07:00
Michael Scire
f8e294d6fc sprofile: various correctness fixes. 2021-10-29 17:47:14 -07:00
Michael Scire
3e33fb6361 strat: use m_ for member variables 2021-10-15 23:54:35 -07:00
Michael Scire
2905319d46 strat: use ams::Main() instead of main(argc, argv) 2021-10-07 23:06:29 -07:00
Michael Scire
8a8631ebcb strat: build sysmodules with -Wextra/-Werror 2021-10-07 23:06:29 -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
4ce6273f2b strat: use sf::NativeHandle for ipc templating 2021-10-07 23:06:27 -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
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
Michael Scire
dc3f54a713 ams: std::optional -> util::optional 2021-07-12 01:59:51 -07:00
Michael Scire
2fc9035b7d fs: add access log strings for DirectoryEntryType 2021-05-12 09:09:41 -07:00
Michael Scire
1e1b5971ce fs: properly implement OperateRangeWithBuffer, correct OperationId names. 2021-04-30 08:56:09 -07:00
Michael Scire
12471d428d strat: compat with gcc 11 2021-04-29 03:04:54 -07:00
Michael Scire
0345840a88 ams: convert to util::ConstructAt where appropriate 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
bae4c2c6d5 boot2: clean up pre-0.19.0 ams contents on upgrade 2021-04-11 03:59:02 -07:00
Michael Scire
fddf313699 ams: distribute sysmodules in single file as stratosphere.romfs 2021-04-11 03:59:02 -07:00
Michael Scire
60777c5b0d fs: fix GetFileTimeStampRawForDebug 2021-04-11 03:58:58 -07:00
Michael Scire
65a37c60cc tio: implement SdCardObserver (finishes sysmodule) 2021-04-11 03:58:57 -07:00
Michael Scire
b58f3d9174 ro: reduce memory usage by excising (unused) std::malloc 2021-02-02 12:16:21 -08:00
Michael Scire
26369e34f1 ams: use util::SNPrintf over std:: (size/linker improvements) 2021-01-13 10:41:28 -08:00
Michael Scire
fd5212f399 fs: update + consolidate path normalization logic 2020-12-11 03:48:57 -08:00
Michael Scire
1aa8a27f17 fs: move file storage to common 2020-12-11 03:48:57 -08:00
Michael Scire
8aa6f4253d IStorage: rename access check helpers 2020-12-11 03:48:57 -08:00
Michael Scire
7c4ada41fc fsa: *Impl -> Do* 2020-12-11 03:48:56 -08:00
Michael Scire
e5bb9eded1 fs/system: deduplicate RomFs code 2020-12-11 03:48:56 -08:00
Michael Scire
33ea9ed3aa fs: fix RomFs GetEntryType (fixes mariko daybreak) 2020-12-02 06:53:00 -08:00
Michael Scire
4c51c55d1a loader: improve verification terminology 2020-09-14 18:13:42 -07:00
Michael Scire
d58aaede93 fs: correct retry loop again 2020-08-01 15:31:14 -07:00
Michael Scire
a8cc9c6d6f fs: fix retry bug in OpenContentStorageFileSystem 2020-08-01 15:31:14 -07:00
SciresM
ecf8389efd sf: Change interface definition methodology (#1074)
* sf: Begin experimenting with new interface declaration format

* sf: convert fs interfaces to new format

* sf: finish conversion of libstrat to new definitions

* sf: convert loader to new format

* sf: convert spl to new format

* sf: update ncm for new format

* sf: convert pm to new format

* sf: convert ro/sm to new format

* sf: update fatal for new format

* sf: support building dmnt under new scheme

* sf: update ams.mitm for new format

* sf: correct invocation def for pointer holder

* fs: correct 10.x+ user bindings for Get*SpaceSize
2020-08-01 15:30:56 -07:00
Michael Scire
47d62b22f2 libstrat: fix bugs/compiler warnings 2020-08-01 15:30:55 -07:00
Michael Scire
e00abe01c1 fs: use access_log for other user fs/dir/file bindings 2020-08-01 15:30:55 -07:00
Michael Scire
3c7c4d8bff fs: implement AccessLog, enable for File operations 2020-08-01 15:30:55 -07:00
Michael Scire
1699ad4280 sysupdater: make GetUpdateInformation work on hardware. 2020-06-28 19:41:09 -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
SciresM
7d041e853d Switch atmosphere's build target to C++20. (#952)
* ams: update to build with gcc10/c++20

* remove mno-outline-atomics

* ams: take care of most TODO C++20s

* fusee/sept: update for gcc10

* whoosh, your code now uses pre-compiled headers

* make: dependency fixes
2020-05-12 15:44:19 -07:00
Michael Scire
dd81610366 loader: update for 10.0.0 2020-04-15 11:55:02 -07:00
Michael Scire
c190d46343 hos::Version: rename enum members 2020-04-15 11:55:01 -07:00
SciresM
78653041d4 erpt: reimplement the sysmodule (#875)
* erpt: reimplement the sysmodule

* fatal: update for latest bindings

* erpt: amend logic for culling orphan attachments
2020-04-15 11:55:01 -07:00
Michael Scire
a0cddf7c06 os: refactor/rewrite entire namespace. 2020-04-15 11:54:59 -07:00
Michael Scire
442d5cf711 fssystem: add RomFsFileSystem 2020-04-05 23:25:44 -07:00
Michael Scire
0f46474dde fs: add an extension common name generator for sd card 2020-03-31 22:37:23 -07:00
Michael Scire
6f77a6bf65 fs: add MountImageDirectory 2020-03-27 17:00:14 -07:00