1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 04:27:35 +00:00

Kernel: Reduce header dependencies of Process and Thread

This commit is contained in:
Andreas Kling 2020-02-16 02:01:42 +01:00
parent e61cdf5c39
commit 16818322c5
5 changed files with 14 additions and 8 deletions

View file

@ -54,6 +54,7 @@
#include <Kernel/Module.h>
#include <Kernel/Multiboot.h>
#include <Kernel/Net/Socket.h>
#include <Kernel/PerformanceEventBuffer.h>
#include <Kernel/Process.h>
#include <Kernel/ProcessTracer.h>
#include <Kernel/Profiling.h>
@ -63,6 +64,7 @@
#include <Kernel/SharedBuffer.h>
#include <Kernel/Syscall.h>
#include <Kernel/TTY/MasterPTY.h>
#include <Kernel/TTY/TTY.h>
#include <Kernel/Thread.h>
#include <Kernel/VM/InodeVMObject.h>
#include <Kernel/VM/PageDirectory.h>
@ -4731,4 +4733,9 @@ int Process::sys$perf_event(int type, uintptr_t arg1, uintptr_t arg2)
return m_perf_event_buffer->append(type, arg1, arg2);
}
void Process::set_tty(TTY* tty)
{
m_tty = tty;
}
}