[okl4-developer] I have a question about OKL4 code

Gabi Voiculescu boy3dfx2 at yahoo.com
Sat Oct 17 22:30:50 EST 2009


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
https://lists.okl4.org/mailman/listinfo/developer



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20091017/91df905d/attachment.htm 


More information about the Developer mailing list