summaryrefslogtreecommitdiff
path: root/Source/Kernel/TaskManager/Process.class.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/TaskManager/Process.class.h')
-rw-r--r--Source/Kernel/TaskManager/Process.class.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Kernel/TaskManager/Process.class.h b/Source/Kernel/TaskManager/Process.class.h
index 4ee7fcf..3b05f80 100644
--- a/Source/Kernel/TaskManager/Process.class.h
+++ b/Source/Kernel/TaskManager/Process.class.h
@@ -4,6 +4,7 @@
#include <Library/String.class.h>
#include <Library/Vector.class.h>
#include <MemoryManager/PageDirectory.class.h>
+#include <VTManager/VirtualTerminal.class.h>
#define P_ZOMBIE 0
#define P_RUNNING 1
@@ -30,11 +31,12 @@ class Process {
PageDirectory* m_pagedir;
u32int m_uid; //User ID
u32int m_stacksstart;
+ VirtualTerminal *m_vt;
Vector<Thread*> m_threads;
public:
- static Process* createKernel(String cmdline); //Also creates a Thread for what's curently happening
+ static Process* createKernel(String cmdline, VirtualTerminal *vt); //Also creates a Thread for what's curently happening
Process(String cmdline, u32int uid);
~Process();
@@ -45,6 +47,9 @@ class Process {
PageDirectory* getPagedir();
+ VirtualTerminal* getVirtualTerminal();
+ void setVirtualTerminal(VirtualTerminal* vt);
+
};
#endif