Commit Graph

613 Commits

Author SHA1 Message Date
Michael Scire
cfece6452c kern: implement IPC KPageTable functionality 2020-08-01 15:31:09 -07:00
Michael Scire
756bc0e52e kern: fix bug in ToMessageBuffer pointer transfer selection 2020-08-01 15:31:08 -07:00
Michael Scire
5d3f416451 kern/KScheduler: implement special yields 2020-08-01 15:31:08 -07:00
Michael Scire
d5310407ad kern: implement SvcSleepThread for ns > 0 2020-08-01 15:31:08 -07:00
Michael Scire
2a8979b6a1 kern: implement KPageTableBase::CopyHeapToHeap(WithoutCheckDestination) 2020-08-01 15:31:08 -07:00
Michael Scire
7a57010993 kern: add KPageTableBase::CopyMemory Linear <-> User and Linear <-> Kernel 2020-08-01 15:31:07 -07:00
Michael Scire
9fdf063039 kern: mostly implement thread exit 2020-08-01 15:31:07 -07:00
Michael Scire
09305d147a kern/ipc: fix bug in SendMessage 2020-08-01 15:31:07 -07:00
Michael Scire
17c04d234d kern/ipc: implement remaining KServerSession reply code 2020-08-01 15:31:06 -07:00
Michael Scire
a574c00d5f kern: add SvcExitThread, SvcSendAsyncRequestWithUserBuffer, SvcReplyAndReceiveWithUserBuffer 2020-08-01 15:31:06 -07:00
Michael Scire
47a4b18b76 kern/ipc: implement most of reply 2020-08-01 15:31:06 -07:00
Michael Scire
d51693b539 kern/ipc: implement SendReply, declare SendMessage 2020-08-01 15:31:06 -07:00
Michael Scire
344a3265c0 os: fix building with new svc defs 2020-08-01 15:31:05 -07:00
Michael Scire
a8a16c6a69 kern/ipc: add Atmosphere's mitm pid passthrough logic 2020-08-01 15:31:05 -07:00
Michael Scire
652be6087e ipc/receive: trivially correct result return codeflow 2020-08-01 15:31:05 -07:00
Michael Scire
27d1e6e549 kern/ipc: finish Receive part of ReplyAndReceive 2020-08-01 15:31:05 -07:00
Michael Scire
67c18a0008 ipc: add MapAlias processing logic for Receive 2020-08-01 15:31:04 -07:00
Michael Scire
6a6b989dd2 ipc::Reply -> implement Pointer handling logic 2020-08-01 15:31:04 -07:00
Michael Scire
f7b9ea9ff5 ipc::Reply -> add raw data copy logic 2020-08-01 15:31:04 -07:00
Michael Scire
50fd330bad kern: implement remaining non-KServerSession:: part of Reply/Receive 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
d986b698d4 kern: implement SvcSendSyncRequest(WithUserBuffer) 2020-08-01 15:31:03 -07:00
Michael Scire
8479ff4a1a kern: implement SvcArbitrateLock, SvcArbitrateUnlock 2020-08-01 15:31:03 -07:00
Michael Scire
2415b68748 kern: skeleton SvcReplyAndReceive 2020-08-01 15:31:02 -07:00
Michael Scire
70291b4608 kern: partially implement SvcSignalProcessWideKey 2020-08-01 15:31:02 -07:00
Michael Scire
f752db8379 kern: implement SvcCreateThread, SvcStartThread 2020-08-01 15:31:02 -07:00
Michael Scire
3c386e8ab3 kern: implement SvcMapMemory 2020-08-01 15:31:02 -07:00
Michael Scire
139e043abc kern: implement SvcAcceptSession 2020-08-01 15:31:01 -07:00
Michael Scire
c5e4c7c921 kern: implement SvcWaitSynchronization 2020-08-01 15:31:01 -07:00
Michael Scire
98ac3c7efc kern: implement KEvent, KWritableEvent, KServerSession::OnClientClosed 2020-08-01 15:31:01 -07:00
Michael Scire
88142a11c4 kern: implement SvcCloseHandle 2020-08-01 15:31:01 -07:00
Michael Scire
72d4c01501 kern: SvcConnectToNamedPort 2020-08-01 15:31:00 -07:00
Michael Scire
b9fb29e1c7 kern: svcOutputDebugString, svcGetThreadPriority, svcGetThreadId 2020-08-01 15:31:00 -07:00
Michael Scire
191e233745 kern: implement SvcUnmapMemory, more of SvcGetInfo 2020-08-01 15:31:00 -07:00
Michael Scire
103c81abc5 ncm: safer access patterns for FirmwareVariationInfo 2020-08-01 15:31:00 -07:00
Michael Scire
9f8f932383 ncm: loosen FirmwareVariation restrictions. 2020-08-01 15:30:59 -07:00
VolcaEM
2b3859e187 ncm: Mark two variables as const (#1078)
ncm: Mark two variables as const
2020-08-01 15:30:58 -07:00
Michael Scire
ab059c1a57 ams: bump version to 0.14.0, add emummc info configitem 2020-08-01 15:30:58 -07:00
Michael Scire
ffc68d133f ncm: rights ids were added in 2.0.0 2020-08-01 15:30:58 -07:00
Michael Scire
f53cc8139d sf: correct deprecated spl interface definition 2020-08-01 15:30:57 -07:00
Michael Scire
3241b60a01 sf: support service objects which must themselves be shared pointers 2020-08-01 15:30:57 -07:00
Michael Scire
771de71f0c ncm: make *ActivateContentMetaDatabase play nice with 1.0.0 2020-08-01 15:30:56 -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
178deebf24 exo: fixes, now tested working on mariko hardware 2020-08-01 15:30:55 -07:00
Michael Scire
47d62b22f2 libstrat: fix bugs/compiler warnings 2020-08-01 15:30:55 -07:00
Michael Scire
e00abe01c1 fs: use access_log for other user fs/dir/file bindings 2020-08-01 15:30:55 -07:00
Michael Scire
3c7c4d8bff fs: implement AccessLog, enable for File operations 2020-08-01 15:30:55 -07:00
Michael Scire
3d529522d3 exo: add mariko spare reg write during setup 2020-08-01 15:30:54 -07:00
Michael Scire
8f2c7eef54 exo: implement mariko fuse driver 2020-08-01 15:30:53 -07:00
Michael Scire
52088109b7 libstrat: correct firmware comparison in meta database builder 2020-08-01 15:30:53 -07:00