Am 02.11.2012 um 01:33 schrieb andy pugh: > On 31 October 2012 13:56, Michael Haberler <[email protected]> wrote: > >> RTAPI supports 'RTAPI shared memory segments' of which HAL occupies one >> (only? afaict), which is allocated in hal_lib.ko during module init before >> any other modules are loaded. >> >> such a segment can be created in RTAPI, and attached in ULAPI >> >> is the reverse a) true b) a requirement? i.e.: can an RTAPI shared memory >> segment be created in ULAPI, and mapped *later* in RTAPI (kernel land?) > > > I have only done this once, and I initialised the shmem from RTAPI. > I think I have done it one more time than 99% of users. I think most of > that 1% would adapt to having to create the shmem in RT land it making it > symmetrical is hard.
I've made that scenario an error and it hasnt been triggered yet In the kernel threads scenario, rtapi and hal_lib are loaded before anything else, so the RTAPI master data structure segment and the HAL memory segment are created before anything else too, in the kernel RTAPI In the userland threads scenario it's not an issue because there is no other side of the fence - Michael > > -- > atp > If you can't fix it, you don't own it. > http://www.ifixit.com/Manifesto > ------------------------------------------------------------------------------ > LogMeIn Central: Instant, anywhere, Remote PC access and management. > Stay in control, update software, and manage PCs from one command center > Diagnose problems and improve visibility into emerging IT issues > Automate, monitor and manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12331_d2d > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
