[Xenomai-git] Philippe Gerum : doc: give pointers about building from sources

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 4bff06c853eddc77634f249907bd6fcc299d17c7
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4bff06c853eddc77634f249907bd6fcc299d17c7

Author: Philippe Gerum 
Date:   Thu Jun 18 09:55:32 2015 +0200

doc: give pointers about building from sources

---

 README |   44 
 1 file changed, 36 insertions(+), 8 deletions(-)

diff --git a/README b/README
index 71f8287..019b58d 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@
 Where to start from?
 
 
-http://xenomai.org/start-here/ is the best place to start learning
+https://xenomai.org/start-here/ is the best place to start learning
 about Xenomai 3.
 
 Built-in documentation
@@ -24,10 +24,38 @@ Online documentation
 The online version of the documentation is available from our website
 for the current release:
 
-http://xenomai.org/installing-xenomai-3-x/
-http://xenomai.org/building-applications-with-xenomai-3-x/
-http://xenomai.org/running-applications-with-xenomai-3-x/
-http://xenomai.org/migrating-from-xenomai-2-x-to-3-x/
-http://xenomai.org/documentation/xenomai-3/html/xeno3prm/index.html
-http://xenomai.org/troubleshooting-a-dual-kernel-configuration/
-http://xenomai.org/troubleshooting-a-single-kernel-configuration/
+https://xenomai.org/installing-xenomai-3-x/
+https://xenomai.org/building-applications-with-xenomai-3-x/
+https://xenomai.org/running-applications-with-xenomai-3-x/
+https://xenomai.org/migrating-from-xenomai-2-x-to-3-x/
+https://xenomai.org/documentation/xenomai-3/html/xeno3prm/index.html
+https://xenomai.org/troubleshooting-a-dual-kernel-configuration/
+https://xenomai.org/troubleshooting-a-single-kernel-configuration/
+
+Building from sources
+=
+
+Detailed instructions for building from sources are available at:
+https://xenomai.org/installing-xenomai-3-x/
+
+- GIT clone:
+
+  git://git.xenomai.org/xenomai-3.git
+  https://git.xenomai.org/xenomai-3.git
+  http://git.xenomai.org/xenomai-3.git
+
+  Once the repository is cloned, make sure to bootstrap the autoconf
+  system in the top-level directory by running script/bootstrap.  In
+  order to do this, you will need the GNU autotools installed on your
+  workstation.
+
+  If you intend to update the Xenomai code base, you may want to pass
+  --enable-maintainer-mode to the configure script for building, so
+  that autoconf/automake output files are automatically regenerated at
+  the next (re)build in case the corresponding templates have changed.
+
+- Tarballs:
+
+  http://download.gna.org/xenomai/
+
+  Source tarballs are self-contained and ready for building.


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : cobalt/arm: upgrade I-pipe support

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 7cb2c02374b71f199a43e644f4aa256db8be4053
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7cb2c02374b71f199a43e644f4aa256db8be4053

Author: Philippe Gerum 
Date:   Wed Jun 17 10:34:00 2015 +0200

cobalt/arm: upgrade I-pipe support

---

 ...-arm-7.patch => ipipe-core-3.10.32-arm-9.patch} |   62 +-
 ...arm-8.patch => ipipe-core-3.14.39-arm-10.patch} |  105 +-
 ...7-arm-5.patch => ipipe-core-3.16.7-arm-8.patch} |  114 +-
 .../arm/patches/ipipe-core-3.18.12-arm-2.patch |25571 
 4 files changed, 25763 insertions(+), 89 deletions(-)

Diff:   
http://git.xenomai.org/?p=xenomai-3.git;a=commitdiff;h=7cb2c02374b71f199a43e644f4aa256db8be4053

___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Jan Kiszka : Create .gitignore for autotools files

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 45fb9d6134ad2b69bca3a4ef73850200caa95b5e
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=45fb9d6134ad2b69bca3a4ef73850200caa95b5e

Author: Jan Kiszka 
Date:   Wed Apr  1 14:25:42 2015 +0200

Create .gitignore for autotools files

This avoids filling up "git status" with tons of autotools files that
are now locally maintained. git recommends to maintain .gitignore inside
the repository, users expect it to happen this way, so let's add it.

Signed-off-by: Jan Kiszka 

---

 .gitignore |   17 +
 1 file changed, 17 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000..b1d6820
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,17 @@
+Makefile.in
+include/xeno_config.h.in*
+config/compile
+config/config.guess
+config/config.sub
+config/depcomp
+config/install-sh
+config/libtool.m4
+config/ltmain.sh
+config/ltoptions.m4
+config/ltsugar.m4
+config/ltversion.m4
+config/lt~obsolete.m4
+config/missing
+configure
+aclocal.m4
+autom4te.cache


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : copperplate/clockobj: use proper type for clock ticks

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: d9b8f4c64a9858c328fb78702abf13a91498503c
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d9b8f4c64a9858c328fb78702abf13a91498503c

Author: Philippe Gerum 
Date:   Wed Jun 17 10:30:21 2015 +0200

copperplate/clockobj: use proper type for clock ticks

---

 lib/copperplate/clockobj.c |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/copperplate/clockobj.c b/lib/copperplate/clockobj.c
