From 5f88058644587aa255d453eee74c212e53cf9ade Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Wed, 16 Sep 2009 15:41:10 +0200 Subject: Added stuff to WChar and String classes. WChar can now decode utf16 and utf32, and encode utf8 and utf32. String now has functions append(), concat(), compare() and affect() with different prototypes for char[] arrays, so that we can use it as well with utf8, utf16 and utf32. --- Source/Kernel/TaskManager/Thread.class.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Kernel/TaskManager') diff --git a/Source/Kernel/TaskManager/Thread.class.cpp b/Source/Kernel/TaskManager/Thread.class.cpp index 2d167df..de92f0c 100644 --- a/Source/Kernel/TaskManager/Thread.class.cpp +++ b/Source/Kernel/TaskManager/Thread.class.cpp @@ -18,7 +18,7 @@ Thread::Thread(u32int (*entry_point)(), bool iskernel) { u32int tmp; m_kernelStackFrame = (u32int)PageAlloc::alloc(&tmp); m_process = Task::getKernelProcess(); - setup(entry_point, m_kernelStackFrame + STACKSIZE); + setup(entry_point, m_kernelStackFrame + 0x1000); //A kernel stack always is 1 frame, meaning 0x1000 bytes } else { m_isKernel = false; m_process = Task::currentProcess; -- cgit v1.2.3