writing emulated drivers in linux RTEMS

Joel Sherrill joel.sherrill at OARcorp.com
Thu Aug 17 12:17:56 UTC 2000

Kaben Nanlohy wrote:
> Aaron Grier has ported RTEMS to our prototype instrument.  Since we have a
> limited supply of instruments, the unix port of RTEMS has been very useful
> to us as a platform for testing our software.
> How would we best go about enabling IMFS in the unix/posix bsp?  This
> would allow us to write a mock driver for testing purposes, and then
> access it using open("/dev/mockdriver", 0, O_RDONLY), etc.

Look at c/src/lib/libc/Makefile* and what it does to decide which files
are used for the POSIX configuration.  The biggest problem will revolve
around replacing the native system calls so they go to RTEMS>

> -- Kaben Nanlohy.

Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

More information about the users mailing list