Commit Graph

139 Commits

Author SHA1 Message Date
Michael Scire
ff9d3ee1d6 kern: SvcGetDebugThreadParam 2020-08-01 15:31:45 -07:00
Michael Scire
bb044b1934 kern: clean up majority of TODOs 2020-08-01 15:31:44 -07:00
Michael Scire
3b9403f3fc kern: Svc(Legacy)ContinueDebugEvent 2020-08-01 15:31:42 -07:00
Michael Scire
a0de667005 kern: SvcGetLastThreadInfo, SvcGetDebugFutureThreadInfo 2020-08-01 15:31:41 -07:00
Michael Scire
6935929c33 kern: SvcMapPhysicalMemoryUnsafe, SvcUnmapPhysicalMemoryUnsafe 2020-08-01 15:31:33 -07:00
Michael Scire
a61b553c34 svc: add BreakReason flags 2020-08-01 15:31:32 -07:00
Michael Scire
fcffa49fd5 kern: implement first half of SvcCreateProcess 2020-08-01 15:31:25 -07:00
Michael Scire
eeb12eb4a2 kern: implement SvcDebugActiveProcess, svcGetDebugEvent, SvcWaitProcessWideKeyAtomic 2020-08-01 15:31:21 -07:00
Michael Scire
811cf0768a kern: add KAddressArbiter::WaitIfEqual 2020-08-01 15:31:19 -07:00
Michael Scire
e36b225951 kern: implement SvcSetHeapSize 2020-08-01 15:31:18 -07:00
Michael Scire
d501c3832a kern: add infra (but not impl) for all DeviceAddressSpace svcs 2020-08-01 15:31:17 -07:00
Michael Scire
8dbdf596bc kern: Support older SVC ABIs 2020-08-01 15:31:15 -07:00
Michael Scire
968d5adc2f ams: update to know about 10.1.0 2020-08-01 15:31:11 -07:00
Michael Scire
1a8393e8b2 kern: add SvcQueryIoMapping (NOTE: pre-10.x, ABI needs update) 2020-08-01 15:31:11 -07:00
Michael Scire
2d34e1b72c svc/ipc: fix handle count accessors 2020-08-01 15:31:10 -07:00
Michael Scire
6a6b989dd2 ipc::Reply -> implement Pointer handling logic 2020-08-01 15:31:04 -07:00
Michael Scire
2692299372 kern: partially implement Receive half of ReplyAndReceive 2020-08-01 15:31:03 -07:00
Michael Scire
c5e4c7c921 kern: implement SvcWaitSynchronization 2020-08-01 15:31:01 -07:00
Michael Scire
191e233745 kern: implement SvcUnmapMemory, more of SvcGetInfo 2020-08-01 15:31:00 -07:00
Michael Scire
ab059c1a57 ams: bump version to 0.14.0, add emummc info configitem 2020-08-01 15:30:58 -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
3c7c4d8bff fs: implement AccessLog, enable for File operations 2020-08-01 15:30:55 -07:00
Michael Scire
a1a68953e0 sysupdater: implement (untested) rest of the api 2020-06-28 19:41:10 -07:00
Michael Scire
1867bc1264 sysupdater: Add ValidateUpdate, begin implementing Async logic 2020-06-28 19:41:10 -07:00
Michael Scire
f019daae0e sysupdater: implement content meta mounting 2020-06-28 19:41:09 -07:00
Michael Scire
70b3c07c08 ams: bump to 0.13.0, add 10.0.4 recognition 2020-06-14 22:54:08 -07:00
Michael Scire
1674d4d220 exo2: implement warmboot firmware 2020-06-14 22:54:06 -07:00
Michael Scire
eef3dda23b exo2: fix bugs in device unique data decrypytion 2020-06-14 22:54:01 -07:00
Michael Scire
7561db5ed2 exo2: Implement (untested) SmcDecryptDeviceUniqueData 2020-06-14 22:54:01 -07:00
Michael Scire
f47147653e exo2: implement rest of main other than SetupSocProtections 2020-06-14 22:53:54 -07:00
Michael Scire
bc653fa855 exo2: Initial work on the exosphere rewrite.
exo2: Implement uncompressor stub and boot code up to Main().

exo2: implement some more init (uart/gic)

exo2: implement more of init

exo2: improve reg api, add keyslot flag setters

exo2: implement se aes decryption/enc

exo2: fix bugs in loader stub/mmu mappings

exo2: start skeletoning bootconfig/global context types

arch: fix makefile flags

exo2: implement through master key derivation

exo2: implement device master keygen

exo2: more init through start of SetupSocSecurity

exo2: implement pmc secure scratch management

se: implement sticky bit validation

libexosphere: fix building for arm32

libexo: fix makefile flags

libexo: support building for arm64/arm

sc7fw: skeleton binary

sc7fw: skeleton a little more

sc7fw: implement all non-dram functionality

exo2: fix DivideUp error

sc7fw: implement more dram code, fix reg library errors

sc7fw: complete sc7fw impl.

exo2: skeleton the rest of SetupSocSecurity

exo2: implement fiq interrupt handler

exo2: implement all exception handlers

exo2: skeleton the entire smc api, implement the svc invoker

exo2: implement rest of SetupSocSecurity

exo2: correct slave security errors

exo2: fix register definition

exo2: minor fixes
2020-06-14 22:53:53 -07:00
Michael Scire
bef5c13bb2 ams: update for 10.0.3 2020-06-14 22:53:52 -07:00
Michael Scire
2944347060 fs: miscellaneous bucket tree fixes 2020-06-14 22:53:52 -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
1f35c699a7 ams: revamp target firmware 2020-05-12 15:44:18 -07:00
Michael Scire
6913aa5295 result: add R_CATCH_MODULE 2020-04-27 10:34:07 -07:00
Michael Scire
80f8bc631e kern: fix KLinkedList dtor 2020-04-27 10:34:07 -07:00
Michael Scire
bb40dae329 ams: bump version to 0.12.0 2020-04-24 17:29:14 -07:00
Michael Scire
19d2b5f629 note that we support 10.0.1 2020-04-24 17:29:13 -07:00
Michael Scire
b8be9d0031 os: implement ReadWriteLock 2020-04-24 17:29:11 -07:00
Michael Scire
0c0762fc8f refactor jpegdec implementation into libstrat (thanks again, Behemoth!) 2020-04-24 17:29:10 -07:00
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
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
96825c7524 bump version to 0.11.1 2020-04-15 11:55:09 -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
dd81610366 loader: update 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
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
ddcf89e337 util: add bitflagset 2020-04-15 11:55:00 -07:00