[Date Prev][Date Next] [Chronological] [Thread] [Top]

[rtl] various questions...




Dear all,

I am just starting to dig into RTlinux and have a few questions,
some of which may be obvious, so i will apologise in advance....

Q1) What is the support for standard C routines at the RTL level?

Case in point: I discovered the lack of string manipulation routines
for my RT tasks.  My first approach was to simply link in the
LINUX string.o file with my RTL module, but not all routines
were resolved when I loaded it (I know that LINUX defers to some
assembly / optimized versions in it's build).  My next approach was
to hack the source from LINUX into a module for RTL (I renamed the
routines, eg: rtl_strtok()).  This works fine.

Has anyone else done this sort of thing?  Are there archives of this
stuff? 

I noticed that one of the RTL module source files made calls to 
memcpy() (another string.c routine).  How was this done?  I am
missing something here? 


Q2) Regarding handlers for RT FIFOS: what priority do these execute 
    at relative to other RTL tasks?  None of the documentation seems
    to address this.

thanks in advance

Rich

*------------------------------------------------------------------*
|  INTELLIGENT MACHINES AND MANUFACTURING RESEARCH CENTRE (IMMRC)  |
*------------------------------------------------------------------*
|       Richard Teltz,           | Dept. of Mechanical Engineering,|  
|  principal research engineer,  | McMaster University,            |
|   tel: (905) 525-9140, x27351  | Hamilton, Ontario,              |
|   fax: (905) 572-7944          | Canada,                         |
| email: rich@immrc.mcmaster.ca  | L8S 4L7                         |
*------------------------------------------------------------------*



--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/