On 2011-04-14 08:14, Asier Tamayo wrote: > > Hello, > > I'm porting a PCI driver to a RTDM. Until now, I have successfully done most > of the job. > > I'm using Xenomai version 2.4.7 and Linux 2.6.27, from the ELinOS 5.0 > distribution. > > My problem appears with the rtdm_iomap_to_user() function. I want to allow a > RT task to access the PCI memory directly, via mmap. As the RTDM has no > mmap() function, I'm trying to use rtdm_iomap_to_user, but it always gives me > the following error: > > I-pipe: Detected illicit call from domain 'Xenomai' > into a service reserved for domain 'Linux' and below.
This is also documented: rtdm_iomap_to_user is not supposed to be called from RT task context. This means your driver should only call it from handlers registered for *_nrt entry points. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
