kern: skeleton SvcReplyAndReceive

This commit is contained in:
Michael Scire 2020-07-09 20:11:41 -07:00
parent be98aaa185
commit f4fd4cbbb2
6 changed files with 131 additions and 5 deletions

View file

@ -42,12 +42,17 @@ namespace ams::kern {
constexpr const KSession *GetParent() const { return this->parent; }
virtual bool IsSignaled() const override { MESOSPHERE_UNIMPLEMENTED(); }
virtual bool IsSignaled() const override;
/* TODO: More of KServerSession. */
Result OnRequest(KSessionRequest *request);
Result ReceiveRequest(uintptr_t message, uintptr_t buffer_size, KPhysicalAddress message_paddr);
Result SendReply(uintptr_t message, uintptr_t buffer_size, KPhysicalAddress message_paddr);
void OnClientClosed();
private:
bool IsSignaledImpl() const;
};
}