Commit Graph

482 Commits

Author SHA1 Message Date
HookedBehemoth
f63e67a1df jpegdec reimplementation (#912)
* add jpegdec reimplementation

* reduce work memory

* fix color space

* jpegdec: cleanup results to use atmosphere style

* fix outdated comments, correct do/while bug

Co-authored-by: Michael Scire <SciresM@gmail.com>
2020-04-24 17:29:10 -07:00
Michael Scire
71027e463a kern: implement 10.x perm change, fix many page table bugs 2020-04-24 17:29:10 -07:00
Michael Scire
ac1302256b kern: randomize dynamic slab heaps to reflect 10.x changes 2020-04-24 17:29:10 -07:00
Michael Scire
432e2aa60d kern: fix suboptimal mapping choices by kernel/kernelldr 2020-04-24 17:29:09 -07:00
Michael Scire
08b4ed8daf kern: Update init to reflect 10.0.0 changes 2020-04-24 17:29:09 -07:00
Michael Scire
4c1dc00766 kern: Update page bitmaps/alloc to reflect 10.0.0 changes 2020-04-24 17:29:09 -07:00
Michael Scire
18666a88c0 ams: centralize system thread definitions 2020-04-24 17:29:09 -07:00
Michael Scire
0de0f530f3 sf: properly support preservation of inline context 2020-04-24 17:29:08 -07:00
Michael Scire
5a52014d1c hos: change initialization API
This was needed to make stratosphere buildable with debugging on.

os:: assertions rely on GetCurrentThread() working, and this requires
the global os resource manager to be constructed. However, __appInit executes
before global constructors. We now require that hos::InitializeForStratosphere()
be called before anything else is done. This initializes the os resource manager,
sets the hos version for libnx, and may do more things in the future.

TODO: Consider replacing __appInit/__appExit with ams:: namespace functions in general,
and wrap them so that we guarantee hos::InitializeForStratosphere is called first, and
generally ensure a consistent stratosphere environment.
2020-04-24 17:29:08 -07:00
SciresM
c1fe12fcbd pgl: Reimplement the pgl sysmodule (#896)
* pgl: add skeleton folder to stratosphere

* pgl: Add service interface for IShellInterface

* pgl: begin skeletoning shell service, implement two commands.

* pgl: Implement three more commands.

* pgl: implement bool tracking commands

* pgl: Implement TriggerApplicationSnapShotDumper

* pgl: implement InitializeProcessControlTask

* pgl: Implement pgl::srv::Initialize

* pgl: Implement main()

* pgl: Implement (Get)ShellEventObserver

* pgl: implement LaunchProgramFromHost, GetHostContentMetaInfo

* pgl: Implement ProcessControlTask

* settings: fix duplicate object name

* pgl: fix minor bugs in impl
2020-04-16 20:05:56 -07:00
Michael Scire
a56309680c kern: amend syntax 2020-04-16 20:05:56 -07:00
Michael Scire
6777a7229b mesosphere: implement KMemoryBlockManager::UpdateLock 2020-04-16 20:05:56 -07:00
Michael Scire
8412f0dab1 licensing: update exemptions (approved by contributors). 2020-04-16 20:05:56 -07:00
Michael Scire
e01ad57120 pgl: update with client C++ bindings 2020-04-16 20:05:55 -07:00
Michael Scire
5c6a8fe57b pgl: skeleton api 2020-04-16 20:05:55 -07:00
Michael Scire
96825c7524 bump version to 0.11.1 2020-04-15 11:55:09 -07:00
Michael Scire
ca8ebfa73c emummc: fix for svcQueryIoMapping abi change 2020-04-15 11:55:07 -07:00
Michael Scire
a253850abc ams: fix boot sysmodule/kernel for 10.0.0 2020-04-15 11:55:06 -07:00
Adubbz
345499c71e ncm: update to 10.0.0 (#879) 2020-04-15 11:55:06 -07:00
Michael Scire
b4f1833c50 kernel_ldr: update to support 10.0.0 2020-04-15 11:55:05 -07:00
Michael Scire
9905db08ec 10.0.0 + a new sysmodule reimplementation probably merits 0.11.0 2020-04-15 11:55:03 -07:00
Michael Scire
a346fd5c94 boot2: update for 10.0.0 2020-04-15 11:55:03 -07:00
Michael Scire
04fd512153 pm: Update to support 10.0.0 2020-04-15 11:55:02 -07:00
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