multitasking
Posted: Fri Aug 27, 2004 3:21 pm
in my attempts to set up a multitasking environment, I get a page-fault in my timer handler whenever i try to use the stack. Maybe i'm not getting the kernel stack pointer correctly? This is how i do it:
(in nasm)
get_esp:
mov eax, esp;
sub eax, 8;
ret
should i do it in gcc inline assembly? and if so, how would i do that?
Thanks
(in nasm)
get_esp:
mov eax, esp;
sub eax, 8;
ret
should i do it in gcc inline assembly? and if so, how would i do that?
Thanks