> So I thought of moving this part of our communication stack which has 
> hard-real
> time requirement (FlexRay, CAN, LIN) into a seperate process which only lives
> in the xenomai domain (it will communicate with low-prio linux processes via
> non-blocking fifo or such). But this raises two important questions: Can I
> access the FPGA registers directly from a xenomai task in the user space?  Or
> do I have to write a minimal linux or xenomai-rtdm device driver which maps
> FPGA registers from kernel to user space?

You can do direct register access from userland; we do this with several 
device drivers in our system.

We are thinking about trying to refactor a driver to use RTDM due to the 
recent discussions on losing support for userland interrupt handling, 
but for our purposes the current support for interrupts in userland has 
worked fine.

We use pci_scan_bus() and friends for finding the device, and mmap to 
get it into userland memory.

hth

                         - Tom

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to