[Geekos-devel] Project 2 Question
Status: Pre-Alpha
Brought to you by:
daveho
From: <wm...@ao...> - 2008-04-17 05:42:57
|
In project 2, user.c, the following function comments say to set the kernel stack pointer.? To what?? I am confused here. Any help would be appreciated. void Switch_To_User_Context(struct Kernel_Thread* kt, struct Interrupt_State* is) { ??? /* ???? * Hint: Before executing in user mode, you will need to call ???? * the Set_Kernel_Stack_Pointer() and Switch_To_Address_Space() ???? * functions. ???? */ ? ??? ... ??? ??? Set_Kernel_Stack_Pointer((ulong_t) ?); ??? ... } |