Commit Graph

37 Commits

Author SHA1 Message Date
Michael Scire
9fc57cbbbb kern: move SecureAppletMemory/KPageBuffer heap into the ResourceRegion 2022-10-12 09:15:50 -07:00
SciresM
00203fd7c3 Integrate new result macros. (#1780)
* result: try out some experimental shenanigans

* result: sketch out some more shenanigans

* result: see what it looks like to convert kernel to use result conds instead of guards

* make rest of kernel use experimental new macro-ing
2022-03-23 09:15:40 -07:00
Michael Scire
2409222dd0 kern: be a little more consistent about pragma GCC location 2021-11-30 16:34:45 -08:00
SciresM
823c0df6b9 kern: avoid constexpr init for many objects (avoids unnecessary memory clear) (#1668) 2021-10-26 01:11:13 -07:00
Michael Scire
002422d5dc ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-07 23:06:25 -07:00
Michael Scire
993ffbfdcd kern: unify all waiting semantics to use single api 2021-09-19 10:35:39 -07:00
Michael Scire
2361bee5fe kern: delete KWritableEvent, devirtualize KReadableEvent Signal/Clear 2021-09-19 10:35:36 -07:00
Michael Scire
43900d4765 kern: track mapped ipc server memory in page table 2021-04-11 03:59:12 -07:00
Michael Scire
5daccda627 kern: use fix usage of incorrect page table for UserBuffer ipc 2021-04-11 03:59:00 -07:00
Michael Scire
b3eef9315b kern: further codegen tweaks 2021-01-13 10:41:27 -08:00
Michael Scire
4ddacf3384 kern: refactor to use m_ for member variables 2020-12-19 10:21:52 -08:00
Michael Scire
f3882fa0f7 kern: add handle table/process/suspend/resume debug 2020-12-11 03:49:01 -08:00
Michael Scire
9586142e90 kern: tweak optimization settings for hot paths 2020-12-02 06:53:22 -08:00
Michael Scire
b9504f356f microkernel: hot paths are pretty fucking hot 2020-12-02 06:53:20 -08:00
Michael Scire
a01f7ab1c9 kern: improve KSynchronizationObject, kill KSynchronization 2020-12-02 06:53:14 -08:00
Michael Scire
dd799d3909 kern: remove KMemoryAttribute_AnyLocked 2020-12-02 06:53:09 -08:00
Michael Scire
dc59a2d2e5 kern: build with -Wextra 2020-09-07 10:51:36 -07:00
Michael Scire
395976f705 kern: fix bug in server handle cleanup 2020-08-01 15:31:37 -07:00
Michael Scire
9e2cecb4f6 kern: fix bugs in MapAlias ipc mappings 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
2a8979b6a1 kern: implement KPageTableBase::CopyHeapToHeap(WithoutCheckDestination) 2020-08-01 15:31:08 -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
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
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
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
2415b68748 kern: skeleton SvcReplyAndReceive 2020-08-01 15:31:02 -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