kern: skeleton SvcReplyAndReceive
This commit is contained in:
@@ -123,6 +123,7 @@ namespace ams::kern {
|
||||
virtual ~KProcess() { /* ... */ }
|
||||
|
||||
Result Initialize(const ams::svc::CreateProcessParameter ¶ms, const KPageGroup &pg, const u32 *caps, s32 num_caps, KResourceLimit *res_limit, KMemoryManager::Pool pool);
|
||||
void Exit();
|
||||
|
||||
constexpr const char *GetName() const { return this->name; }
|
||||
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user