index 21a420d..43928d7 100644
--- a/lib/copperplate/clockobj.c
+++ b/lib/copperplate/clockobj.c
@@ -263,13 +263,13 @@ sticks_t clockobj_ns_to_ticks(struct clockobj *clkobj, 
sticks_t ns)
 
 void clockobj_get_date(struct clockobj *clkobj, ticks_t *pticks)
 {
-   unsigned long long ns;
+   ticks_t ns;
 
read_lock_nocancel(&clkobj->lock);
 
ns = cobalt_ticks_to_ns(clockobj_get_tsc());
/* Add offset to epoch. */
-   ns += (unsigned long long)clkobj->offset.tv_sec * 10ULL;
+   ns += (ticks_t)clkobj->offset.tv_sec * 10ULL;
ns += clkobj->offset.tv_nsec;
if (clockobj_get_resolution(clkobj) > 1)
ns /= clockobj_get_resolution(clkobj);


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : cobalt/blackfin: upgrade I-pipe support

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 95c72f82d96eeac12aa682bff54f8b05a5050098
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=95c72f82d96eeac12aa682bff54f8b05a5050098

Author: Philippe Gerum 
Date:   Wed Jun 17 17:22:30 2015 +0200

cobalt/blackfin: upgrade I-pipe support

---

 ...4.patch => ipipe-core-3.10.32-blackfin-5.patch} |   12 +-
 ...6.patch => ipipe-core-3.14.39-blackfin-7.patch} |   55 +-
 ...-3.patch => ipipe-core-3.16.7-blackfin-5.patch} |   27 +-
 .../patches/ipipe-core-3.18.12-blackfin-1.patch|13561 
 4 files changed, 13625 insertions(+), 30 deletions(-)

Diff:   
http://git.xenomai.org/?p=xenomai-3.git;a=commitdiff;h=95c72f82d96eeac12aa682bff54f8b05a5050098

___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : cobalt/powerpc: upgrade I-pipe support

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 525c67d94024a18f823c0d9f6ae41d89d7e81dd3
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=525c67d94024a18f823c0d9f6ae41d89d7e81dd3

Author: Philippe Gerum 
Date:   Wed Jun 17 17:21:54 2015 +0200

cobalt/powerpc: upgrade I-pipe support

---

 ...-5.patch => ipipe-core-3.10.32-powerpc-6.patch} |   12 +-
 ...-7.patch => ipipe-core-3.14.39-powerpc-8.patch} |   57 +-
 ...c-3.patch => ipipe-core-3.16.7-powerpc-5.patch} |  240 +-
 .../patches/ipipe-core-3.18.12-powerpc-1.patch |17293 
 4 files changed, 17474 insertions(+), 128 deletions(-)

Diff:   
http://git.xenomai.org/?p=xenomai-3.git;a=commitdiff;h=525c67d94024a18f823c0d9f6ae41d89d7e81dd3

___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : testsuite/latency: dump main stats along with gnuplot output

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 3110b4e58bd0697bd55e13bbaf8d3de6c02bfb98
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=3110b4e58bd0697bd55e13bbaf8d3de6c02bfb98

Author: Philippe Gerum 
Date:   Wed Jun 17 10:00:55 2015 +0200

testsuite/latency: dump main stats along with gnuplot output

---

 testsuite/latency/latency.c |   50 +++
 1 file changed, 27 insertions(+), 23 deletions(-)

diff --git a/testsuite/latency/latency.c b/testsuite/latency/latency.c
index 8aab398..95b5a52 100644
--- a/testsuite/latency/latency.c
+++ b/testsuite/latency/latency.c
@@ -380,7 +380,7 @@ static double dump_histogram(int32_t *histogram, char *kind)
return avg;
 }
 
-static void dump_histo_gnuplot(int32_t *histogram)
+static void dump_histo_gnuplot(int32_t *histogram, time_t duration)
 {
unsigned int start, stop;
char *xconf, buf[BUFSIZ];
@@ -395,6 +395,18 @@ static void dump_histo_gnuplot(int32_t *histogram)
return;
}
 
+   fprintf(ofp, "# %.2ld:%.2ld:%.2ld (%s, %Ld us period, priority %d)\n",
+   duration / 3600, (duration / 60) % 60, duration % 60,
+   test_mode_names[test_mode],
+   period_ns / 1000, priority);
+   fprintf(ofp, "# %11s|%11s|%11s|%8s|%6s|\n",
+   "lat min", "lat avg",
+   "lat max", "-overrun", "---msw");
+   fprintf(ofp,
+   "# %11.3f|%11.3f|%11.3f|%8d|%6u|\n",
+   (double)gminjitter / 1000, (double)gavgjitter / 1000,
+   (double)gmaxjitter / 1000, goverrun, max_relaxed);
+
if (asprintf(&xconf, "%s/bin/xeno-config --info", CONFIG_XENO_PREFIX) < 
0)
goto dump_data;
 
@@ -455,7 +467,7 @@ static void dump_stats(int32_t *histogram, char *kind, 
double avg)
   kind, total_hits, avg, variance);
 }
 
