mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
tty: Fix kcon & tty implementation; Add stub ptmx
This commit is contained in:
@ -213,6 +213,7 @@ namespace Tasking
|
||||
}
|
||||
|
||||
this->FileDescriptors = new FileDescriptorTable(this);
|
||||
this->tty = nullptr;
|
||||
|
||||
/* If create page table */
|
||||
if (UseKernelPageTable == false)
|
||||
@ -268,6 +269,10 @@ namespace Tasking
|
||||
debug("Closing file descriptors");
|
||||
delete this->FileDescriptors;
|
||||
|
||||
debug("Deleting tty");
|
||||
if (this->tty)
|
||||
delete ((TTY::TeletypeDriver *)this->tty);
|
||||
|
||||
/* If we own the pointer to the
|
||||
PageTable, we need to free it */
|
||||
if (this->PageTable && OwnPageTable)
|
||||
|
Reference in New Issue
Block a user