kern: partially implement Receive half of ReplyAndReceive

This commit is contained in:
Michael Scire 2020-07-10 00:03:50 -07:00
parent 1b2203d102
commit 84b1be1d58
5 changed files with 315 additions and 33 deletions

View file

@ -128,6 +128,11 @@ namespace ams::kern {
size_t GetSize() const { return this->size; }
KProcess *GetServerProcess() const { return this->server; }
void SetServerProcess(KProcess *process) {
this->server = process;
this->server->Open();
}
void ClearThread() { this->thread = nullptr; }
void ClearEvent() { this->event = nullptr; }