-static void dump_hist_stats(void)
+static void dump_hist_stats(time_t duration)
 {
double minavg, maxavg, avgavg;
 
@@ -471,13 +483,18 @@ static void dump_hist_stats(void)
dump_stats(histogram_max, "max", maxavg);
 
if (do_gnuplot)
-   dump_histo_gnuplot(histogram_avg);
+   dump_histo_gnuplot(histogram_avg, duration);
 }
 
 static void cleanup(void)
 {
+   struct rttst_overall_bench_res overall;
time_t actual_duration;
-   long gmaxj, gminj, gavgj;
+
+   time(&test_end);
+   actual_duration = test_end - test_start - WARMUP_TIME;
+   if (!test_duration)
+   test_duration = actual_duration;
 
pthread_cancel(display_task);
 
@@ -486,43 +503,30 @@ static void cleanup(void)
pthread_join(latency_task, NULL);
sem_close(display_sem);
sem_unlink(sem_name);
-
gavgjitter /= (test_loops > 1 ? test_loops : 2) - 1;
-
-   gminj = gminjitter;
-   gmaxj = gmaxjitter;
-   gavgj = gavgjitter;
} else {
-   struct rttst_overall_bench_res overall;
-
overall.histogram_min = histogram_min;
overall.histogram_max = histogram_max;
overall.histogram_avg = histogram_avg;
-
ioctl(benchdev, RTTST_RTIOC_TMBENCH_STOP, &overall);
-
-   gminj = overall.result.min;
-   gmaxj = overall.result.max;
-   gavgj = overall.result.avg;
+   gminjitter = overall.result.min;
+   gmaxjitter = overall.result.max;
+   gavgjitter = overall.result.avg;
goverrun = overall.result.overruns;
}
+
pthread_join(display_task, NULL);
 
if (benchdev >= 0)
close(benchdev);
 
if (need_histo())
-   dump_hist_stats();
-
-   time(&test_end);
-   actual_duration = test_end - test_start - WARMUP_TIME;
-   if (!test_duration)
-   test_duration = actual_duration;
+   dump_hist_stats(actual_duration);
 
printf

("---|---|---|---||--|-\n"
 "RTS|%11.3f|%11.3f|%11.3f|%8d|%6u|
%.2ld:%.2ld:%.2ld/%.2d:%.2d:%.2d\n",
-(double)gminj / 1000, (double)gavgj / 1000, (double)gmaxj / 1000,
+(double)gminjitter / 1000, (double)gavgjitter / 1000, 
(double)gmaxjitter / 1000,
 goverrun, max_relaxed, actual_duration / 3600, (actual_duration / 
60) % 60,
 actual_duration % 60, test_duration / 3600,
 (test_duration / 60) % 60, test_duration % 60);


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : kernel/cobalt: add missing licensing terms

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: acb6e18761ab829a21ea8e1fb732735b09cebaed
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=acb6e18761ab829a21ea8e1fb732735b09cebaed

Author: Philippe Gerum 
Date:   Thu Jun 18 11:10:34 2015 +0200

kernel/cobalt: add missing licensing terms

---

 kernel/cobalt/posix/timerfd.h  |   17 +
 kernel/cobalt/trace/cobalt-core.h  |   19 +++
 kernel/cobalt/trace/cobalt-posix.h |   19 +++
 kernel/cobalt/trace/cobalt-rtdm.h  |   19 +++
 4 files changed, 74 insertions(+)

diff --git a/kernel/cobalt/posix/timerfd.h b/kernel/cobalt/posix/timerfd.h
index 82c35d0..5787ff6 100644
--- a/kernel/cobalt/posix/timerfd.h
+++ b/kernel/cobalt/posix/timerfd.h
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2014 Gilles Chanteperdrix .
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
 #ifndef TIMERFD_H
 #define TIMERFD_H
 
diff --git a/kernel/cobalt/trace/cobalt-core.h 
b/kernel/cobalt/trace/cobalt-core.h
index b0035e3..dc23588 100644
--- a/kernel/cobalt/trace/cobalt-core.h
+++ b/kernel/cobalt/trace/cobalt-core.h
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2014 Jan Kiszka .
+ * Copyright (C) 2014 Philippe Gerum .
+ *
+ * Xenomai is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published
+ * by the Free Software Foundation; either version 2 of the License,
+ * or (at your option) any later version.
+ *
+ * Xenomai is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Xenomai; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM cobalt-core
 
diff --git a/kernel/cobalt/trace/cobalt-posix.h 
b/kernel/cobalt/trace/cobalt-posix.h
index 66ebbe8..2382615 100644
--- a/kernel/cobalt/trace/cobalt-posix.h
+++ b/kernel/cobalt/trace/cobalt-posix.h
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2014 Jan Kiszka .
+ * Copyright (C) 2014 Philippe Gerum .
+ *
+ * Xenomai is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published
+ * by the Free Software Foundation; either version 2 of the License,
+ * or (at your option) any later version.
+ *
+ * Xenomai is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Xenomai; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM cobalt-posix
 
diff --git a/kernel/cobalt/trace/cobalt-rtdm.h 
b/kernel/cobalt/trace/cobalt-rtdm.h
index e687f0c..bef2d2c 100644
--- a/kernel/cobalt/trace/cobalt-rtdm.h
+++ b/kernel/cobalt/trace/cobalt-rtdm.h
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2014 Jan Kiszka .
+ * Copyright (C) 2014 Philippe Gerum .
+ *
+ * Xenomai is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published
+ * by the Free Software Foundation; either version 2 of the License,
+ * or (at your option) any later version.
+ *
+ * Xenomai is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Xenomai; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM cobalt-rtdm
 


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : testsuite: add missing licensing terms

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 71b879409cf47203c40b81d01269026ab44b2de9
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=71b879409cf47203c40b81d01269026ab44b2de9

Author: Philippe Gerum 
Date:   Thu Jun 18 11:10:29 2015 +0200

testsuite: add missing licensing terms

---

 testsuite/latency/latency.c|   23 +++
 testsuite/regression/posix/check.h |   22 ++
 testsuite/regression/posix/leaks.c |   22 ++
 testsuite/switchtest/switchtest.c  |   22 ++
 4 files changed, 89 insertions(+)

diff --git a/testsuite/latency/latency.c b/testsuite/latency/latency.c
index 95b5a52..ff86b09 100644
--- a/testsuite/latency/latency.c
+++ b/testsuite/latency/latency.c
@@ -1,3 +1,26 @@
+/*
+ * Copyright (C) 2004-2015 Philippe Gerum 
+ * Copyright (C) 2014 Gilles Chanteperdrix 
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *  
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
 #include 
 #include 
 #include 
diff --git a/testsuite/regression/posix/check.h 
b/testsuite/regression/posix/check.h
index 52f6ada..fac8d87 100644
--- a/testsuite/regression/posix/check.h
+++ b/testsuite/regression/posix/check.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2012 Gilles Chanteperdrix 
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
 #ifndef POSIX_CHECK_H
 #define POSIX_CHECK_H
 
diff --git a/testsuite/regression/posix/leaks.c 
b/testsuite/regression/posix/leaks.c
index c1a727d..4367767 100644
--- a/testsuite/regression/posix/leaks.c
+++ b/testsuite/regression/posix/leaks.c
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2012 Gilles Chanteperdrix 
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
 #include 
 #include 
 #include 
diff --git a/testsuite/switchtest/switchtest.c 
b/testsuite/switchtest/switchtest.c
index 5c5d6ae..2df927e 100644
--- a/testsuite/switchtest/switchtest.c
+++ b/testsuite/switchte

[Xenomai-git] Philippe Gerum : copperplate/reference: register function exports at early init

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: e4c758029abd021acc4bf572d8677d4deee1da48
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e4c758029abd021acc4bf572d8677d4deee1da48

Author: Philippe Gerum 
Date:   Tue Jun 16 16:36:37 2015 +0200

copperplate/reference: register function exports at early init

---

 include/copperplate/reference.h |3 ++-
 lib/copperplate/reference.c |8 
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/include/copperplate/reference.h b/include/copperplate/reference.h
index 0a5e3b2..8f6f76c 100644
--- a/include/copperplate/reference.h
+++ b/include/copperplate/reference.h
@@ -20,6 +20,7 @@
 
 #include 
 #include 
+#include 
 
 #define libcopperplate_tag  0  /* Library tag - unique and constant. */
 #define libcopperplate_cbi  1  /* Callback binary interface level. */
@@ -69,7 +70,7 @@ static inline int __fnref_nofn(void *fnaddr)
 #define fnref_get(v, r)((v) = (r) < 0 ? NULL : __refchk(v, r))
 #define fnref_register(l, s)   \
