[Xenomai-git] Philippe Gerum : alchemy/testsuite/task-2: drop extraneous tracepoint
Module: xenomai-3 Branch: next Commit: 1ee43d631473686d7424ebcc053b1f6cf79631e5 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=1ee43d631473686d7424ebcc053b1f6cf79631e5 Author: Philippe Gerum r...@xenomai.org Date: Sun Jun 21 12:26:52 2015 +0200 alchemy/testsuite/task-2: drop extraneous tracepoint --- lib/alchemy/testsuite/task-2.c |2 -- 1 file changed, 2 deletions(-) diff --git a/lib/alchemy/testsuite/task-2.c b/lib/alchemy/testsuite/task-2.c index fd01f64..e751ddd 100644 --- a/lib/alchemy/testsuite/task-2.c +++ b/lib/alchemy/testsuite/task-2.c @@ -31,8 +31,6 @@ static void background_task(void *arg) while (--safety 0) count++; - traceobj_mark(trobj, 3); - traceobj_exit(trobj); } ___ Xenomai-git mailing list Xenomai-git@xenomai.org http://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : testsuite/smokey: convert progress messages to smokey traces
Module: xenomai-3 Branch: next Commit: 7ed693c136e204f4723598e050cd82d7cf244a84 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=7ed693c136e204f4723598e050cd82d7cf244a84 Author: Philippe Gerum r...@xenomai.org Date: Sun Jun 21 11:52:39 2015 +0200 testsuite/smokey: convert progress messages to smokey traces --- testsuite/smokey/bufp/bufp.c |4 ++-- testsuite/smokey/iddp/iddp.c |4 ++-- testsuite/smokey/posix-cond/posix-cond.c | 26 +++--- testsuite/smokey/posix-mutex/posix-mutex.c | 32 ++-- testsuite/smokey/rtdm/rtdm.c | 18 testsuite/smokey/sched-quota/sched-quota.c | 12 +-- testsuite/smokey/sched-tp/sched-tp.c | 16 +++--- testsuite/smokey/sigdebug/sigdebug.c |6 +++--- testsuite/smokey/vdso-access/vdso-access.c |4 ++-- testsuite/smokey/xddp/xddp.c |6 +++--- 10 files changed, 64 insertions(+), 64 deletions(-) diff --git a/testsuite/smokey/bufp/bufp.c b/testsuite/smokey/bufp/bufp.c index 638cde9..4705ee1 100644 --- a/testsuite/smokey/bufp/bufp.c +++ b/testsuite/smokey/bufp/bufp.c @@ -84,7 +84,7 @@ static void *server(void *arg) fail(recvfrom); } smokey_trace(%s: received %d bytes, %ld from port %d, -__FUNCTION__, ret, data, claddr.sipc_port); +__func__, ret, data, claddr.sipc_port); } return NULL; @@ -123,7 +123,7 @@ static void *client(void *arg) close(s); fail(sendto); } - smokey_trace(%s: sent %d bytes, %ld, __FUNCTION__, ret, data); + smokey_trace(%s: sent %d bytes, %ld, __func__, ret, data); ts.tv_sec = 0; ts.tv_nsec = 1; /* 100 ms */ clock_nanosleep(CLOCK_REALTIME, 0, ts, NULL); diff --git a/testsuite/smokey/iddp/iddp.c b/testsuite/smokey/iddp/iddp.c index ccc4ea4..2117e31 100644 --- a/testsuite/smokey/iddp/iddp.c +++ b/testsuite/smokey/iddp/iddp.c @@ -84,7 +84,7 @@ static void *server(void *arg) fail(recvfrom); } smokey_trace(%s: received %d bytes, %ld from port %d, -__FUNCTION__, ret, data, claddr.sipc_port); +__func__, ret, data, claddr.sipc_port); } return NULL; @@ -127,7 +127,7 @@ static void *client(void *arg) close(s); fail(sendto); } - smokey_trace(%s: sent %d bytes, %ld, __FUNCTION__, ret, data); + smokey_trace(%s: sent %d bytes, %ld, __func__, ret, data); ts.tv_sec = 0; ts.tv_nsec = 1; /* 100 ms */ clock_nanosleep(CLOCK_REALTIME, 0, ts, NULL); diff --git a/testsuite/smokey/posix-cond/posix-cond.c b/testsuite/smokey/posix-cond/posix-cond.c index cd5c922..cea2516 100644 --- a/testsuite/smokey/posix-cond/posix-cond.c +++ b/testsuite/smokey/posix-cond/posix-cond.c @@ -162,12 +162,12 @@ static void check_inner(const char *file, int line, const char *fn, const char * exit(EXIT_FAILURE); } #define check(msg, status, expected) \ - check_inner(__FILE__, __LINE__, __FUNCTION__, msg, status, expected) + check_inner(__FILE__, __LINE__, __func__, msg, status, expected) #define check_unix(msg, status, expected) \ ({ \ int s = (status); \ - check_inner(__FILE__, __LINE__, __FUNCTION__, msg, s 0 ? -errno : s, expected); \ + check_inner(__FILE__, __LINE__, __func__, msg, s 0 ? -errno : s, expected); \ }) static void check_sleep_inner(const char *fn, @@ -182,7 +182,7 @@ static void check_sleep_inner(const char *fn, } } #define check_sleep(prefix, start) \ - check_sleep_inner(__FUNCTION__, prefix, start) + check_sleep_inner(__func__, prefix, start) struct cond_mutex { pthread_mutex_t *mutex; @@ -216,7 +216,7 @@ static void simple_condwait(void) }; pthread_t cond_signaler_tid; - fprintf(stderr, %s\n, __FUNCTION__); + smokey_trace(%s, __func__); check(mutex_init, mutex_init(mutex, PTHREAD_MUTEX_DEFAULT, 0), 0); check(cond_init, cond_init(cond, 0), 0); @@ -241,7 +241,7 @@ static void relative_condwait(void) pthread_mutex_t mutex; pthread_cond_t cond; - fprintf(stderr, %s\n, __FUNCTION__); + smokey_trace(%s, __func__); check(mutex_init, mutex_init(mutex, PTHREAD_MUTEX_DEFAULT, 0), 0); check(cond_init, cond_init(cond, 0), 0); @@ -264,7 +264,7 @@ static void absolute_condwait(void) pthread_mutex_t mutex;
[Xenomai-git] Jan Kiszka : cobalt/kernel: Simplify mayday processing
Module: xenomai-jki Branch: for-forge Commit: 2b80d183f68ce5aa0d2b452bd1e87d151e72a986 URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=2b80d183f68ce5aa0d2b452bd1e87d151e72a986 Author: Jan Kiszka jan.kis...@siemens.com Date: Sun Jun 21 12:34:08 2015 +0200 cobalt/kernel: Simplify mayday processing The mayday exist in order to kick a xenomai userspace task into secondary mode while it is running userspace code. For that we ask I-pipe to call us back when the task was interrupted and is about to return to userspace. So far we defer the relaxation from that callback via a VDSO-like mechanism that triggers a special syscall to the return path of that syscall. However, that is not desirable because it is a complex, arch-specific mechanism that may easily break and that destroys the backtrace of ptraced tasks. Fortunately, we can fulfill the needs of mayday also by relaxing the task directly from that mayday callback. Tested successfully on x86-64 and ARM, other archs require validation. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- include/cobalt/kernel/ppd.h|1 - kernel/cobalt/arch/arm/Makefile|2 +- .../cobalt/arch/arm/include/asm/xenomai/thread.h | 10 - kernel/cobalt/arch/arm/mayday.c| 146 -- kernel/cobalt/arch/blackfin/Makefile |2 +- .../arch/blackfin/include/asm/xenomai/thread.h |5 - kernel/cobalt/arch/blackfin/mayday.c | 112 --- kernel/cobalt/arch/nios2/Makefile |2 +- .../cobalt/arch/nios2/include/asm/xenomai/thread.h |5 - kernel/cobalt/arch/nios2/mayday.c | 95 - kernel/cobalt/arch/powerpc/Makefile|2 +- .../arch/powerpc/include/asm/xenomai/thread.h |4 - kernel/cobalt/arch/powerpc/mayday.c| 91 - kernel/cobalt/arch/sh/Makefile |2 +- kernel/cobalt/arch/sh/include/asm/xenomai/thread.h |4 - kernel/cobalt/arch/sh/mayday.c | 99 - kernel/cobalt/arch/x86/Makefile|2 +- .../cobalt/arch/x86/include/asm/xenomai/thread.h |4 - kernel/cobalt/arch/x86/mayday.c| 212 kernel/cobalt/include/asm-generic/xenomai/mayday.h | 39 kernel/cobalt/posix/process.c | 47 + kernel/cobalt/posix/syscall.c | 31 --- kernel/cobalt/thread.c |1 - 23 files changed, 8 insertions(+), 910 deletions(-) diff --git a/include/cobalt/kernel/ppd.h b/include/cobalt/kernel/ppd.h index 5eabd1d..f0079fe 100644 --- a/include/cobalt/kernel/ppd.h +++ b/include/cobalt/kernel/ppd.h @@ -32,7 +32,6 @@ struct cobalt_umm { struct cobalt_ppd { struct cobalt_umm umm; - unsigned long mayday_tramp; atomic_t refcnt; char *exe_path; struct rb_root fds; diff --git a/kernel/cobalt/arch/arm/Makefile b/kernel/cobalt/arch/arm/Makefile index f2e4e20..f182435 100644 --- a/kernel/cobalt/arch/arm/Makefile +++ b/kernel/cobalt/arch/arm/Makefile @@ -1,5 +1,5 @@ obj-$(CONFIG_XENOMAI) += xenomai.o -xenomai-y := machine.o mayday.o thread.o switch.o syscall.o +xenomai-y := machine.o thread.o switch.o syscall.o ccflags-y := -Iarch/arm/xenomai/include -Iinclude/xenomai diff --git a/kernel/cobalt/arch/arm/include/asm/xenomai/thread.h b/kernel/cobalt/arch/arm/include/asm/xenomai/thread.h index 3d8e699..304a059 100644 --- a/kernel/cobalt/arch/arm/include/asm/xenomai/thread.h +++ b/kernel/cobalt/arch/arm/include/asm/xenomai/thread.h @@ -37,16 +37,6 @@ struct xnarchtcb { #define xnarch_fpu_ptr(tcb) NULL #endif #endif - struct { - unsigned long pc; - unsigned long r0; -#ifdef __ARM_EABI__ - unsigned long r7; -#endif -#ifdef CONFIG_ARM_THUMB - unsigned long psr; -#endif - } mayday; }; #define xnarch_fault_regs(d) ((d)-regs) diff --git a/kernel/cobalt/arch/arm/mayday.c b/kernel/cobalt/arch/arm/mayday.c deleted file mode 100644 index 20e4559..000 --- a/kernel/cobalt/arch/arm/mayday.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Copyright (C) 2010 Philippe Gerum r...@xenomai.org. - * - * 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 - *
[Xenomai-git] Philippe Gerum : doc: regenerate documentation
Module: xenomai-3 Branch: next Commit: f3bc0cc69089f4b726cab9e6abfe40414c0b5c7c URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f3bc0cc69089f4b726cab9e6abfe40414c0b5c7c Author: Philippe Gerum r...@xenomai.org Date: Sun Jun 21 16:00:02 2015 +0200 doc: regenerate documentation --- doc/prebuilt/html/MIGRATION/index.html |2 +- doc/prebuilt/html/README.APPLICATIONS/index.html |2 +- doc/prebuilt/html/README.INSTALL/index.html|2 +- .../html/TROUBLESHOOTING.COBALT/index.html |2 +- .../html/TROUBLESHOOTING.MERCURY/index.html|2 +- .../html/xeno3prm/bufp-label_8c-example.html | 21 +- .../html/xeno3prm/bufp-readwrite_8c-example.html | 21 +- doc/prebuilt/html/xeno3prm/cluster_8h_source.html |4 +- .../html/xeno3prm/cobalt-core_8h_source.html | 1131 ++-- .../html/xeno3prm/cobalt-posix_8h_source.html | 1901 ++-- .../html/xeno3prm/cobalt-rtdm_8h_source.html | 963 +- doc/prebuilt/html/xeno3prm/globals_eval.html |8 +- doc/prebuilt/html/xeno3prm/globals_i.html |8 +- .../html/xeno3prm/group__alchemy__heap.html|8 +- .../html/xeno3prm/group__alchemy__pipe.html|2 +- doc/prebuilt/html/xeno3prm/group__rtdm__ipc.html | 34 +- doc/prebuilt/html/xeno3prm/group__rtdm__ipc.js |8 +- doc/prebuilt/html/xeno3prm/group__smokey.html |8 +- doc/prebuilt/html/xeno3prm/heapobj_8h_source.html | 823 - .../html/xeno3prm/iddp-label_8c-example.html | 21 +- .../html/xeno3prm/iddp-sendrecv_8c-example.html| 21 +- .../xeno3prm/include_2alchemy_2heap_8h_source.html | 138 +- .../include_2cobalt_2kernel_2clock_8h_source.html |6 +- .../include_2copperplate_2reference_8h_source.html | 157 +- .../kernel_2cobalt_2posix_2timerfd_8h_source.html | 67 +- doc/prebuilt/html/xeno3prm/navtreeindex5.js| 16 +- doc/prebuilt/html/xeno3prm/rtdm_2uapi_2ipc_8h.html | 12 +- doc/prebuilt/html/xeno3prm/rtdm_2uapi_2ipc_8h.js |8 +- .../html/xeno3prm/rtdm_2uapi_2ipc_8h_source.html | 16 +- doc/prebuilt/html/xeno3prm/scope_8h_source.html|2 +- doc/prebuilt/html/xeno3prm/search/search.idx | Bin 1351883 - 1352886 bytes doc/prebuilt/html/xeno3prm/smokey_8h_source.html | 101 +- .../html/xeno3prm/structRT__HEAP__INFO.html| 44 +- .../html/xeno3prm/threadobj_8h_source.html |2 +- .../xeno3prm/trank_2posix_2pthread_8h_source.html |6 +- .../html/xeno3prm/xddp-echo_8c-example.html| 19 +- .../html/xeno3prm/xddp-label_8c-example.html | 21 +- .../html/xeno3prm/xddp-stream_8c-example.html | 19 +- doc/prebuilt/man/man1/dohell.1 |4 +- doc/prebuilt/man/man1/xeno-test.1 |4 +- doc/prebuilt/pdf/MIGRATION.pdf | Bin 222324 - 222324 bytes doc/prebuilt/pdf/README.APPLICATIONS.pdf | Bin 79327 - 79327 bytes doc/prebuilt/pdf/README.INSTALL.pdf| Bin 180149 - 180149 bytes doc/prebuilt/pdf/TROUBLESHOOTING.COBALT.pdf| Bin 139168 - 139168 bytes doc/prebuilt/pdf/TROUBLESHOOTING.MERCURY.pdf | Bin 37717 - 37717 bytes doc/prebuilt/pdf/xeno3prm.pdf | Bin 2056059 - 2059776 bytes 46 files changed, 2955 insertions(+), 2679 deletions(-) Diff: http://git.xenomai.org/?p=xenomai-3.git;a=commitdiff;h=f3bc0cc69089f4b726cab9e6abfe40414c0b5c7c ___ Xenomai-git mailing list Xenomai-git@xenomai.org http://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : copperplate/heapobj-malloc: fix usage tracking
Module: xenomai-3 Branch: next Commit: a6cdfb8578868e3def6341aeda8dd6989e770d4b URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a6cdfb8578868e3def6341aeda8dd6989e770d4b Author: Philippe Gerum r...@xenomai.org Date: Sun Jun 21 12:13:53 2015 +0200 copperplate/heapobj-malloc: fix usage tracking --- lib/copperplate/heapobj-malloc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/copperplate/heapobj-malloc.c b/lib/copperplate/heapobj-malloc.c index 9dbed81..88a720b 100644 --- a/lib/copperplate/heapobj-malloc.c +++ b/lib/copperplate/heapobj-malloc.c @@ -146,10 +146,10 @@ void pvheapobj_free(struct heapobj *hobj, void *ptr) struct pool_header *ph = hobj-priv.pool; assert(hobj-size = bh-size); - __STD(free(bh)); write_lock(ph-lock); ph-used -= bh-size; write_unlock(ph-lock); + __STD(free(bh)); } size_t pvheapobj_inquire(struct heapobj *hobj) ___ Xenomai-git mailing list Xenomai-git@xenomai.org http://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : smokey/rtdm: detect absence of test module
Module: xenomai-3 Branch: next Commit: d50154878427d295833e073a7bd902cdd49b861f URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d50154878427d295833e073a7bd902cdd49b861f Author: Philippe Gerum r...@xenomai.org Date: Sun Jun 21 12:54:37 2015 +0200 smokey/rtdm: detect absence of test module --- testsuite/smokey/rtdm/rtdm.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testsuite/smokey/rtdm/rtdm.c b/testsuite/smokey/rtdm/rtdm.c index e22b78c..2c035c0 100644 --- a/testsuite/smokey/rtdm/rtdm.c +++ b/testsuite/smokey/rtdm/rtdm.c @@ -78,10 +78,13 @@ static int run_rtdm(struct smokey_test *t, int argc, char *const argv[]) unsigned long long start; int dev, dev2, status; - status = system(modprobe xeno_rtdmtest); + status = system(modprobe -q xeno_rtdmtest); if (status 0 || WEXITSTATUS(status)) return -ENOSYS; + if (access(devname, 0) 0 errno == ENOENT) + return -ENOSYS; + smokey_trace(Setup); dev = check_no_error(open, open(devname, O_RDWR)); ___ Xenomai-git mailing list Xenomai-git@xenomai.org http://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : alchemy/testsuite: use traceobj_check() when applicable
Module: xenomai-3 Branch: next Commit: f3500a21faaed3b0bafa11456684b939f8738c15 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f3500a21faaed3b0bafa11456684b939f8738c15 Author: Philippe Gerum r...@xenomai.org Date: Sun Jun 21 12:25:03 2015 +0200 alchemy/testsuite: use traceobj_check() when applicable --- lib/alchemy/testsuite/alarm-1.c | 14 ++--- lib/alchemy/testsuite/buffer-1.c | 16 +++ lib/alchemy/testsuite/event-1.c | 28 +- lib/alchemy/testsuite/heap-1.c | 36 +- lib/alchemy/testsuite/heap-2.c | 24 +++ lib/alchemy/testsuite/mq-1.c | 30 ++-- lib/alchemy/testsuite/mq-2.c | 10 +- lib/alchemy/testsuite/mq-3.c | 16 +++ lib/alchemy/testsuite/mutex-1.c | 38 ++-- lib/alchemy/testsuite/pipe-1.c | 12 ++-- lib/alchemy/testsuite/sem-1.c| 40 +++--- lib/alchemy/testsuite/sem-2.c| 12 ++-- lib/alchemy/testsuite/task-1.c |4 ++-- lib/alchemy/testsuite/task-10.c | 14 ++--- lib/alchemy/testsuite/task-2.c | 20 +-- lib/alchemy/testsuite/task-3.c | 20 +-- lib/alchemy/testsuite/task-4.c | 22 ++--- lib/alchemy/testsuite/task-5.c | 22 ++--- lib/alchemy/testsuite/task-6.c | 10 +- lib/alchemy/testsuite/task-7.c | 20 +-- lib/alchemy/testsuite/task-8.c | 16 +++ lib/alchemy/testsuite/task-9.c | 16 +++ 22 files changed, 220 insertions(+), 220 deletions(-) diff --git a/lib/alchemy/testsuite/alarm-1.c b/lib/alchemy/testsuite/alarm-1.c index 6f62e59..29b3bbe 100644 --- a/lib/alchemy/testsuite/alarm-1.c +++ b/lib/alchemy/testsuite/alarm-1.c @@ -27,10 +27,10 @@ static void alarm_handler(void *arg) if (++hits = 3) { ret = rt_alarm_stop(alrm); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); traceobj_mark(trobj, 2); ret = rt_task_resume(t_main); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); traceobj_mark(trobj, 3); return; } @@ -51,17 +51,17 @@ static void main_task(void *arg) traceobj_mark(trobj, 5); ret = rt_alarm_start(alrm, 2ULL, 2ULL); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); traceobj_mark(trobj, 6); ret = rt_task_suspend(t_main); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); traceobj_mark(trobj, 7); ret = rt_alarm_delete(alrm); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); traceobj_exit(trobj); } @@ -73,10 +73,10 @@ int main(int argc, char *const argv[]) traceobj_init(trobj, argv[0], sizeof(tseq) / sizeof(int)); ret = rt_alarm_create(alrm, ALARM, alarm_handler, alrm); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); ret = rt_task_spawn(t_main, main_task, 0, 50, 0, main_task, NULL); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); traceobj_mark(trobj, 8); diff --git a/lib/alchemy/testsuite/buffer-1.c b/lib/alchemy/testsuite/buffer-1.c index 49a439f..d6d1d9a 100644 --- a/lib/alchemy/testsuite/buffer-1.c +++ b/lib/alchemy/testsuite/buffer-1.c @@ -79,28 +79,28 @@ int main(int argc, char *const argv[]) traceobj_init(trobj, argv[0], 0); ret = rt_buffer_create(buffer, NULL, 2, B_FIFO); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); ret = rt_task_shadow(NULL, main_task, 30, 0); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); ret = rt_task_create(t_fgnd, FGND, 0, 20, 0); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); ret = rt_task_start(t_fgnd, foreground_task, NULL); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); ret = rt_task_create(t_bgnd, BGND, 0, 10, 0); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); ret = rt_task_start(t_bgnd, background_task, NULL); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); ret = rt_task_sleep(15ULL); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); ret = rt_buffer_delete(buffer); - traceobj_assert(trobj, ret == 0); + traceobj_check(trobj, ret, 0); traceobj_join(trobj); diff --git a/lib/alchemy/testsuite/event-1.c b/lib/alchemy/testsuite/event-1.c index 042281d..fdf9627 100644 ---
[Xenomai-git] Philippe Gerum : doc/prebuild: serialize asciidoc icons/ callouts generation
Module: xenomai-3 Branch: next Commit: cef4eed900688b719cc8d698f11218407c280407 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cef4eed900688b719cc8d698f11218407c280407 Author: Philippe Gerum r...@xenomai.org Date: Sun Jun 21 15:59:34 2015 +0200 doc/prebuild: serialize asciidoc icons/callouts generation --- doc/asciidoc/Makefile.am |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/asciidoc/Makefile.am b/doc/asciidoc/Makefile.am index 8276e1e..d51d77a 100644 --- a/doc/asciidoc/Makefile.am +++ b/doc/asciidoc/Makefile.am @@ -107,12 +107,16 @@ $(tmpdir)/%.txt: %.adoc Makefile plaintext.conf plaintext.xsl %.txt: $(tmpdir)/%.txt Makefile plaintext_postproc.awk awk -f $(srcdir)/plaintext_postproc.awk $(tmpdir)/$*.txt $@ -html/asciidoc-icons html/asciidoc-icons/callouts: +html/asciidoc-icons: @$(RM) -R asciidoc-icons @test -d /usr/share/asciidoc/images \ cp -a /usr/share/asciidoc/images/icons html/asciidoc-icons || \ cp -a /usr/share/asciidoc/icons html/asciidoc-icons +html/asciidoc-icons/callouts: html/asciidoc-icons + +.PHONY: html/asciidoc-icons + endif include $(top_srcdir)/doc/install-dist.rules ___ Xenomai-git mailing list Xenomai-git@xenomai.org http://xenomai.org/mailman/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : alchemy/heap: document rounding of large block sizes
Module: xenomai-3 Branch: next Commit: dec31a18e8aba5cb46262716991f6e944c242de4 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=dec31a18e8aba5cb46262716991f6e944c242de4 Author: Philippe Gerum r...@xenomai.org Date: Sun Jun 21 12:48:09 2015 +0200 alchemy/heap: document rounding of large block sizes --- lib/alchemy/heap.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/lib/alchemy/heap.c b/lib/alchemy/heap.c index 79de42b..20531e3 100644 --- a/lib/alchemy/heap.c +++ b/lib/alchemy/heap.c @@ -407,6 +407,13 @@ out: * * @apitags{xthread-nowait, switch-primary} * + * @note If shared multi-processing is enabled (i.e. --enable-pshared + * was passed to the configure script), requests for a block size + * larger than twice the allocation page size are rounded up to the + * next page size. The allocation page size is currently 512 bytes + * long (HOBJ_PAGE_SIZE), which means that any request larger than 1k + * will be rounded up to the next 512 byte boundary. + * * @note @a abs_timeout is interpreted as a multiple of the Alchemy * clock resolution (see --alchemy-clock-resolution option, defaults * to 1 nanosecond). ___ Xenomai-git mailing list Xenomai-git@xenomai.org http://xenomai.org/mailman/listinfo/xenomai-git