Platform: X86, 64-bit Thanks for the API linke. I have recoded to not use "rtdm_iomap_to_user" and used the mmap call. However, I am not able to open the driver with the open() call. It returned -1. Any suggestion? Example?
Thanks, Peter Hua Innovative Integration 805-578-4275 -----Original Message----- From: Gilles Chanteperdrix [mailto:[email protected]] Sent: Monday, January 17, 2011 9:03 AM To: Peter Hua Cc: [email protected]; [email protected] Subject: Re: [Xenomai-help] Xenomai mmap Peter Hua wrote: > Is there any example code to map PCI registers into user space? I am having > problem getting functions rtdm_iomap_to_user and mmap to compile. My code > is attached. What platform? What error message do you get? -- Gilles. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
