From 92abedffec913fe7337117403c5e07185356c81b Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Fri, 2 Oct 2009 22:51:28 +0200 Subject: The kernel shell is now in an independent class, KernelShell:: --- Source/Kernel/TaskManager/Task.ns.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Kernel/TaskManager/Task.ns.cpp') diff --git a/Source/Kernel/TaskManager/Task.ns.cpp b/Source/Kernel/TaskManager/Task.ns.cpp index 3ee21de..b430f24 100644 --- a/Source/Kernel/TaskManager/Task.ns.cpp +++ b/Source/Kernel/TaskManager/Task.ns.cpp @@ -3,7 +3,7 @@ //From Task.wtf.asm extern "C" u32int read_eip(); -extern "C" u32int idle_task(); +extern "C" u32int idle_task(void*); namespace Task { @@ -22,7 +22,7 @@ void initialize(String cmdline, VirtualTerminal *vt) { threads.clear(); processes.clear(); currentProcess = Process::createKernel(cmdline, vt); - idleThread = new Thread(idle_task, true); + idleThread = new Thread(idle_task, 0, true); currentThread = threads[0]; currentThreadId = 0; asm volatile ("sti"); -- cgit v1.2.3