Commit Graph

1578 Commits

Author SHA1 Message Date
Michael Scire
bf95bc3ede fs: add gc validation wrappers for hac2l 2022-03-23 09:15:55 -07:00
Michael Scire
c895603abf fs: add indirection to raw storage open, for hac2l 2022-03-23 09:15:55 -07:00
Michael Scire
a9aef5024c util: update function dtors, update gitignore 2022-03-23 09:15:54 -07:00
Michael Scire
8b773a8f33 lz4: update to git-master 2022-03-23 09:15:54 -07:00
Michael Scire
f037d60c75 strat: minor result/overflow check fixes 2022-03-23 09:15:54 -07:00
Michael Scire
ce44fe4ea9 fs: revise allocation-fail result names 2022-03-23 09:15:54 -07:00
Michael Scire
0d2e2df552 strat: revise fs unsupported operation results, add overflow utils 2022-03-23 09:15:53 -07:00
Michael Scire
96aa83a60b fs: fix inverted alignment determination in compressed storage 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
5febe40d50 fs: fix clang-build, os: StackGuardManager 2022-03-23 09:15:52 -07:00
Michael Scire
8785a53d2b fs: move bitmap classes out of save:: 2022-03-23 09:15:52 -07:00
Michael Scire
b1b21adcb3 fs: fix missing mutex acquire in compressed storage invalidate/find 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
bdd66fb5ea symbols: use same strategy on windows as on macOS 2022-03-23 09:15:51 -07:00
Michael Scire
071f9fb2f0 use cxxabi for demangling on linux/windows 2022-03-23 09:15:50 -07:00
Michael Scire
19002a652e Implement working macOS backtrace symbolization 2022-03-23 09:15:50 -07:00
Michael Scire
0cefca205f os: add working stack logic for macOS 2022-03-23 09:15:50 -07:00
Michael Scire
d5b858f5ba fix stack getting on linux, add test 2022-03-23 09:15:50 -07:00
Michael Scire
097e04ab54 diag: fix typo in hos-specific backtrace getter 2022-03-23 09:15:49 -07:00
Michael Scire
9e1386f225 crypto: add ability to hash data at compile time, for future diag use 2022-03-23 09:15:49 -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
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
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
c5ae3c2449 erpt: add automatic report cleanup mechanism on boot (closes #1795) 2022-03-23 09:15:46 -07:00
merry
a2e891d5e8 KThreadContext: Use El0PsrMask constant in GetUserContext 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
513c5e732a crypto: fix asm constraints for memory comparison 2022-03-23 09:15:45 -07:00
Michael Scire
f6a7274b60 fix SubStorage copy ctor/= op for new shared_ptr member 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
cdf7e0cbe5 fs: remove now unused StorageOption 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
7407ddaf1e fssrv: flesh out the program registry 2022-03-23 09:15:43 -07:00
Michael Scire
c8621b9a5a fssrv: skeleton more program registry logic 2022-03-23 09:15:43 -07:00
Michael Scire
0e957db878 fssrv: add skeleton getters for service object sf::SharedPointers 2022-03-23 09:15:43 -07:00
Michael Scire
2fd560c7d1 fs: allocations with mutex held must be unsafe 2022-03-23 09:15:42 -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
38bdd8279d fssrv: add placeholder for ipc interface 2022-03-23 09:15:41 -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
9f7ff7a64a kern: fix syntax in audit statement 2022-03-23 09:15:41 -07:00
Michael Scire
9ac47ccc1b lib: add missing semicolon 2022-03-23 09:15:40 -07:00
Michael Scire
e534df9f21 build: remove unnecessary g-dwarf4 flags 2022-03-23 09:15:40 -07:00
SciresM
00203fd7c3 Integrate new result macros. (#1780)
* result: try out some experimental shenanigans

* result: sketch out some more shenanigans

* result: see what it looks like to convert kernel to use result conds instead of guards

* make rest of kernel use experimental new macro-ing
2022-03-23 09:15:40 -07:00