.. and now linuxcnc uspace happily talks to my 5i20 card. Huzzah! I'm pleased that I was able to re-use (by copy & paste) some of the code from the ubc branch to accomplish this.
Please, if you're interested in linuxcnc on a RT-PREEMPT kernel, review my code (it's in the jepler/rtos-uspace branch on git.linuxcnc.org) or build it and kick the tires. I've tried it on one set of hardware, a Core 2 Duo running Debian 7 with kernel 3.2.0-rt. I'd also love to hear whether hm2-net can be adapted to this branch. The delta in my branch is not as small as I would have liked, but after the initial reorganization patches, which are 39 files changed, 1243 insertions(+), 1255 deletions(-) the implementation of the "uspace" rtos is 10 files changed, 444 insertions(+), 211 deletions(-) and the implementation of imitation kernel APIs plus modification of serport, hostmot2, and hm2_pci to use them: 59 files changed, 2665 insertions(+), 991 deletions(-) a figure which includes new documentation: 9 files changed, 325 insertions(+) and the driver changes which are almost all adding rtapi_ prefixes (unfortunately, not quite mechanical, because e.g., I can't blindly replace the word "firmware" anywhere it appears with "rtapi_firmware"): 29 files changed, 991 insertions(+), 971 deletions(-) So the overall figure 93 files changed, 4146 insertions(+), 2251 deletions(-) is not so bad. As before, I reserve the right to rebase this branch as I improve it, so take if you base work on it, make sure you understand "recovering from upstream rebase" in man git-rebase. b6e8487 rtapi: document new header 0b017d2 hm2_pci: rtapi-prefix APIs and enable for uspace 01ad20c uspace: implementation of PCI APIs 3d9d56e build: we'll require libudev from now on 7a8073e rtapi: document new headers 47ad646 hm2-idrom: Let test succeed in uspace c5f4c78 hostmot2: build hostmot2 and hm2_test for uspace 005a93f rtapi-uspace: implement rtapi_delay bb38bb7 rtapi: provide additional portability headers 774342d serport: build for uspace 46b2b96 serport: use <rtapi_io.h> 0859334 rtapi: import EXPORT_SYMBOL_GPL for uspace f7451da rtapi: provide (non-functional) request/release region for uspace ce9e624 rtapi: provide rtapi_io.h 94f429b uspace-rtapi: cpu_dma_latency hardening 5e13ce4 uspace-rtapi: lock and page in shared memory segments 3e544d0 uspace-rtapi: get rid of use of GNU pth b4bf9bf uspace-rtapi: get time in nanoseconds, not microseconds 3935465 uspace-rtapi: Implement posix realtime cafc9aa uspace-rtapi: use POSIX scheduler priorities ee88633 uspace-rtapi: Introduce class RtapiApp and implementation Pth 4593e1e uspace-rtapi: Drop never-used APIs b9aed83 uspace-rtapi: roll uspace_rtapi.c into rtapi_app.cc bf7a19c rtapi_app: do commands based on a callback b435ace packaging: linuxcnc-uspace, not linuxcnc-sim fdcaeef rtapi_app: setuid permissions a7d2e7c configure: Change "sim" to "uspace", with fallout elsewhere 21bfde3 rtapi: use defined(__KERNEL__) to test for kernel space 715e91f rtapi: rename "sim" to "uspace" 93 files changed, 4146 insertions(+), 2251 deletions(-) Jeff ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers