-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The usermode-pci code is ready for testing and review:
http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/usermode-pci I would appreciate it if someone familiar with the workings of the hostmot2 driver and rtapi (Sebastian K.?, others?) could take a look at my changes and make sure I didn't wander off into the weeds or do something stupid that will cause problems later. The code changes to the actual driver (hal/drivers/mesa-hostmot2/*) are minimal, and mostly related to changing any <linux/*> includes to RTAPI_INC_* to allow changing the file pointed to based on whether or not the code is building in kernel mode. The new file hal/config_module.h is where the RTAPI_INC_* defines get created, and the new headers and required code are in the new rtapi/userpci directory. The rtapi_pci.[ch] files were also extensively added to. The libudev code that finds any supported boards and the code that provides access to the hardware via sysfs is found in these files. Finally, I had to modify rtapi_app.h so the usermode builds worked the same as for a kernel build (no exporting of a symbol unless it is actually present in that file) to avoid linker errors with the hm2 code (which includes rtapi_app.h in pretty much *EVERY* file, not just the ones with rtapi_app_main / rtapi_app_exit). To build and test, add "--enable-usermode-pci" to your ./configure command line. The code is known to work with xenomai-user and rt-preempt-user, and should work with posix as well. You will need a Mesa board supported by the hm2_pci driver to actually test talking to hardware. - -- Charles Steinkuehler [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlDQQBMACgkQLywbqEHdNFxmcACfes+n0A3awq62NuK9hzvhQeXP P3YAoNhMbfuTJVqD2nh8WturpBhFoCEd =spr3 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
