Commit Graph

888 Commits

Author SHA1 Message Date
Michael Scire
8295d4830d kern: implement DetachDeviceAddressSpace, skeleton other das funcs in KDevicePageTable 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
e7f2bd582b kern: qualify inherited KAutoObjectWithListContainer accessor typenames 2020-08-01 15:31:17 -07:00
Michael Scire
fd486a5efd kern: implement SvcGetProcessList 2020-08-01 15:31:17 -07:00
Michael Scire
d72564d522 kern: add SvcCreateDeviceAddressSpace, SvcAttachDeviceAddressSpace 2020-08-01 15:31:17 -07:00
Michael Scire
df104ecc34 kern: implement SvcCreateInterruptEvent 2020-08-01 15:31:16 -07:00
Michael Scire
160cec7cd8 kern: implement SvcCreateEvent, SvcSignalEvent, SvcClearEvent, SvcResetSignal 2020-08-01 15:31:16 -07:00
Michael Scire
f8b115eab6 kern: add SvcCreatePort, SvcConnectToPort 2020-08-01 15:31:16 -07:00
Michael Scire
e1f094d49e kern: add SvcReadWriteRegister 2020-08-01 15:31:16 -07:00
Michael Scire
03d30f5b15 kern: patch svc tables via asm, instead of relying on compiler to be nice 2020-08-01 15:31:15 -07:00
Michael Scire
ba0da382ad kern: Implement QueryIoMapping logic for < 8.0.0 2020-08-01 15:31:15 -07:00
Michael Scire
8dbdf596bc kern: Support older SVC ABIs 2020-08-01 15:31:15 -07:00
Michael Scire
d58aaede93 fs: correct retry loop again 2020-08-01 15:31:14 -07:00
Michael Scire
a8cc9c6d6f fs: fix retry bug in OpenContentStorageFileSystem 2020-08-01 15:31:14 -07:00
Michael Scire
693917eaf4 libs: add libexosphere to targets 2020-08-01 15:31:13 -07:00
misson20000
3cb6db0ee2 Add stack overflow detection to fatal error code 2020-08-01 15:31:13 -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
dbc6d39d85 kern: fix/add InfoType_(Total/Used)(NonSystem/)MemorySize 2020-08-01 15:31:10 -07:00
Michael Scire
c9719ffac0 kern: assert correctness for complete class hierarchy 2020-08-01 15:31:10 -07:00
Michael Scire
2d34e1b72c svc/ipc: fix handle count accessors 2020-08-01 15:31:10 -07:00
Michael Scire
262e992650 kern: fix bugs in Receive/Exchange ipc buffers 2020-08-01 15:31:10 -07:00
Michael Scire
cf5248957b kern: fix UpdateLock perms for ipc 2020-08-01 15:31:09 -07:00
Michael Scire
e0383c961f kern: fix unaligned map alias buffers 2020-08-01 15:31:09 -07:00
Michael Scire
9e2cecb4f6 kern: fix bugs in MapAlias ipc mappings 2020-08-01 15:31:09 -07:00
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