Reply by karthikbalaguru●October 26, 20072007-10-26
On Oct 26, 10:22 pm, "elitekatti" <srinidhi.ka...@arasor.in> wrote:
> Very new to the concept of porting code across RTOS'es.
> Now i need to port the tcp/ip code from one RTOS to another. Need
> suggestions as to how can i start with this??
Understand the OS specific requirements w.r.t tcp/ip code and
implement those changes. Try correlation.
Normal changes can be :
1) The IPC - It can be syntax difference, operation difference ,
header file difference,
return type difference and others.
2) Prioritising.
3) Interrupt handling
4) Scheduling
5) Synchronisation
6) Compiler dependent changes will also be present.
Calling convention differences.
It would help the people in the group to help you if you can tell
about your development environment details.
Karthik Balaguru
Reply by Paul Keinanen●October 26, 20072007-10-26
On Fri, 26 Oct 2007 12:22:04 -0500, "elitekatti"
<srinidhi.katti@arasor.in> wrote:
>Very new to the concept of porting code across RTOS'es.
>Now i need to port the tcp/ip code from one RTOS to another. Need
>suggestions as to how can i start with this??
First you should thoroughly understand the synchronization and
communication primitives of the original OS.
Then you should thoroughly understand the synchronization and
communication primitives of the target OS.
Understanding how TCP works will help a lot.
After this it is time to start studying the TCP/IP stack code and
think about how the primitives used in the original OS can be replaced
with primitives available in the target OS.
Paul
Reply by Vladimir Vassilevsky●October 26, 20072007-10-26
elitekatti wrote:
> Very new to the concept of porting code across RTOS'es.
> Now i need to port the tcp/ip code from one RTOS to another. Need
> suggestions as to how can i start with this??
There is a power button on the front panel of the system block. You have
to press it.
VLV
Reply by Grant Edwards●October 26, 20072007-10-26
On 2007-10-26, elitekatti <srinidhi.katti@arasor.in> wrote:
> Very new to the concept of porting code across RTOS'es.
> Now i need to port the tcp/ip code from one RTOS to another. Need
> suggestions as to how can i start with this??
1) Read the tcp/ip stack documentation.
2) Read the target RTOS documentation.
3) Port code.
Seriously, did you expect a useful answer from such a vague
question? If yes, then give up and hire somebody with a clue.
--
Grant Edwards grante Yow! Four thousand
at different MAGNATES, MOGULS
visi.com & NABOBS are romping in my
gothic solarium!!
Reply by FreeRTOS.org●October 26, 20072007-10-26
"elitekatti" <srinidhi.katti@arasor.in> wrote in message
news:P4qdnZH0YdGhv7_anZ2dnUVZ_jSdnZ2d@giganews.com...
> Very new to the concept of porting code across RTOS'es.
> Now i need to port the tcp/ip code from one RTOS to another. Need
> suggestions as to how can i start with this??
>
Now let me guess......
No actually, why not tell us? Which TCP/IP stack. Which RTOS?
--
Regards,
Richard.
+ http://www.FreeRTOS.org
13 official architecture ports, 1000 downloads per week.
+ http://www.SafeRTOS.com
Certified by T�V as meeting the requirements for safety related systems.
Reply by elitekatti●October 26, 20072007-10-26
Very new to the concept of porting code across RTOS'es.
Now i need to port the tcp/ip code from one RTOS to another. Need
suggestions as to how can i start with this??