URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=bd434bf5e5e66956ae330b6485d2cd0bce3a7739 Author: Stephen Sinclair <radars...@gmail.com> Date: Thu Sep 17 15:54:22 2009 -0400
Copy the udev rules into rules.d if it exists. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=896b8617c68826cf418b5215978815777b751c9f Author: Philippe Gerum <r...@xenomai.org> Date: Sun Sep 20 12:04:19 2009 +0200 rtdm: silence warnings w/ XENO_OPT_RTDM_SELECT=n URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=c0bb8cbe4ac60c85f2fec1964cffc0f52b5a7473 Author: Philippe Gerum <r...@xenomai.org> Date: Sun Sep 20 11:38:46 2009 +0200 nucleus: fix scheduler class init w/ XENO_OPT_NUCLEUS=m URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=385a74aca63f7f4a7fa0abb0adff8172d18d36dd Merge: 73f3a1fe2cf0b553eff77962b8d6683b8c8be932 04be5b18efb210ddf9444e249456032655c7a4ca Author: Philippe Gerum <r...@xenomai.org> Date: Sat Sep 19 19:33:00 2009 +0200 Merge branch 'nios' URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=73f3a1fe2cf0b553eff77962b8d6683b8c8be932 Merge: da94942c29fc0770654c5afd8aad7a6174f6cca3 9696c506628c55094b227bb6c203dcce9d352c17 Author: Philippe Gerum <r...@xenomai.org> Date: Sat Sep 19 19:30:33 2009 +0200 Merge commit 'alex' URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=04be5b18efb210ddf9444e249456032655c7a4ca Author: Philippe Gerum <r...@xenomai.org> Date: Sat Sep 19 19:22:11 2009 +0200 build: introduce CONFIG_XENO_DEFAULT_PERIOD URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=dbbd33f50dcb6edf02767a72e8ea735d43edf462 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Sep 16 18:47:24 2009 +0200 nios2: introduce architecture support This patch merges the arch-specific bits aimed at supporting the nios2 architecture. This port is still work in progress, even if it already implements a fully fledged real-time support for nios2. Programs based on the POSIX skin won't link properly yet. On the other hand, programs based on skins which do not rely on ld's wrapper magic (-Wl,--wrap) can be built. The pipeline patch merged along with this initial material will require some Xenomai-specific bits to be defined in your FPGA design, so that a high resolution timer and a dedicated 64bit clock device are available to the Xenomai core. A complete procedure to update your design accordingly will be merged in a near future. In short, this beast already runs on an Altera DE2 board here, but stay tuned for loading it on your own device. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=da94942c29fc0770654c5afd8aad7a6174f6cca3 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Sat Sep 19 13:23:55 2009 +0200 x86-hal: Include fix for NMI watchdog on 2.6.31 Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=9696c506628c55094b227bb6c203dcce9d352c17 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Sat Sep 19 00:27:19 2009 +0200 Remove useless wrappers (comedi_kmalloc, comedi_kfree) URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=5a4712e684bd0a3022307da03504948ab3488907 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 18 23:49:09 2009 +0200 Add some basic check in comedi_get_cmd() URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=8f2fab56eddac9517cf6faeb25e0057f3d4ded02 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 18 23:47:46 2009 +0200 Minor change: remove useless comedi_device structure declaration URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=4e38577b1f832872770d3051570177e10d63dba7 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 18 23:33:40 2009 +0200 COMEDI_BUF_PUT and COMEDI_BUF_GET became useless, so remove them. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=66b5984061564a975cb45243eaa220e7cb98e195 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 18 23:27:23 2009 +0200 Improve comedi_buf_*put/get() interfaces URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=280f42f0874d00b8ea0ca8b966e568604eec17f0 Author: Jan Kiszka <jan.kis...@siemens.com> Date: Fri Sep 18 11:14:06 2009 +0200 rtipc: Fix 64-bit related warnings Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=3833f60a87ee2c0b09d576619f2ef86e2c6395fb Author: Philippe Gerum <r...@xenomai.org> Date: Wed Sep 16 16:59:43 2009 +0200 nucleus: introduce arch-dep extension of the feature set Some archs may want to export additional (non-generic) information via the xnsysinfo struct to an application, when the latter binds to the real-time core. Introduce an arch-specific block within the xnsysinfo struct to convey them. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=02305a6b15855223f9e58b9fa7c36790e94f0a27 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Sep 16 16:55:06 2009 +0200 timeconv: time converters must have weak linkage Multiple libraries defining those converters may be linked against a single executable, so tag those routines with a weak attribute. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=f065a4baa9f14ea7b204d2d784fd72147b04ece4 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 15 17:43:23 2009 +0200 nucleus: start fixing misnomer between clock vs CPU frequency For historical reason, we wrongly assumed cpufreq == clockfreq in the early Xenomai days, albeit the CPU frequency may be very different from the clock source frequency used when measuring time. This patch contains a small set of related fixes that should be followed by per-arch updates. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=3b20a77a67a60639e9ff248d9721c61bdcfd2d3b Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 11 01:26:04 2009 +0200 Add missing RTSI / clock configuration routines URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=833fb4a96cfb44e3af499e4adcfbb21f14334692 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 11 01:22:41 2009 +0200 Apply modifications due to comedi_buf_evt() declaration change URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=93399bd3bd4cfc48147c42de97ba7f7073416ac8 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 11 01:15:24 2009 +0200 Improve comedi_buf_evt(): remove ugly subdevice guessing based on flags. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=a00e0a19966062c43d74acf80419bf0910abbdd6 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 11 01:11:22 2009 +0200 Add RTSI and clock precompilation constants URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=fc7f1378d57ac336d7eca1c20bbcce8c5672d2c1 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 11 01:10:37 2009 +0200 Fix MSeries_PLL_Enable_Bit wrong definition URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=844c5c90ac5f7bbb3ba242492b9f5dc28c78f093 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 11 01:10:01 2009 +0200 Fix debug trace routines URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=5ddff7f0d5962dab98ce9f9de24a2642c3e02cb2 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 11 01:08:17 2009 +0200 Add missing types flags into COMEDI_SUBD_TYPES URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=df701f84c5ac283bd0d13c903f7366919f6c2715 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 11 01:07:26 2009 +0200 Add fake range descriptor URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=45e4fa49e6c5fb3c56c053dad1a5a4577b91227e Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 11 01:06:44 2009 +0200 Add a fake range descriptor; Add basic checks in *_info ioctls URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=95c9326654d7925bcf3fc99a3905be6ef894ce44 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 11 01:01:53 2009 +0200 Add comedi_presetup_transfer() function to be called before attach procedure; this function was added to prevent IRQ descriptor overwrite. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=765420b672a2a1e864c3b9c1a1ce40a2eaaf4283 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Sep 11 00:59:02 2009 +0200 Add more checks in chaninfo, rnginfo ioctls URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=8bc203893e7d7f7882d73822790c4b960ffb30e0 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Mon Aug 17 00:32:42 2009 +0200 Fix minor initialization bugs URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=c7823ea6fa347842bdbbe105bb46d1e8dae34cc3 Author: Alexis Berlemont <berlemont.h...@free.fr> Date: Sun Jun 21 23:59:58 2009 +0200 Properly implement debug traces URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=36d1d13c2982dc55001bddeb99b97290bcca65f7 Author: Alexis Berlemont <berlemont.h...@free.fr> Date: Sun Jun 21 18:02:17 2009 +0200 Fix trace type (info -> err) URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=10adc3b7a3a3dcb46aa2a6a2f267bec9e87b8a61 Author: Alexis Berlemont <berlemont.h...@free.fr> Date: Sun Jun 14 22:41:16 2009 +0200 Review comedi_get_cmd's arguments: the subdevice descriptor should be enough. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=3045130eea4aef899b1a0872ec6c1ffb6e48b083 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Sun Jun 14 19:03:17 2009 +0200 Remove useless argument in the cancel callback URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=c0c7645f0fcb47d119abbf3c4f159fd9cd77865b Author: Alexis Berlemont <berlemont.h...@free.fr> Date: Sun Jun 14 18:50:20 2009 +0200 Fix trivial compilation bug. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=acd27ef44366510dc7c18fee0f4240737c95fc9d Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Wed Jun 10 00:47:19 2009 +0200 Fix obvious bug in IRQ registering procedure URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=66adfda3c86b46ce4e972fda98150afcb9983725 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Tue Jun 2 16:23:36 2009 +0200 Minor indentation change in fake driver source URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=c5000cadbfd037a3e3b37bbf7054419eb8b009bf Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Tue Jun 2 16:22:58 2009 +0200 Update NI PCIMIO driver according to driver API changes and fix a bug at the same time URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=9f7ed06eef57e9355d3d8f7aa431a1a48b23ed8a Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Tue Jun 2 16:21:46 2009 +0200 Update NI MIO driver according to driver API changes URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=8dfd895c15d1b14a201dbc160c7563650bcf94f0 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Wed May 27 00:08:00 2009 +0200 Update NI TIO driver according to driver API changes URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=1c814a14994ab9394a36f7a9bb5f5547a62832ba Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Tue May 26 23:20:43 2009 +0200 Review traces URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=b91cd221fa3162f10aabdfd4c4fb02e60a4e6908 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Tue May 26 14:56:47 2009 +0200 Replace forgotten rtdm_printk() by comedi_err() URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=a1d4517df5ef0462ee4007334e1e72c1e6349ea3 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Tue May 26 14:55:23 2009 +0200 Update 8255 driver URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=2828dd8487bfc6ab114babfcd1de47384b2324f2 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Tue May 26 14:54:35 2009 +0200 Review trace macros URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=95e3a0e107c1a9a702259481505f815da99e8f9c Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Tue May 26 14:54:06 2009 +0200 Remove comedi_get_nbchan(), a specific function which became useless, and add comedi_get_subd(), a more general function which might be helpful at attach / detach time. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=ff59c784952b920aab52152c4baab3d74e0e48a4 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Tue May 26 14:53:21 2009 +0200 Remove comedi_get_nbchan(), a specific function which became useless, and add comedi_get_subd(), a more general function which might be helpful at attach / detach time. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=6e9806f0e55c05cf79b8a1754c655f0aa270524f Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Sun May 24 23:49:35 2009 +0200 Simplify munge function declaration URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=9f5d7f0c1371abff0d3cc2191cbea84128f97fbb Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Sun May 24 23:38:27 2009 +0200 Simplify the declaration of comedi_get_chan URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=896c75effef7a444a0355e260e9ce55d557d8d2e Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Sun May 24 23:20:34 2009 +0200 Add the subdevice registration index into the subdevice structure URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=05521ce64e9673d7ca7aa4f827b1c0af5a6db2e1 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Sat May 23 13:54:29 2009 +0200 Review the tracing macros, mimic v4l2's system URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=76ce2c473cb36e86e90a08dcf11ad02d135172c5 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Sat May 23 05:43:04 2009 +0200 Fix typing mistake in the driver fake.c URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=9f9abc682a7eb6b5a6ff0bf40e8d7c049f0e957d Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Sat May 23 05:38:01 2009 +0200 Change the second argument of the callback do_cmd() (in subdevice structure), the subdevice index is replaced by the command to apply (which contains the subdevice index). URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=252538ed93089f58263629129d39fadd3199548a Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Sat May 23 05:23:22 2009 +0200 Slightly optimize the function comedi_get_chan() URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=4089e1a380056168f1c375f46fd31647f5271266 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Sat May 23 05:21:19 2009 +0200 Apply driver API change on testing drivers URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=212ae5cb11f36cddb055a3d40a1deb34632913f0 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Sat May 23 05:17:13 2009 +0200 Change subdevice related callbacks: replace their first argument: comedi_cxt_t -> comedi_dev_t; the context is meaningless for drivers developers. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=2b3a6d522dee1fdf9d65c6924abbf9caa59bfe5b Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Sat May 23 05:04:23 2009 +0200 Replace the first argument type: comedi_cxt_t becomes comedi_dev_t; the context structure is meaningless for the driver developer. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=5a874f63cfd29fd46d05c2223a66a83029bb105d Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Sat May 23 01:12:52 2009 +0200 Review the subdevice registration system: get closer from Comedi upstream; Rework indentation in testing drivers; Remove useless drivers management functions (comedi_init_drv(), comedi_cleanup_drv()) URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=f694d4f23c99d06c5e4aa81ab71b19c8b041ec9f Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Tue May 19 00:39:15 2009 +0200 Add Comedi PCIMIO drivers set URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=9ed5d6caf4659a0ce3e5792eac8db183b069da91 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Tue May 19 00:12:21 2009 +0200 Add range_unknown declaration URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=d04ba361f05994b7cd02aa41286bd56b1cc08db2 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Mon May 18 23:47:17 2009 +0200 Fix indentation URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=e68b1e6245a060827eff6dbc1f36854d7bd0d0f0 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Mon May 18 23:43:53 2009 +0200 Fix indentation URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=e30c3ebd89f3399fbf1dcfdd49ca572b132f9767 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Mon May 18 23:41:12 2009 +0200 Add missing flags for instructions (configuration type, counter status bits, IO directions and events types). URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=eb74d94fd8660749b9536222d999fb4d8dcc6c39 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Mon May 18 23:36:30 2009 +0200 Update indentation, add flags related macros URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=41c53a2fdf26eebd4f889e425fda36499dc9bb62 Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Mon May 18 23:32:01 2009 +0200 Replace comedi_channel_* char-typed fields by unsigned long fields. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=382d452fa34e77ba18d530a61f9f4f78035ae1d3 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 15 11:54:32 2009 +0200 blackfin: do not over-protect lsys_arch code URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=13d66eb4c8f1648614095d43dd529a3c98fc5278 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Sep 14 15:56:41 2009 +0200 x86: upgrade I-pipe support to 2.6.31-x86-2.4-05 URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=a654f4f62499fd69852aaa9dbd3a96c0074a4868 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Sep 14 15:20:47 2009 +0200 rtipc: fix potential access race to remote socket URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=e3c84a95c6af837175888eb659d0ebb25abd35d4 Author: Philippe Gerum <r...@xenomai.org> Date: Sat Sep 12 23:16:35 2009 +0200 native: be conservative in rt_queue_flush() URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=ea4ad49cbf13ba3870351a9d3e301041af4c0279 Author: Philippe Gerum <r...@xenomai.org> Date: Sat Sep 12 00:56:50 2009 +0200 native: introduce rt_queue_flush() service URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=faf0b810cb032aaa320fe814b9518a6a7d51249b Author: Sebastian Smolorz <smol...@rts.uni-hannover.de> Date: Sat Sep 12 00:17:50 2009 +0200 can: add support for SJA1000 based PCI CAN interface cards from ESD GmbH This patch adds support for SJA1000 based PCI CAN interface cards from electronic system design gmbh. The following list of boards are supported: CAN-PCI/200 (tested) CAN-PCI/266 CAN-PMC266 CAN-PCIe/2000 CAN-CPCI/200 CAN-PCI104 The patch is based on the Socket-CAN driver for those boards by Matthias Fuchs. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=c790d14c3e552fb3f26655c5c6f94ec8245d1931 Author: Philippe Gerum <r...@xenomai.org> Date: Fri Sep 11 16:28:19 2009 +0200 native: use the info bits as returned by xnsynch_acquire/sleep_on URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=ccb428f08c9ddfafb66550137610b6cc984fb239 Author: Philippe Gerum <r...@xenomai.org> Date: Fri Sep 11 15:54:31 2009 +0200 nucleus: have xnsynch_acquire/sleep_on return the relevant info bits Any caller shall check - in the current thread's info status - for the presence of object removal (XNRMID) and signal/unblock conditions (XNBREAK) bits at the very least, and for the timeout flag as well if enabled (XNTIMEO). This must be done immediately upon return from those routines, to act upon those situations sanely. Returning a pre-canned mask of those bits should make this requirement clearer. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=cd9dd67c023de98f340cb8f0309f92a9661da1af Author: Philippe Gerum <r...@xenomai.org> Date: Fri Sep 11 15:20:57 2009 +0200 rtipc: introduce BUFP protocol The buffer protocol implements a byte-oriented, one-way Producer-Consumer data path, which makes it a bit faster than datagram-oriented protocols. All messages written are buffered into a single memory area in strict FIFO order, until read by the consumer. This protocol prevents short writes, and only allows short reads when a potential deadlock situation arises (i.e. readers and writers waiting for each other indefinitely), which usually means that the buffer size does not fit the use peer threads are making from the protocol. This protocol is strictly identical to the RT_BUFFER interface available from the native skin. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=e67b19e43367b69af37bd9588a5256f8a4a1c3f2 Author: Philippe Gerum <r...@xenomai.org> Date: Fri Sep 11 15:11:59 2009 +0200 native: check status of all bufd-driven copies URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=fabf63d384206f0b46bbf580b3d6398d5479a522 Author: Philippe Gerum <r...@xenomai.org> Date: Fri Sep 11 15:08:19 2009 +0200 rtipc/iddp: fix comment URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=f07487375437d317fa063a53ae3abc83e28550db Author: Philippe Gerum <r...@xenomai.org> Date: Thu Sep 10 17:23:06 2009 +0200 nucleus: introduce wait context for threads Wait contexts are meant to deal with two current issues: - deleting a kernel-based thread might leave stale contextual data if the target thread was blocked on a synchronization object. This is due to the synchronous bahavior of xnpod_delete() for kernel threads. - to pass arguments between the consumer and the producer of a resource, to give details about what is actually awaited, currently goes through the wait_u union of a TCB. This is barely optimal, since pre-canned data types to hold all possible arguments have to be defined in the generic TCB as part of the wait_u object, instead of allowing arbitrary data types to be used, depending on the code which blocks the thread. E.g. an event flag group wait mechanism should pass the event mask to wait for, along with the wait mode (AND/OR), so that the signaling side can wake it up selectively. But since it wants to do this only when the awaited events did arrive, it needs to peek at one or more active wait contexts to make a decision. Other synchronization objects would rather need to pass pointers, or anything else that fits the purpose. Wait contexts deal with this as follows: - a deferred cancellation mode has been introduced (XNDEFCAN) for threads. If present, the cancellation is marked as pending (XNCANPND) and the target thread immediately unblocked, when xnpod_delete_thread() is called. Further action is postponed until the thread exits its active wait context (xnthread_finish_wait_context) it should have declared before blocking (xnthread_prepare_wait_context). If a cancellation is pending, xnthread_finish_wait_context() will self-terminate the current thread. Before that, a cleanup handler will have been allowed to run, from which necessary housekeeping chores can be done. - the actual wait context which can be defined is a free-form structure which should at least enclose an xnthread_wait_context data block for internal management by the nucleus. Any kind/number of data members may be additionally enclosed. - a backpointer from any thread to its active wait context can be retrieved by any code enforcing proper locking (nklock basically). Typically, xnsynch_peek_pendq() may be used to find the thread heading the wait queue of a given synchronization object, which wait context can be then fetched via xnthread_get_wait_context(). In short: struct context { struct xnthread_wait_context wc; int whatever; void *fits; struct xnbufd *here; }; struct xnsynch bar; void cleanup(struct xnthread_wait_context *wc) { struct context *p; p = container_of(wc, struct context, wc); clean_this_up(p); } ... struct context foo; /* likely on stack */ foo.whatever = 12; foo.fits = NULL; foo.here = &something; xnthread_prepare_wait_context(&foo.wc); xnsynch_sleep_on(&bar, XN_INFINITE, XN_RELATIVE); xnthread_finish_wait_context(&foo.wc, cleanup); ... might not return there... if (xnthread_test_info(thread, XNRMID)) ret = -EIDRM; else if (xnthread_test_info(thread, XNBREAK)) ret = -EINTR; else if (...) URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=7bf2b7e8cba294d9fd2dd47aefed1f23828b885a Author: Philippe Gerum <r...@xenomai.org> Date: Thu Sep 10 05:47:19 2009 +0200 rtipc/iddp: remove redundant portmap array URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=55d0bd164daf5a7f2ddc4076129fe45a816ef277 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Sep 9 19:27:12 2009 +0200 rtipc/iddp: fix double-free introduced by recent bufd usage URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=983fe7f1b5b5617c8a0db9173f28d66fc6e7af8b Author: Philippe Gerum <r...@xenomai.org> Date: Wed Sep 9 19:08:58 2009 +0200 rtipc/iddp: fix missing indirection URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=280db0af31db690503921e9b1075d294c846f2df Author: Philippe Gerum <r...@xenomai.org> Date: Wed Sep 9 17:53:45 2009 +0200 nucleus: introduce xnmap_fetch_nocheck service URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=06994230cf9291f48627dc2e77524a73ab05ff31 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Sep 9 17:51:37 2009 +0200 nucleus: inline xnmap_fetch service URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=4e7b26292587856f81be66ada0556999b988874a Author: Philippe Gerum <r...@xenomai.org> Date: Wed Sep 9 17:44:55 2009 +0200 rtipc: make RTIPC_IOV_MAX a common limit to all protocols URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=c317362b9102d7f3fbcf1ec75a2a66fa378fc9ef Author: Philippe Gerum <r...@xenomai.org> Date: Wed Sep 9 17:41:03 2009 +0200 rtipc: disable deprecated close_rt handler for protocols URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=3d453b310fbba5e69ddcb98b2da7062dfe904270 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Sep 9 17:36:17 2009 +0200 rtipc: introduce rtipc_get_iov_flatlen() URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=8e430ddd915e4edce78b8be8d14795979e188947 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 8 18:27:16 2009 +0200 rtipc: allow kernel-based threads to send/recv datagrams URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=9eecf7c8fd583f687f885ef76805f5118018c92d Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 8 17:40:49 2009 +0200 rtipc/iddp: fix binding error path URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=529b2e71744fd481840f7c7a9773915d6d9daf90 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 8 17:04:21 2009 +0200 rtipc/xddp: always handle close request in NRT mode URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=6ace951ae4030b9aca7e9edcf187291829225d92 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 8 17:04:08 2009 +0200 rtipc/iddp: handle close request in NRT mode when required URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=3ca0a1c11e7d51dd736c7c1021baee9a9a0e77f4 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 8 16:58:07 2009 +0200 rtipc/iddp: clear registry handle at socket creation URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=3d74f451ed34f3b3e72d8594d1ee1c519f95decd Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 8 16:25:01 2009 +0200 rtipc/iddp: remove tracepoint URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=09e28709bee855fb088e0bc6fa9a2b378411a9e9 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 8 16:24:19 2009 +0200 rtipc/iddp: add missing private event init URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=5c37ec64a0948ae34e86ea8f884443cc51f2bf06 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 8 16:23:33 2009 +0200 rtipc/iddp: introduce port auto-selection URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=927283852001f368b649aa97814472f544f4e254 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 8 15:48:06 2009 +0200 rtipc: fix iddp/xddp context for _RTIOC_BIND URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=e6378e9bd544ba6892e92acac70b44e5dda9b68f Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 8 15:35:24 2009 +0200 rtipc: move code to get/put sockaddr_ipc structs to generic section URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=f8d1a994d59736dcc941843dbebf9b2e36b61eb1 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 8 15:17:35 2009 +0200 rtipc/iddp: introduce IDDP_SETLABEL URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=8e0a0ef398e55b0473dcff33a7c172217a1c8d3e Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 8 12:27:46 2009 +0200 rtipc/xddp: return -EAGAIN when trying to read from an unbound socket URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=2b083651953546b13b07e459d574aec103cf3230 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 8 00:01:33 2009 +0200 rtipc/xddp: clear _XDDP_BINDING upon error in bind() URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=364fa9ad2dc66e5dd884f795ace544d1a9ae69bb Author: Philippe Gerum <r...@xenomai.org> Date: Mon Sep 7 21:56:50 2009 +0200 rtipc: use standard SOL_SOCKET level operations for timeout settings URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=d1fb5d409c9f4056a7d4d565cc5422d885297884 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Sep 7 18:30:16 2009 +0200 rtipc/iddp: introduce local per-socket datagram pool URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=6497285bf4b86266fc2d36e66b2255e69c5a57b3 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Sep 7 18:30:09 2009 +0200 rtipc: add __exit attribute to module_exit code URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=c8dfa1aecaa597acf3f276eb1fa0ecf38a312197 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Sep 7 18:28:43 2009 +0200 rtipc/xddp: fix context locking in sendmsg() URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=dda77b89c77287426a158bf777f75ab30af65320 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Sep 7 17:24:15 2009 +0200 rtipc/xddp: catch null local pool size URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=81996eb886558b20595d212687c6076ecdb8a5c2 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Sep 7 17:07:26 2009 +0200 rtipc/xddp: fix null address URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=0be334bcfd2e5cc86853402ab1ed9e0a077ca720 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Sep 7 17:06:08 2009 +0200 rtipc/iddp: allow dynamic unbinding via NULL address URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=c065b6879a84a1820b1abb781d401a66e139d89f Author: Philippe Gerum <r...@xenomai.org> Date: Mon Sep 7 16:55:59 2009 +0200 rtipc: introduce proto_exit() URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=20b99e4491cd9ad0650713e89e618dfe981ab9be Author: Philippe Gerum <r...@xenomai.org> Date: Mon Sep 7 16:51:29 2009 +0200 rtipc/iddp: retrieve IDDP_GETSTALLCOUNT via the getsockopt() interface URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=50465305cc0d2ad144c528c10b1a64c75741ed0f Author: Philippe Gerum <r...@xenomai.org> Date: Sun Sep 6 00:10:51 2009 +0200 rtdm: introduce RTIPC protocol family URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=e1ea047421db1c4008b7073af344477494b3eb2b Author: Philippe Gerum <r...@xenomai.org> Date: Sat Sep 5 23:47:08 2009 +0200 rtdm: introduce device context <-> private area accessors Introduce rtdm_context_to_private() and rtdm_private_to_context() accessors, returning the private area associated with a device context structure, and conversely. URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=a9b8cca74e978030b9bcf947a176bb1e1c0f5e5f Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 1 11:47:05 2009 +0200 arm: fix patch name URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=597a086da2824acbede2d609b044d952e674e843 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 1 11:45:55 2009 +0200 arm: remove obsolete I-pipe releases URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=5a030e37b6d82dff256485a4c3f00b2ba3ec63e4 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 1 11:28:05 2009 +0200 build: update version stamp URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=c18e105498305aca5bad14e2be613d80bd0b4770 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 1 11:27:10 2009 +0200 doc: regenerate documentation URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=3fe8ead0feff743874d0b2180f79bc04372c2cf4 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Sep 1 11:16:59 2009 +0200 x86: upgrade I-pipe support to 2.6.30.5-x86-2.4-05 URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=33bf2b4d8b845690c04d56d98a4a3223f2ffc8f9 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Aug 31 22:52:18 2009 +0200 powerpc: upgrade legacy I-pipe support to 2.6.20-powerpc-1.9-02 URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=b3457b347d91577f457d496faa1881f09f549766 Author: Philippe Gerum <r...@xenomai.org> Date: Mon Aug 31 22:25:45 2009 +0200 x86_64: introduce support for CC_STACKPROTECTOR URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=c994212a783b86f952a5952490cc5607b0606878 Author: Philippe Gerum <r...@xenomai.org> Date: Sun Aug 30 17:40:34 2009 +0200 native: fix (harmless) uninitialized reference URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=613d48037fa7ad850ed01b867b9bcdaa40caa48c Author: Philippe Gerum <r...@xenomai.org> Date: Sat Aug 29 15:02:26 2009 +0200 arm: upgrade I-pipe support to 2.6.30-arm-1.14-02, 2.6.28-arm-1.12-05, 2.6.29-arm-1.13-03 URL: http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=8bb71a2410c28ed883158306608b55819982c2f2 Author: Philippe Gerum <r...@xenomai.org> Date: Thu Aug 27 19:00:49 2009 +0200 arm: upgrade I-pipe support to 2.6.30-arm-1.14-01 _______________________________________________ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git