bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: mach context switch]


From: Thomas Schwinge
Subject: address@hidden: mach context switch]
Date: Thu, 26 Nov 2009 18:51:05 +0100
User-agent: Mutt/1.5.11

Hello!

Please use the <address@hidden> mailing list for such messages, not
hurd-devel.  I forwarded your message to the former list.


Regards,
 Thomas
--- Begin Message --- Subject: mach context switch Date: Thu, 26 Nov 2009 18:58:33 +0300
Hell.


I try to port a Mach microkernel on arm9 architecture. and i have a
one problem - i dont understand  a process of context switch in this
kernel. in 2 place - when context switch  acquire from thread_sleep,
and next, when binary part of module loaded and this thread/task
should workl.

1. when thread_call in bootstrap.c called, context switch acquire. and
im looked on x86 sources, and dont see when CPU should switch in
different mode for correct context switching.

2. i made small chit, and call user_bootstrap from load_context and
send global thread and task information, but after loading binary part
of module (exec_load) and then build_args_and_stack (), i still have
in thread_stack PC point on swap_function. how module should proper
load, and how and thread information change to point on this executive
code?

Thanks a lot.



--- End Message ---

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]