kern: implement port debug

This commit is contained in:
Michael Scire
2020-12-10 01:44:27 -08:00
parent 8a4bf6a0a8
commit 0acd79c8c2
6 changed files with 132 additions and 6 deletions

View File

@@ -42,6 +42,10 @@ namespace ams::kern {
constexpr const KPort *GetParent() const { return this->parent; }
ALWAYS_INLINE s32 GetNumSessions() const { return this->num_sessions; }
ALWAYS_INLINE s32 GetPeakSessions() const { return this->peak_sessions; }
ALWAYS_INLINE s32 GetMaxSessions() const { return this->max_sessions; }
bool IsLight() const;
/* Overridden virtual functions. */