Kernel: Replace is_* with kind field
Replaced the is_* virtual functions with a kind field instead
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user