mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-05 04:19:16 +00:00
More tasking stub
This commit is contained in:
26
Tasking/Task.cpp
Normal file
26
Tasking/Task.cpp
Normal file
@ -0,0 +1,26 @@
|
||||
#include <task.hpp>
|
||||
#include <debug.h>
|
||||
|
||||
namespace Tasking
|
||||
{
|
||||
PCB *Task::CreateProcess(char *Name, ExecutionElevation Elevation)
|
||||
{
|
||||
PCB *Process = new PCB;
|
||||
return Process;
|
||||
}
|
||||
|
||||
TCB *Task::CreateThread(PCB *Parent, IP EntryPoint)
|
||||
{
|
||||
TCB *Thread = new TCB;
|
||||
return Thread;
|
||||
}
|
||||
|
||||
Task::Task(const IP EntryPoint)
|
||||
{
|
||||
trace("Starting tasking with IP: %#lx", EntryPoint);
|
||||
}
|
||||
|
||||
Task::~Task()
|
||||
{
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user