hi:<br> the RTP prototype will be tesed in X86 CPU.<br> I already let paging (1phy--1 virtual) work correctly. (just use the Functions already in RTEMS)<br> I also try the process CPL0--> CPL3 then syscall from CPL3-->CPL0 and made it work.
<br> Now, I am trying the user-level thread(in CPL3) can cooperate with kernel-level thread(in CPL0) without paging.<br> Next, I will try the user-level thread(in CPL3) can cooperate with kernel-level thread(in CPL0) with 1-1 paging.
<br> <br> I spent my spare time on these works, so the progress is slowly.<br> <br> Anyone have some advice?<br><br><div><span class="gmail_quote">On 9/3/07, <b class="gmail_sendername">rtems skyeye</b> <<a href="mailto:skyeye.rtems@gmail.com">
skyeye.rtems@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
hi, <br> Good idea!<br> I think we can first realize the initial VM support in RTEMS.<br> because there are already some page support funcs in rtems X86 port.<br> then we can try syscall,....<div><span class="e" id="q_114cbda5e83c9220_1">
<br> <br> <br><br>---------- Forwarded message ---------- <br><span class="gmail_quote">From: <b class="gmail_sendername">رضيµ</b> <<a href="mailto:yanmiaobest@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
yanmiaobest@gmail.com</a>><br>Date: Sep 3, 2007 11:21 AM<br>Subject: Re: design Real-Time Process in RTEMS <br>To: rtems skyeye <<a href="mailto:skyeye.rtems@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
skyeye.rtems@gmail.com</a>><br><br></span>Hi:<br><br> I have been thinking about it too.<br> here is what I think:<br><br> 1. page routine should be created to support page manipulations( <br>page table operation, TBL, page allocate, set page state ...)
<br> 2. identify all system call routines<br> 3. create entry points and exit points for system call<br> 4. adjust context switch ralated routine<br> 5. add privilege transition code<br><br> best regards!<br>
<br>2007/8/31, rtems skyeye <<a href="mailto:skyeye.rtems@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">skyeye.rtems@gmail.com</a>>:<br>> hi,<br>> VxWorks 6.x have the Real-Time Process (RTP) extension.
<br>> I think we also can implement the RTP in RTEMS.<br>> The Idea is :<br>> 1 RTP contains 1~n user-level rtems-task, and process the<br>> virtual memory related things.<br>> 2 the mapping relation of virtual memory :phyiscal memory is 1:1
<br>> 3 the user-level task in RTP can access kernel function<br>> by syscall<br>> 4 the user-level tasks and the kernel-level tasks are in the same<br>> scheduling strategy.<br>><br>> the advantage of RTP is:
<br>> 1 the crash of user-level tasks in RTP can not destroy user-level<br>> tasks in other RTP and the kernel.<br>> 2 compatible with the old task model.<br>> 3 the context switch is faster than that of general OS (such as linux)
<br>><br>> anyone have some advices on RTP in RTEMS?<br>><br>> Regards<br>><br>> skyeye.rtems<br>><br>><br>> _______________________________________________<br>> rtems-users mailing list
<br>> <a href="mailto:rtems-users@rtems.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rtems-users@rtems.com</a><br>> <a href="http://rtems.rtems.org/mailman/listinfo/rtems-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://rtems.rtems.org/mailman/listinfo/rtems-users</a><br>><br>><br></span></div></blockquote></div><br>