[okl4-developer] I have a question about OKL4 code
Josh Zhao
joshsystem at gmail.com
Sat Oct 17 22:39:39 EST 2009
yes, the root server will set the inital stack up with user mode,but there
is no code in user mode.so I don't understand what it is used for.
2009/10/17 Gabi Voiculescu <boy3dfx2 at yahoo.com>
> I think (but am not sure) that this function is only supposed to change cpu
> mode from SVC (supervisor) to USER.
>
> Somebody please correct me if i'm wrong.
> Gabi Voiculescu
>
> --- On *Sat, 10/17/09, Josh Zhao <joshsystem at gmail.com>* wrote:
>
>
> From: Josh Zhao <joshsystem at gmail.com>
> Subject: [okl4-developer] I have a question about OKL4 code
> To: developer at okl4.org
> Date: Saturday, October 17, 2009, 12:13 PM
>
>
> hi , I m reading the OKL4 version 2.1 for armv5 code, i have a qestion that
> the idle kernel thread creates the root server thread,but its handler
> function(initial_to_user) do nothing:
> BEGIN_PROC(initial_to_user)
> SET_USER_DACR
> RESTORE_ALL
> subs pc, lr, #1
> END_PROC(initial_to_user)
>
> it seems run forever, because there is no thread except idle. So how I
> create /delete other threads based L4?
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> Developer mailing list
> Developer at okl4.org <http://mc/compose?to=Developer@okl4.org>
> https://lists.okl4.org/mailman/listinfo/developer
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20091017/ad1a1e5f/attachment.htm
More information about the Developer
mailing list