Kernel: Replace is_* with kind field

Replaced the is_* virtual functions with a kind field instead
This commit is contained in:
2026-05-15 21:21:32 +03:00
committed by Bananymous
parent 647d6a273d
commit 16967cd9c0
8 changed files with 20 additions and 14 deletions

View File

@@ -74,6 +74,7 @@ namespace Kernel
: CharacterDevice(mode, uid, gid)
, m_termios(termios)
{
m_kind |= InodeKind::TTY;
m_rdev = next_tty_rdev();
m_output.buffer = MUST(ByteRingBuffer::create(PAGE_SIZE));
}