Commit Graph

459 Commits

Author SHA1 Message Date
Michael Scire
dd81610366 loader: update for 10.0.0 2020-04-15 11:55:02 -07:00
Michael Scire
764a2eb9cd loader: update anti-downgrade tables for 10.0.0 2020-04-15 11:55:02 -07:00
Michael Scire
c2017825e6 exosphere: update to support 10.0.0 2020-04-15 11:55:01 -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
8adef95c08 erpt: include all known types/categories in autogen 2020-04-15 11:55:00 -07:00
Michael Scire
a70c3560e5 erpt: identify flags in autogen 2020-04-15 11:55:00 -07:00
Michael Scire
901fe10102 erpt: tweak autogen 2020-04-15 11:55:00 -07:00
Michael Scire
ddcf89e337 util: add bitflagset 2020-04-15 11:55:00 -07:00
Michael Scire
19f4531a1d erpt: add ids (and autogeneration tool) 2020-04-15 11:54:59 -07:00
Michael Scire
a0cddf7c06 os: refactor/rewrite entire namespace. 2020-04-15 11:54:59 -07:00
Michael Scire
da6eac986d buildsystem: fix building 2020-04-06 17:44:36 -07:00
Michael Scire
801a461c6c fs: Implement AesXtsStorage 2020-04-06 17:44:36 -07:00
Michael Scire
aa9523f385 fs: correct error result in AesCtrStorage 2020-04-06 17:44:36 -07:00
Michael Scire
2319e4a450 fs: add AesCtrStorage 2020-04-06 17:44:35 -07:00
Michael Scire
cd0c4af60c fs: implement PooledBuffer 2020-04-06 17:44:35 -07:00
Michael Scire
e5f02531a4 fs: implement system heap 2020-04-06 17:44:35 -07:00
Michael Scire
18396d1a36 crypto: add aes (ecb, ctr, xts) 2020-04-05 23:25:44 -07:00
Michael Scire
442d5cf711 fssystem: add RomFsFileSystem 2020-04-05 23:25:44 -07:00
Adubbz
6e8ea3aafd NCM client implementation (#858)
* ncm: Implement InstallTaskDataBase and FileInstallTaskData

* ncm: minor bugfixes

* ncm: Implemented MemoryInstallTaskData

* ncm: more std

* ncm: begin implementing install task base

* ncm: move protected funcs

* ncm: fix recursive include

* ncm: more install task progress

* ncm install task: implement IncrementProgress and update UpdateThroughputMeasurement

* ncm: more work

* ncm client: more progress

* ncm client: more progress

* ncm client: finish implementing GetContentMetaInfoList

* ncm client: more progress

* ncm client: finished InstallTaskBase

* ncm client: implement PackageInstallTaskBase

* ncm client: fixes

* ncm: improve accuracy

* ncm client: implement PackageInstallTask

* ncm client: implement PackageSystemUpdateTask

* ncm client: minor name tweaks

* ncm client: implement SubmissionPackageInstallTask

* ncm client: add missing this to SubmissionPackageInstallTask

* ncm client: add missing nullptr check to SubmissionPackageInstallTask destructor

* ncm client: SubmissionPackageInstallTask fixes

* ncm: fix forward declarations

* ncm client: added simplified funcs

* ncm: cleanup client code

* ncm: fix bug introduced by cleanup

* ncm: fix typo

* ncm: implement correct ReadVariationContentMetaInfoList behavior

* ncm: correct InstallContentMetaWriter ctor

* ncm: correct conversion of content meta header types

Co-authored-by: Michael Scire <SciresM@gmail.com>
2020-04-05 23:25:44 -07:00
Michael Scire
62f5667b5f sf: fix OutArray/InArray constructors to behave as expected 2020-04-02 00:28:54 -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
a40d4593d7 nim: add DestroySystemUpdateTask/ListSystemUpdateTask 2020-03-31 12:53:48 -07:00
Michael Scire
de221b5d73 fix CONCATENATE 2020-03-30 21:41:30 -07:00
Michael Scire
63d5df84e6 updater: improve api 2020-03-30 20:41:22 -07:00
bunnei
11d6eae34e KPageHeap: Fix a typo in initialization block alignment. (#862) 2020-03-30 20:41:22 -07:00
Michael Scire
bb6b72f1f3 lmem: fix memory block header placement error 2020-03-30 20:41:21 -07:00
Michael Scire
ec527bc460 ncm: use static memory pools for different allocations 2020-03-30 20:41:21 -07:00
Michael Scire
8066586506 stratosphere: fix building with latest libnx 2020-03-30 20:41:21 -07:00
SciresM
926d5a55d6 mem: implement most of StandardAllocator (#860)
This was tested using `https://github.com/node-dot-cpp/alloc-test` plus a few other by-hand tests.

It seems to work for the case we care about (sysmodules without thread cache-ing).

External users are advised to build with assertions on and contact SciresM if you find issues.

This is a lot of code to have gotten right in one go, and it was written mostly after midnight while sick, so there are probably un-noticed issues.
2020-03-30 20:41:21 -07:00
Michael Scire
6f77a6bf65 fs: add MountImageDirectory 2020-03-27 17:00:14 -07:00
Adubbz
4bf56b3088 fs: implement FileHandleStorage (#857)
* fs: implement FileHandleStorage

* fs: merge FileHandleStorage into file_storage TU

Co-authored-by: Michael Scire <SciresM@gmail.com>
2020-03-27 17:00:14 -07:00
Adubbz
abc0e93763 fssystem: Implement PartitionFileSystemCore (#856)
* fssystem: implement PartitionFileSystemMetaCore

* fssystem: PartitionFileSystemMetaCore cleanup

* fs: add IFile::DryWrite, update results

* fssystem: implement PartitionFileSystemCore

* fssystem: cleanup PartitionFileSystemCore

* fssystem: implement Sha256PartitionFileSystem

Co-authored-by: Michael Scire <SciresM@gmail.com>
2020-03-27 17:00:14 -07:00
Michael Scire
30f3e4c33d Add Span<T>. 2020-03-20 17:06:02 -07:00
Michael Scire
3c5aa45669 fs: fix bugs with external code filesystems 2020-03-20 17:06:01 -07:00
Michael Scire
07630f73a7 fs: add MountDeviceSaveData 2020-03-18 20:05:51 -07:00
Michael Scire
38fc51c6ef ams: bump version to 0.10.5 in prep for release later tonight 2020-03-18 16:20:09 -07:00
Michael Scire
07684b2c65 stratosphere: fix building with latest libnx 2020-03-18 00:15:04 -07:00
Michael Scire
99ad059ff1 svc: add ipc accessor boilerplate 2020-03-18 00:15:04 -07:00
Michael Scire
bc9c0c255c kern: Implement SvcManageNamedPort 2020-03-18 00:15:04 -07:00
Michael Scire
95ca6eb402 memset: use neon-less impl, reformat other asm 2020-03-18 00:15:03 -07:00
Michael Scire
af011bd277 libmesosphere: use ARM-software/optimized-routines for memcpy/memset/memcmp 2020-03-18 00:15:03 -07:00
Michael Scire
373a4b7ce0 svc: revert codegen changes 2020-03-18 00:15:03 -07:00
Michael Scire
3a042d82db svc: make autogen asm register-clobber aware 2020-03-18 00:15:03 -07:00
Michael Scire
b5f8d04924 kern: implement CallSecureMonitor, some of GetInfo/GetSystemInfo 2020-03-18 00:15:02 -07:00
Michael Scire
0c60930e33 os: add rngmanager 2020-03-18 00:15:02 -07:00
Michael Scire
45b839ec3a Add architecture-specific guard for get tick 2020-03-18 00:15:02 -07:00
Michael Scire
8bcf34a172 os: implement Tick api, make build with -Werror 2020-03-18 00:15:01 -07:00
Michael Scire
3fd36b170d crypto: add Sha256Context 2020-03-18 00:15:01 -07:00
Michael Scire
b497fdbc6a kern: tweak KHandleTable impl 2020-03-18 00:15:01 -07:00