Re: [Xenomai-core] [Adeos-main] RTDM without mmap
Yes,you are right. The interrupt handler is taken over by ipipe, but other syscall is still linux syscall. (1) Does the RTDM implement the mmap feature or similar feature? I see that Xenomai can Write device drivers in user space , such as rt_intr_create(&intr_desc,IRQ_NUMBER,I_AUTOENA); (2) The irqhandler is in user space, how interrupt (kernel mode) can invoke irqhandler(user mode ) ? (3) where is the kernel stack of xenomai "primary" domain ? (4) How to communicate between linux domain and xenomai domain in inter-processes ? Thanks ! 2008/4/11, Johan Borkhuis <[EMAIL PROTECTED]>: > > Josh Zhao wrote: > > > Thanks. > > So you mean I have to invoke ipipe api directly in xenomai? > > > > > > No, if you look at the driver code you will see that this is a "standard" > Linux driver, with the regular mmap handling, and not a Xenomai/RTDM driver. > The only difference with a between this driver and a regular Linux driver is > the fact that IPIPE is used for interrupt handling. > > 2008/4/11, Hannes Mayer <[EMAIL PROTECTED]>: > > > > > > > Josh Zhao wrote: > > > > > > > > > > Hi all, > > > > I want to write mmap driver for spending up to exchange data > > > > between kernel and user,but i havn't seen the mmap field in RTDM > > > > > > > > > > > structure. > > > > > > > > > http://www.captain.at/adeos-ipipe-device-driver-mmap.php :-) > > > > > > > > > Regards, > Johan > ___ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core
Re: [Xenomai-core] [Adeos-main] RTDM without mmap
Josh Zhao wrote: > Thanks. >So you mean I have to invoke ipipe api directly in xenomai? > No, if you look at the driver code you will see that this is a "standard" Linux driver, with the regular mmap handling, and not a Xenomai/RTDM driver. The only difference with a between this driver and a regular Linux driver is the fact that IPIPE is used for interrupt handling. > 2008/4/11, Hannes Mayer <[EMAIL PROTECTED]>: > >> Josh Zhao wrote: >> >>> Hi all, >>> I want to write mmap driver for spending up to exchange data >>> between kernel and user,but i havn't seen the mmap field in RTDM >>> >> structure. >> >> >> http://www.captain.at/adeos-ipipe-device-driver-mmap.php :-) >> Regards, Johan ___ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core
Re: [Xenomai-core] [Adeos-main] RTDM without mmap
Thanks. So you mean I have to invoke ipipe api directly in xenomai? 2008/4/11, Hannes Mayer <[EMAIL PROTECTED]>: > > Josh Zhao wrote: > > Hi all, > > I want to write mmap driver for spending up to exchange data > > between kernel and user,but i havn't seen the mmap field in RTDM > structure. > > > http://www.captain.at/adeos-ipipe-device-driver-mmap.php :-) > > Cheers, > Hannes. > > ___ > Adeos-main mailing list > [EMAIL PROTECTED] > https://mail.gna.org/listinfo/adeos-main > ___ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core