Module: xenomai-3 Branch: stable-3.0.x Commit: d24dc64cfbf8a6de2e5967879c24025b88131bc1 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d24dc64cfbf8a6de2e5967879c24025b88131bc1
Author: Philippe Gerum <r...@xenomai.org> Date: Thu Apr 5 09:00:47 2018 +0200 doc/man: xeno-config: rephrase auto-init documentation --- doc/asciidoc/man1/xeno-config.adoc | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/doc/asciidoc/man1/xeno-config.adoc b/doc/asciidoc/man1/xeno-config.adoc index 14acc67..81f67ad 100644 --- a/doc/asciidoc/man1/xeno-config.adoc +++ b/doc/asciidoc/man1/xeno-config.adoc @@ -86,8 +86,8 @@ POSIX API. [NOTE] *--native* and *--skin=native* are accepted for backward compatibility -purpose. They are stricly equivalent as passing *--alchemy --compat*. -Likewise, passing *--rtdm* or *--skin=rtdm* is stricly equivalent as +purpose. They are stricly equivalent to passing *--alchemy --compat*. +Likewise, passing *--rtdm* or *--skin=rtdm* is stricly equivalent to passing *--posix*, enabling POSIX I/O routines to be wrapped to their respective Xenomai implementation. @@ -118,17 +118,17 @@ Xenomai libraries. *--auto-init*:: *--no-auto-init*:: -All Xenomai APIs but POSIX are based on the Copperplate library, which -automatically initializes when the application process -starts. *--no-auto-init* can be passed to disable such -initialization. In such a case, the application code shall call the -+copperplate_init()+ routine manually, as part of its initialization -chores on behalf on the +main()+ routine, *before* any real-time -service is invoked. - -This flag makes sense when passed along with --ldflags -only. *xeno-config* enables the Copperplate auto-init feature by -default. +By default, a process started from an executable linked with flags +returned by *xeno-config --ldflags* performs Xenomai-related inits +automatically, before the +main()+ routine is entered. + +Building with *--no-auto-init* disables such initialization. In this +case, the application code shall call the +xenomai_init()+ routine +manually, as part of its initialization chores on behalf on the ++main()+ routine, *before* any real-time service is invoked. See ++include/xenomai/init.h+. + +NOTE: This flag only makes sense when passed along with --ldflags. *--mode-check*:: *--no-mode-check*:: _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git