mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 19:26:55 -04:00
kern: delete KWritableEvent, devirtualize KReadableEvent Signal/Clear
This commit is contained in:
parent
d80ad222cc
commit
e6a6fe6f38
15 changed files with 81 additions and 149 deletions
|
@ -20,6 +20,7 @@
|
|||
namespace ams::kern {
|
||||
|
||||
class KSession;
|
||||
class KEvent;
|
||||
|
||||
class KClientSession final : public KAutoObject {
|
||||
MESOSPHERE_AUTOOBJECT_TRAITS(KClientSession, KAutoObject);
|
||||
|
@ -39,7 +40,7 @@ namespace ams::kern {
|
|||
constexpr KSession *GetParent() const { return m_parent; }
|
||||
|
||||
Result SendSyncRequest(uintptr_t address, size_t size);
|
||||
Result SendAsyncRequest(KWritableEvent *event, uintptr_t address, size_t size);
|
||||
Result SendAsyncRequest(KEvent *event, uintptr_t address, size_t size);
|
||||
|
||||
void OnServerClosed();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue