Commit Graph

71 Commits

Author SHA1 Message Date
Michael Scire
0d2e2df552 strat: revise fs unsupported operation results, add overflow utils 2022-03-23 09:15:53 -07:00
Michael Scire
a759a00e96 fs: fix locking in FileSystemBufferManager 2022-03-23 09:15:53 -07:00
Michael Scire
8785a53d2b fs: move bitmap classes out of save:: 2022-03-23 09:15:52 -07:00
Michael Scire
a9e2c6a9c0 fs: first pass at compressed storage (works on iridium with wip hac2l code) 2022-03-23 09:15:51 -07:00
Michael Scire
493001fdd7 fssrv: add ExternalKeyManager (rights-id crypto) for hac2l 2022-03-23 09:15:51 -07:00
Michael Scire
cdce4416e0 remove leftover debug print 2022-03-23 09:15:48 -07:00
Michael Scire
7a689dc29e libs: add ongoing work to facilitate hactool rewrite 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
eb768f0e86 fs: add just in case bounds checking to linux/macos dirent read 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
936b36fc6e ams_mitm: update to use new NcaFileSystemDriver intf 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
b37eba086f fs: revise NcaFileSystemDriver for latest semantics 2022-03-23 09:15:44 -07:00
Michael Scire
78797b87d7 fssystem: revise allocator logic for latest semantics 2022-03-23 09:15:44 -07:00
Michael Scire
c8621b9a5a fssrv: skeleton more program registry logic 2022-03-23 09:15:43 -07:00
Michael Scire
5b4528214f fs: implement newer allocator templates 2022-03-23 09:15:42 -07:00
Michael Scire
1e98da6d08 fssrv: skeleton server manager setup/registration 2022-03-23 09:15:42 -07:00
Michael Scire
c9bcd87e73 fs: add skeleton dir for sysmodule code
Please note this isn't likely to immediately be the active ams project.
2022-03-23 09:15:41 -07:00
Michael Scire
c5030ec4d4 typofix: boogaloo: electric. 2022-03-23 09:15:39 -07:00
Michael Scire
136339ca49 fix typo-bug in HierarchicalSha256Storage::Read 2022-03-23 09:15:39 -07:00
Michael Scire
9436b9a555 ams: deduplicate static initialization logic 2022-01-19 16:28:54 -08:00
Michael Scire
3e33fb6361 strat: use m_ for member variables 2021-10-15 23:54:35 -07:00
Michael Scire
3b5f56ab9f ams: replace most remaining operator & with std::addressof 2021-10-15 23:54:34 -07:00
Michael Scire
5c32ec11ea strat: refactor address taking of form &var[...] 2021-10-15 23:54:34 -07:00
Michael Scire
e2df2f98a3 strat: always use explicit result namespacing 2021-10-15 23:54:33 -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
5a71876ca8 strat: use svc:: over ::svc 2021-10-07 23:06:26 -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
304b0f8016 os: remove ManagedHandle, refactor to use NativeHandle typename 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
6fdac55fd1 libstrat: uncomment some asserts 2021-10-07 23:06:21 -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
1e1b5971ce fs: properly implement OperateRangeWithBuffer, correct OperationId names. 2021-04-30 08:56:09 -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
dfdd58ab7f fssystem: fix bug in BufferedStorage 2021-02-02 12:16:27 -08:00
Michael Scire
0b2c4bb70e util::unique_lock, update loader to new sf semantics 2021-02-02 12:16:22 -08:00
Michael Scire
5a3c0620e1 fs: fix keyslotcache unique_lock usage 2021-01-13 10:41:29 -08:00
Michael Scire
270766dbd1 strat: avoid using unique_lock in a few places 2021-01-13 10:41:29 -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
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
8233fa00ac fssystem: fix bug in BufferedStorage 2020-12-02 06:53:24 -08:00
Michael Scire
d488683b94 fs: fix bug in buffer manager 2020-12-02 06:53:03 -08:00
Michael Scire
a8cc9c6d6f fs: fix retry bug in OpenContentStorageFileSystem 2020-08-01 15:31:14 -07:00
Michael Scire
47d62b22f2 libstrat: fix bugs/compiler warnings 2020-08-01 15:30:55 -07:00
Michael Scire
8f0ee258ac sysupdater: begin implementing api 2020-06-28 19:41:09 -07:00