int __refvar(l, s); \
-   static void __attribute__ ((constructor)) __ifnref_ ## s(void)  \
+   static void __early_ctor __ifnref_ ## s(void)   \
{   \
__refvar(l, s) = __fnref_register(#l, l ## _tag,\
  l ## _cbi,\
diff --git a/lib/copperplate/reference.c b/lib/copperplate/reference.c
index 32d35d8..09b845e 100644
--- a/lib/copperplate/reference.c
+++ b/lib/copperplate/reference.c
@@ -38,13 +38,13 @@ int __fnref_register(const char *libname,
int pos;
 
if ((unsigned int)libtag >= MAX_FNLIBS)
-   panic("reference table overflow for library %s",
- libname);
+   early_panic("reference table overflow for library %s",
+   libname);
 
pos = nrefs[libtag]++;
if (pos >= MAX_FNREFS)
-   panic("too many function references in library %s (> %d)",
- libname, MAX_FNREFS);
+   early_panic("too many function references in library %s (> %d)",
+   libname, MAX_FNREFS);
 
assert(__fnrefs[libtag][pos].fn == NULL);
__fnrefs[libtag][pos].fn = fn;


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : utils/analogy: add missing licensing terms

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 708f1fa4f79639e7e96fa2c98945a8f822159597
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=708f1fa4f79639e7e96fa2c98945a8f822159597

Author: Philippe Gerum 
Date:   Thu Jun 18 17:31:39 2015 +0200

utils/analogy: add missing licensing terms

---

 utils/analogy/wf_facilities.c |   20 
 utils/analogy/wf_facilities.h |   20 
 2 files changed, 40 insertions(+)

diff --git a/utils/analogy/wf_facilities.c b/utils/analogy/wf_facilities.c
index 550108f..2281bcf 100644
--- a/utils/analogy/wf_facilities.c
+++ b/utils/analogy/wf_facilities.c
@@ -1,3 +1,23 @@
+/*
+ * Analogy for Linux, test program for waveform generation
+ *
+ * Copyright (C) 1997-2000 David A. Schleef 
+ * Copyright (C) 2008 Alexis Berlemont 
+ *
+ * Xenomai is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Xenomai is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Xenomai; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
 #include 
 #include 
 #include 
diff --git a/utils/analogy/wf_facilities.h b/utils/analogy/wf_facilities.h
index a1754e4..f3df82f 100644
--- a/utils/analogy/wf_facilities.h
+++ b/utils/analogy/wf_facilities.h
@@ -1,3 +1,23 @@
+/*
+ * Analogy for Linux, test program for waveform generation
+ *
+ * Copyright (C) 1997-2000 David A. Schleef 
+ * Copyright (C) 2008 Alexis Berlemont 
+ *
+ * Xenomai is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Xenomai is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Xenomai; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
 #ifndef __SIGNAL_GENERATION_H__
 #define  __SIGNAL_GENERATION_H__
 


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : kernel, lib, include: add/fixup default license files

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 758a182f92616bdaaa7ef47f97c3d66c258bc497
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=758a182f92616bdaaa7ef47f97c3d66c258bc497

Author: Philippe Gerum 
Date:   Thu Jun 18 17:54:31 2015 +0200

kernel, lib, include: add/fixup default license files

---

 include/COPYING |   60 --
 kernel/cobalt/COPYING   |   60 --
 kernel/cobalt/posix/COPYING |   60 --
 kernel/cobalt/rtdm/COPYING  |   59 --
 lib/analogy/COPYING |   46 -
 lib/boilerplate/COPYING |  458 +++
 lib/cobalt/COPYING  |   46 -
 lib/psos/COPYING|   46 -
 lib/smokey/COPYING  |  458 +++
 lib/trank/COPYING   |  458 +++
 10 files changed, 1374 insertions(+), 377 deletions(-)

diff --git a/include/COPYING b/include/COPYING
index e8b9a53..e6afb50 100644
--- a/include/COPYING
+++ b/include/COPYING
@@ -303,63 +303,3 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN 
ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGES.
 
 END OF TERMS AND CONDITIONS
-
-   How to Apply These Terms to Your New Programs
-
-  If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
-  To do so, attach the following notices to the program.  It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-
-Copyright (C)   
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
-Gnomovision version 69, Copyright (C) year name of author
-Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-This is free software, and you are welcome to redistribute it
-under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License.  Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary.  Here is a sample; alter the names:
-
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
-  `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
-  , 1 April 1989
-  Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs.  If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library.  If this is what you want to do, use the GNU Library General
-Public License instead of this License.
diff --git a/kernel/cobalt/COPYING b/kernel/cobalt/COPYING
index afd5a94..0d72637 100644
--- a/kernel/cobalt/COPYING
+++ b/kernel/cobalt/COPYING
@@ -279,63 +279,3 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN 
ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGES.
 
 END OF TERMS AND CONDITIONS
-
-   How to Apply These Terms to Your New Programs
-
-  If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
-  To do so, attach the following notices to the program.  It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-
-Copyright (C)   
-
-This program is free software; you can redistribute it and/or modif

[Xenomai-git] Philippe Gerum : doc: regenerate documentation

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 2f8dc19b5a1d8c1bcd6ed0975377fec19cfbe808
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2f8dc19b5a1d8c1bcd6ed0975377fec19cfbe808

Author: Philippe Gerum 
Date:   Wed Jun 17 14:46:11 2015 +0200

doc: regenerate documentation

---

 doc/asciidoc/MIGRATION.adoc|4 +-
 doc/asciidoc/README.APPLICATIONS.adoc  |  154 +---
 doc/asciidoc/README.INSTALL.adoc   |   22 +-
 doc/prebuilt/html/MIGRATION/index.html |6 +-
 doc/prebuilt/html/README.APPLICATIONS/index.html   |  197 +
 doc/prebuilt/html/README.INSTALL/index.html|   23 +-
 .../html/TROUBLESHOOTING.COBALT/index.html |2 +-
 .../html/TROUBLESHOOTING.MERCURY/index.html|2 +-
 doc/prebuilt/html/man1/autotune/index.html |7 +-
 .../html/xeno3prm/16550A__io_8h_source.html|2 +-
 .../html/xeno3prm/16550A__pci_8h_source.html   |2 +-
 .../html/xeno3prm/16550A__pnp_8h_source.html   |2 +-
 doc/prebuilt/html/xeno3prm/8255_8h_source.html |2 +-
 doc/prebuilt/html/xeno3prm/af__inet_8h_source.html |2 +-
 .../html/xeno3prm/alchemy_2compat_8h_source.html   |2 +-
 doc/prebuilt/html/xeno3prm/analogy_2driver_8h.html |4 +-
 .../xeno3prm/analogy_2driver_8h__dep__incl.png |  Bin 19969 -> 19941 bytes
 .../html/xeno3prm/analogy_2driver_8h__incl.map |   58 +-
 .../html/xeno3prm/analogy_2driver_8h__incl.md5 |2 +-
 .../html/xeno3prm/analogy_2driver_8h__incl.png |  Bin 341235 -> 271875 
bytes
 .../html/xeno3prm/analogy_2driver_8h_source.html   |2 +-
 doc/prebuilt/html/xeno3prm/analogy_8h.html |2 +-
 .../html/xeno3prm/analogy_8h__dep__incl.png|  Bin 12844 -> 12868 bytes
 doc/prebuilt/html/xeno3prm/analogy_8h__incl.png|  Bin 66400 -> 66461 bytes
 doc/prebuilt/html/xeno3prm/analogy_8h_source.html  |2 +-
 doc/prebuilt/html/xeno3prm/annotated.html  |2 +-
 doc/prebuilt/html/xeno3prm/apc_8h_source.html  |2 +-
 doc/prebuilt/html/xeno3prm/api-tags.html   |2 +-
 ..._2include_2asm_2xenomai_2machine_8h_source.html |2 +-
 ...include_2asm_2xenomai_2syscall32_8h_source.html |2 +-
 ..._2include_2asm_2xenomai_2machine_8h_source.html |2 +-
 ...include_2asm_2xenomai_2syscall32_8h_source.html |2 +-
 ..._2include_2asm_2xenomai_2machine_8h_source.html |2 +-
 ...include_2asm_2xenomai_2syscall32_8h_source.html |2 +-
 ..._2include_2asm_2xenomai_2machine_8h_source.html |2 +-
 ...include_2asm_2xenomai_2syscall32_8h_source.html |2 +-
 ..._2include_2asm_2xenomai_2machine_8h_source.html |2 +-
 ...include_2asm_2xenomai_2syscall32_8h_source.html |2 +-
 ..._2include_2asm_2xenomai_2machine_8h_source.html |2 +-
 ...include_2asm_2xenomai_2syscall32_8h_source.html |2 +-
 ...m_2include_2asm_2xenomai_2fptest_8h_source.html |2 +-
 ...lude_2asm_2xenomai_2uapi_2fptest_8h_source.html |2 +-
 doc/prebuilt/html/xeno3prm/arp_8h_source.html  |2 +-
 doc/prebuilt/html/xeno3prm/assert_8h_source.html   |2 +-
 doc/prebuilt/html/xeno3prm/async_8c.html   |2 +-
 doc/prebuilt/html/xeno3prm/async_8c__incl.png  |  Bin 96234 -> 96323 bytes
 doc/prebuilt/html/xeno3prm/atomic_8h_source.html   |2 +-
 doc/prebuilt/html/xeno3prm/bheap_8h_source.html|2 +-
 ...n_2include_2asm_2xenomai_2fptest_8h_source.html |2 +-
 ...lude_2asm_2xenomai_2uapi_2fptest_8h_source.html |2 +-
 .../boilerplate_2ancillaries_8h_source.html|  149 ++--
 .../html/xeno3prm/boilerplate_2list_8h_source.html |2 +-
 .../html/xeno3prm/boilerplate_2lock_8h_source.html |2 +-
 .../html/xeno3prm/boilerplate_2time_8h_source.html |2 +-
 .../xeno3prm/boilerplate_2tunables_8h_source.html  |  225 +
 doc/prebuilt/html/xeno3prm/bufd_8h_source.html |2 +-
 .../html/xeno3prm/bufp-label_8c-example.html   |6 +-
 .../html/xeno3prm/bufp-readwrite_8c-example.html   |6 +-
 doc/prebuilt/html/xeno3prm/c1e_8h_source.html  |2 +-
 doc/prebuilt/html/xeno3prm/calibration_8c.html |2 +-
 .../html/xeno3prm/calibration_8c__incl.png |  Bin 98676 -> 98751 bytes
 doc/prebuilt/html/xeno3prm/can-rtt_8c-example.html |   25 +-
 doc/prebuilt/html/xeno3prm/channel__range_8h.html  |2 +-
 .../html/xeno3prm/channel__range_8h__dep__incl.png |  Bin 35882 -> 35865 bytes
 .../html/xeno3prm/channel__range_8h__incl.png  |  Bin 4978 -> 4973 bytes
 .../html/xeno3prm/channel__range_8h_source.html|2 +-
 doc/prebuilt/html/xeno3prm/classes.html|2 +-
 doc/prebuilt/html/xeno3prm/clockobj_8h_source.html |  303 +++
 doc/prebuilt/html/xeno3prm/cluster_8h_source.html  |  510 +--
 .../html/xeno3prm/cobalt-core_8h_source.html   |2 +-
 .../html/xeno3prm/cobalt-posix_8h_source.html  |2 +-
 .../html/xeno3prm/cobalt-rtdm_8h_source.html   |2 +-
 .../cobalt_2boilerplate_2limits_8h_source.html |2 +-
 .../cobalt_2boilerpla

[Xenomai-git] Philippe Gerum : config: bump version code

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 32e8425a21a8247e2b48a11d587a74b43ef7a96e
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=32e8425a21a8247e2b48a11d587a74b43ef7a96e

Author: Philippe Gerum 
Date:   Wed Jun 17 14:39:48 2015 +0200

config: bump version code

---

 config/version-code  |2 +-
 config/version-label |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/version-code b/config/version-code
index 04b88ce..e83f86c 100644
--- a/config/version-code
+++ b/config/version-code
@@ -1 +1 @@
-2.99.13
+2.99.14
diff --git a/config/version-label b/config/version-label
index c3c565f..c548b54 100644
--- a/config/version-label
+++ b/config/version-label
@@ -1 +1 @@
-3.0-rc4
+3.0-rc5


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : config: bump UAPI level

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: fb3419e512b2eb67818b5a5f9c9f313bb3b247a8
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=fb3419e512b2eb67818b5a5f9c9f313bb3b247a8

Author: Philippe Gerum 
Date:   Wed Jun 17 14:38:55 2015 +0200

config: bump UAPI level

---

 config/apirev |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/apirev b/config/apirev
index 48082f7..b1bd38b 100644
--- a/config/apirev
+++ b/config/apirev
@@ -1 +1 @@
-12
+13


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : demo/posix/cobalt: add missing licensing terms

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: e8c75d40cae036834c8e37c5c21d1ee6994972da
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=e8c75d40cae036834c8e37c5c21d1ee6994972da

Author: Philippe Gerum 
Date:   Thu Jun 18 17:44:29 2015 +0200

demo/posix/cobalt: add missing licensing terms

---

 demo/posix/cobalt/bufp-label.c |   17 +
 demo/posix/cobalt/bufp-readwrite.c |   17 +
 demo/posix/cobalt/iddp-label.c |   17 +
 demo/posix/cobalt/iddp-sendrecv.c  |   17 +
 demo/posix/cobalt/xddp-echo.c  |   17 +
 demo/posix/cobalt/xddp-label.c |   17 +
 demo/posix/cobalt/xddp-stream.c|   17 +
 7 files changed, 119 insertions(+)

diff --git a/demo/posix/cobalt/bufp-label.c b/demo/posix/cobalt/bufp-label.c
index 09cd549..0b76686 100644
--- a/demo/posix/cobalt/bufp-label.c
+++ b/demo/posix/cobalt/bufp-label.c
@@ -1,4 +1,21 @@
 /*
+ * Copyright (C) 2009 Philippe Gerum .
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
+ *
+ *
  * BUFP-based client/server demo, using the read(2)/write(2)
  * system calls to exchange data over a socket.
  *
diff --git a/demo/posix/cobalt/bufp-readwrite.c 
b/demo/posix/cobalt/bufp-readwrite.c
index a79a0d4..1796e30 100644
--- a/demo/posix/cobalt/bufp-readwrite.c
+++ b/demo/posix/cobalt/bufp-readwrite.c
@@ -1,4 +1,21 @@
 /*
+ * Copyright (C) 2009 Philippe Gerum .
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
+ *
+ *
  * BUFP-based client/server demo, using the read(2)/write(2)
  * system calls to exchange data over a socket.
  *
diff --git a/demo/posix/cobalt/iddp-label.c b/demo/posix/cobalt/iddp-label.c
index 519f169..f4718a4 100644
--- a/demo/posix/cobalt/iddp-label.c
+++ b/demo/posix/cobalt/iddp-label.c
@@ -1,4 +1,21 @@
 /*
+ * Copyright (C) 2009 Philippe Gerum .
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
+ *
+ *
  * IDDP-based client/server demo, using the write(2)/recvfrom(2)
  * system calls to exchange data over a socket.
  *
diff --git a/demo/posix/cobalt/iddp-sendrecv.c 
b/demo/posix/cobalt/iddp-sendrecv.c
index eda48a2..734d474 100644
--- a/demo/posix/cobalt/iddp-sendrecv.c
+++ b/demo/posix/cobalt/iddp-sendrecv.c
@@ -1,4 +1,21 @@
 /*
+ * Copyright (C) 2009 Philippe Gerum .
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General Public
+ * License alon

[Xenomai-git] Philippe Gerum : testsuite/xeno-test: fix clock id for HOST_REALTIME

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 0c43d4844433f2a6b850b97e7dd5f719bf41d29a
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0c43d4844433f2a6b850b97e7dd5f719bf41d29a

Author: Philippe Gerum 
Date:   Thu Jun 18 12:29:01 2015 +0200

testsuite/xeno-test: fix clock id for HOST_REALTIME

---

 testsuite/xeno-test/xeno-test.in |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/xeno-test/xeno-test.in b/testsuite/xeno-test/xeno-test.in
index 8611661..375be10 100644
--- a/testsuite/xeno-test/xeno-test.in
+++ b/testsuite/xeno-test/xeno-test.in
@@ -45,7 +45,7 @@ echo 0 > /proc/xenomai/latency || :
 testdir=@testdir@
 
 $testdir/smokey --run
-$testdir/clocktest -D -T 30 -C 8 || $testdir/clocktest -T 30
+$testdir/clocktest -D -T 30 -C 32 || $testdir/clocktest -T 30
 $testdir/switchtest -T 30
 
 start_load


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : cobalt/x86: upgrade I-pipe support

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 33495190efc40ba470978806104861961c7eb123
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=33495190efc40ba470978806104861961c7eb123

Author: Philippe Gerum 
Date:   Wed Jun 17 17:22:48 2015 +0200

cobalt/x86: upgrade I-pipe support

---

 ...-x86-5.patch => ipipe-core-3.10.32-x86-6.patch} |   12 +-
 ...-x86-8.patch => ipipe-core-3.14.39-x86-9.patch} |  219 +-
 ...7-x86-3.patch => ipipe-core-3.16.7-x86-5.patch} |   74 +-
 .../x86/patches/ipipe-core-3.18.12-x86-1.patch |17122 
 4 files changed, 17274 insertions(+), 153 deletions(-)

Diff:   
http://git.xenomai.org/?p=xenomai-3.git;a=commitdiff;h=33495190efc40ba470978806104861961c7eb123

___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : doc: fix documentation glitches

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: dd920a0c68138e0881fe6184dac8a6a509c5570c
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=dd920a0c68138e0881fe6184dac8a6a509c5570c

Author: Philippe Gerum 
Date:   Wed Jun 17 14:36:35 2015 +0200

doc: fix documentation glitches

---

 doc/doxygen/xeno3prm-common.conf.in |1 +
 kernel/drivers/udd/udd.c|   10 ++
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/doc/doxygen/xeno3prm-common.conf.in 
b/doc/doxygen/xeno3prm-common.conf.in
index bb54a7a..9f3fca9 100644
--- a/doc/doxygen/xeno3prm-common.conf.in
+++ b/doc/doxygen/xeno3prm-common.conf.in
@@ -649,6 +649,7 @@ INCLUDE_FILE_PATTERNS  =
 
 PREDEFINED = DOXYGEN_CPP   \
CONFIG_SMP  \
+"dref_type(T)=opaque"  \
 "EXPORT_SYMBOL_GPL(symbol)=//" \
"COBALT_IMPL(T,I,A)=T I A"  \
"COBALT_DECL(T,P)=T P"  \
diff --git a/kernel/drivers/udd/udd.c b/kernel/drivers/udd/udd.c
index 4ea7f58..d0ca846 100644
--- a/kernel/drivers/udd/udd.c
+++ b/kernel/drivers/udd/udd.c
@@ -571,8 +571,9 @@ static void switch_irq_line(rtdm_irq_t *irqh, int enable, 
rtdm_event_t *done)
  * current CPU leaves the real-time domain (see note). Otherwise, the
  * request is immediately handled.
  *
- * @param irq IRQ line to enable. If no IRQ was registered by the
- * driver at the UDD core, this routine has no effect.
+ * @param udd The UDD driver handling the IRQ to disable. If no IRQ
+ * was registered by the driver at the UDD core, this routine has no
+ * effect.
  *
  * @param done Optional event to signal upon completion. If non-NULL,
  * @a done will be posted by a call to rtdm_event_signal() after the
@@ -604,8 +605,9 @@ EXPORT_SYMBOL_GPL(udd_enable_irq);
  * current CPU leaves the real-time domain (see note). Otherwise, the
  * request is immediately handled.
  *
- * @param irq IRQ line to disable. If no IRQ was registered by the
- * driver at the UDD core, this routine has no effect.
+ * @param udd The UDD driver handling the IRQ to disable. If no IRQ
+ * was registered by the driver at the UDD core, this routine has no
+ * effect.
  *
  * @param done Optional event to signal upon completion. If non-NULL,
  * @a done will be posted by a call to rtdm_event_signal() after the


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git


[Xenomai-git] Philippe Gerum : doc: give pointers about building from sources

2015-06-18 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 1a985e70e8292db5c78f3574ec6faa9bbdae
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1a985e70e8292db5c78f3574ec6faa9bbdae

Author: Philippe Gerum 
Date:   Thu Jun 18 09:55:32 2015 +0200

doc: give pointers about building from sources

---

 README |   44 
 1 file changed, 36 insertions(+), 8 deletions(-)

diff --git a/README b/README
index 71f8287..019b58d 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@
 Where to start from?
 
 
-http://xenomai.org/start-here/ is the best place to start learning
+https://xenomai.org/start-here/ is the best place to start learning
 about Xenomai 3.
 
 Built-in documentation
@@ -24,10 +24,38 @@ Online documentation
 The online version of the documentation is available from our website
 for the current release:
 
-http://xenomai.org/installing-xenomai-3-x/
-http://xenomai.org/building-applications-with-xenomai-3-x/
-http://xenomai.org/running-applications-with-xenomai-3-x/
-http://xenomai.org/migrating-from-xenomai-2-x-to-3-x/
-http://xenomai.org/documentation/xenomai-3/html/xeno3prm/index.html
-http://xenomai.org/troubleshooting-a-dual-kernel-configuration/
-http://xenomai.org/troubleshooting-a-single-kernel-configuration/
+https://xenomai.org/installing-xenomai-3-x/
+https://xenomai.org/building-applications-with-xenomai-3-x/
+https://xenomai.org/running-applications-with-xenomai-3-x/
+https://xenomai.org/migrating-from-xenomai-2-x-to-3-x/
+https://xenomai.org/documentation/xenomai-3/html/xeno3prm/index.html
+https://xenomai.org/troubleshooting-a-dual-kernel-configuration/
+https://xenomai.org/troubleshooting-a-single-kernel-configuration/
+
+Building from sources
+=
+
+Detailed instructions for building from sources are available at:
+https://xenomai.org/installing-xenomai-3-x/
+
+- GIT clone:
+
+  git://git.xenomai.org/xenomai-3.git
+  https://git.xenomai.org/xenomai-3.git
+  http://git.xenomai.org/xenomai-3.git
+
+  Once the repository is cloned, make sure to bootstrap the autoconf
+  system in the top-level directory by running script/bootstrap.  In
+  order to do this, you will need the GNU autotools installed on your
+  workstation.
+
+  If you intend to update the Xenomai code base, you may want to pass
+  --enable-maintainer-mode to the configure script for building, so
+  that autoconf/automake output files are automatically regenerated at
+  the next (re)build in case the corresponding templates have changed.
+
+- Tarballs:
+
+  http://download.gna.org/xenomai/
+
+  Source tarballs are self-contained and ready for building.


___
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git