[ECOS] Native file access under eCos synthetic

Andrew Lunn andrew.lunn@ascom.ch
Sat Nov 10 11:24:00 GMT 2001


On Fri, Nov 16, 2001 at 11:41:08AM +0100, Dominique Henry de Villeneuve wrote:
> Hi,
> 
> I need to perform some basic operations on native files.
> Is there already a way to do this?
> I use an eCos configuration with linux target and elix template.
> 
> thanks,
> Dominique

Yes, its possible. You need to use the cyg_hal_sys_* functions in
hal/synth/i386linux/current/src/syscall-i386-linux-1.0.S. 

This gives you access to kernel system calls. Be careful not to do any
blocking calls.

         Andrew



More information about the Ecos-discuss mailing list