doc: Fix typos and grammar
cover doc: Fix typos and grammar
Hello,
this patch set fixes mistakes I found by running hunspell etc. on the doc/ directory.
Simon Graber (2):
doc: Fix typos
doc: Fix grammar
doc/asciidoc/MIGRATION.adoc | 14 +++++++------- doc/asciidoc/README.INSTALL.adoc | 14 +++++++------- doc/asciidoc/TROUBLESHOOTING.COBALT.adoc | 12 ++++++------ doc/asciidoc/man1/gpiobench.adoc | 4 ++-- doc/asciidoc/man1/slackspot.adoc | 2 +- doc/asciidoc/man1/xeno-config.adoc | 2 +- doc/doxygen/xeno3prm-common.conf.in | 8 ++++---- doc/doxygen/xeno3prm-html.conf.in | 4 ++-- doc/doxygen/xeno3prm-latex.conf.in | 2 +- 9 files changed, 31 insertions(+), 31 deletions(-)
Signature · 1 line
2.46.0
PATCH 1/2 doc: Fix typos
--- doc/asciidoc/README.INSTALL.adoc | 10 +++++----- doc/asciidoc/TROUBLESHOOTING.COBALT.adoc | 6 +++--- doc/asciidoc/man1/gpiobench.adoc | 4 ++-- doc/asciidoc/man1/slackspot.adoc | 2 +- doc/doxygen/xeno3prm-common.conf.in | 8 ++++---- doc/doxygen/xeno3prm-html.conf.in | 4 ++-- doc/doxygen/xeno3prm-latex.conf.in | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-)
doc/asciidoc/README.INSTALL.adoc +5 -5
@@ -68,7 +68,7 @@ $ scripts/prepare-kernel.sh [--linux=<linux-srctree>] kernel tree may be already configured or not, indifferently. This path defaults to $PWD. -`--dovetil`:: specifies the path of the interrupt pipeline (aka Dovetail) +`--dovetail`:: specifies the path of the interrupt pipeline (aka Dovetail) patch to apply against the kernel tree. Suitable patches are available from the project's link:/downloads/dovetail/[download area]. This parameter can be omitted if the Dovetail has already
@@ -425,7 +425,7 @@ Generic configuration options (both cores) CONFIG_FUSE_FS must be enabled in the target kernel. [normal] -When this option is enabled, the system creates a file hierachy at +When this option is enabled, the system creates a file hierarchy at `<user>/<session>/<pid>` under the registry root path, where you can access the internal state of the active real-time objects. The session label is obtained from the --session runtime switch. If no
@@ -550,7 +550,7 @@ client applications are running over a SMP-capable kernel. Turns off the sanity checks performed at application startup by the Xenomai libraries. This option sets a default, which - can later be overriden using the --[no-]sanity options passed + can later be overridden using the --[no-]sanity options passed to a Copperplate-based Xenomai application. Sanity checks are enabled by default when configuring.
@@ -695,7 +695,7 @@ $ make install ------------------------------------------------------------------------------ After installing the build tree (i.e. using "make install"), the -installation root should be populated with the librairies, programs +installation root should be populated with the libraries, programs and header files you can use to build Xenomai-based real-time applications. This directory path defaults to `/usr/xenomai`.
@@ -723,7 +723,7 @@ expected to pass them using the CFLAGS and LDFLAGS variables as demonstrated above, where the AT91RM9200 is based on the ARM920T core, implementing the `armv4` architecture. The following table summarizes the CFLAGS and options which were automatically passed in previous -revisions and which now need to be explicitely passed to configure, +revisions and which now need to be explicitly passed to configure, for the supported SOCs: .ARM configure options and compilation flags
doc/asciidoc/TROUBLESHOOTING.COBALT.adoc +3 -3
@@ -286,7 +286,7 @@ placeholder such as _i586_, for which _rdtsc_ is not available. If your processor does not provide the _rdtsc_ instruction, you have to pass +--disable-x86-tsc+ option to the configure script for -building the user librairies. In this case, Xenomai will provide a +building the user libraries. In this case, Xenomai will provide a (much slower) emulation of the hardware TSC. [NOTE]
@@ -540,7 +540,7 @@ USB legacy mode if set in the same move. hardware acceleration in the X-window server file. With recent versions of X-window, try using the 'fbdev' driver. Install it (Debian package named 'xserver-xorg-video-fbdev' for instance), then -modifiy the +Device+ section to use this driver in +modify the +Device+ section to use this driver in '/etc/X11/xorg.conf', as in: ------------------------------------------------------------------------------- Section "Device"
@@ -548,7 +548,7 @@ Section "Device" Driver "fbdev" EndSection ------------------------------------------------------------------------------- -With olders versions of X-window, keep the existing driver, but +With older versions of X-window, keep the existing driver, but add the following line to the +Device+ section: ------------------------------------------------------------------------------- Option "NoAccel"
doc/asciidoc/man1/gpiobench.adoc +2 -2
@@ -54,12 +54,12 @@ name of pin controller number of gpio pin as output *-i <interrupt-pin>*:: -number of gpin pin as interrupt +number of gpio pin as interrupt *-p <priority>*:: default = 99, task priority -*-b <bracktrace>*:: +*-b <breaktrace>*:: default = 1000, send break trace command when latency > breaktrace
doc/asciidoc/man1/slackspot.adoc +1 -1
@@ -48,7 +48,7 @@ for +stdin+. *--path <dir[:dir...]>*:: Search directory list for executables and dynamic -libraries. Directories are separatared by a semi-colon within the +libraries. Directories are separated by a semi-colon within the list. Each directory may be scanned for binary executables when resolving symbols found in stack backtraces.
doc/doxygen/xeno3prm-common.conf.in +4 -4
@@ -504,7 +504,7 @@ COMPACT_RTF = NO RTF_HYPERLINKS = NO # Load stylesheet definitions from file. Syntax is similar to doxygen's -# config file, i.e. a series of assigments. You only have to provide +# config file, i.e. a series of assignments. You only have to provide # replacements, missing definitions are set to their default value. RTF_STYLESHEET_FILE =
@@ -673,7 +673,7 @@ EXPAND_AS_DEFINED = SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- -# Configuration::addtions related to external references +# Configuration::additions related to external references #--------------------------------------------------------------------------- # The TAGFILES option can be used to specify one or more tagfiles.
@@ -717,7 +717,7 @@ EXTERNAL_GROUPS = YES # If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will # generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base or # super classes. Setting the tag to NO turns the diagrams off. Note that this -# option is superceded by the HAVE_DOT option below. This is only a fallback. It is +# option is superseded by the HAVE_DOT option below. This is only a fallback. It is # recommended to install and use dot, since it yields more powerful graphs. CLASS_DIAGRAMS = YES
@@ -750,7 +750,7 @@ CLASS_GRAPH = YES COLLABORATION_GRAPH = YES # If the UML_LOOK tag is set to YES doxygen will generate inheritance and -# collaboration diagrams in a style similiar to the OMG's Unified Modeling +# collaboration diagrams in a style similar to the OMG's Unified Modeling # Language. UML_LOOK = NO
doc/doxygen/xeno3prm-html.conf.in +2 -2
@@ -101,7 +101,7 @@ GENERATE_TREEVIEW = YES TREEVIEW_WIDTH = 250 #--------------------------------------------------------------------------- -# Configuration::addtions related to the search engine +# Configuration::additions related to the search engine #--------------------------------------------------------------------------- # The SEARCHENGINE tag specifies whether or not a search engine should be
@@ -114,7 +114,7 @@ SEARCHENGINE = YES # using Javascript. Doxygen will generate the search PHP script and index # file to put on the web server. The advantage of the server # based approach is that it scales better to large projects and allows -# full text search. The disadvances is that it is more difficult to setup +# full text search. The disadvantage is that it is more difficult to setup # and does not have live searching capabilities. SERVER_BASED_SEARCH = YES
doc/doxygen/xeno3prm-latex.conf.in +1 -1
@@ -101,7 +101,7 @@ GENERATE_TREEVIEW = YES TREEVIEW_WIDTH = 250 #--------------------------------------------------------------------------- -# Configuration::addtions related to the search engine +# Configuration::additions related to the search engine #--------------------------------------------------------------------------- # The SEARCHENGINE tag specifies whether or not a search engine should be
Signature · 1 line
2.46.0
PATCH 2/2 doc: Fix grammar
In reply to Simon Graber--- doc/asciidoc/MIGRATION.adoc | 14 +++++++------- doc/asciidoc/README.INSTALL.adoc | 4 ++-- doc/asciidoc/TROUBLESHOOTING.COBALT.adoc | 6 +++--- doc/asciidoc/man1/xeno-config.adoc | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-)
doc/asciidoc/MIGRATION.adoc +7 -7
@@ -164,7 +164,7 @@ remains, periodic timing is now controlled locally from the Xenomai libraries in user-space. Xenomai {xenover} defines a built-in clock named _coreclk_, which has -the same properties than the former _master_ time base available with +the same properties as the former _master_ time base available with Xenomai 2.x (i.e. tickless with nanosecond resolution). The settings of existing clocks can be read from entries under the new
@@ -276,7 +276,7 @@ variables may be accessed from any code module. Any application linked against +libcobalt+ has its main thread attached to the real-time system automatically, this operation is -called _auto-shadowing_. As a side-effect, the entire process's memory +called _auto-shadowing_. As a side effect, the entire process's memory is locked, for current and future mappings (i.e. +mlockall(MCL_CURRENT|MCL_FUTURE)+).
@@ -664,7 +664,7 @@ mainly for the sake of consistency: .Rationale ********************************************************************** Opening a device instance most often requires allocating resources -managed by the Linux kernel (memory mappings, DMA etc), which is only +managed by the Linux kernel (memory mappings, DMA etc.), which is only available to regular calling contexts. **********************************************************************
@@ -818,7 +818,7 @@ Recent evolutions of the Linux kernel with respect to IRQ management involve complex processing for basic operations (e.g. enabling/disabling the interrupt line) with some interrupt types like MSI. Such processing cannot be made dual-kernel safe at a -reasonable cost, without encurring measurable latency or significant +reasonable cost, without incurring measurable latency or significant code updates in the kernel. Since allocating, releasing, enabling or disabling real-time
@@ -1112,7 +1112,7 @@ unsigned int rtskb_pool_init(struct rtskb_pool *pool, void *lock_cookie); ----------------------------------------------------------------------- - * for the typical case where an skb pool locks the containing + * for the typical case where a skb pool locks the containing module, the function rtskb_module_pool_init() was added which has the same interface as the old rtskb_poll_init() function. Its prototype is:
@@ -1226,7 +1226,7 @@ kernel Cobalt environment. This is a requirement for maintaining both the *glibc* and the Xenomai scheduler in sync, with respect to thread priorities, since the former maintains a process-local priority cache for the threads - it knows about. Therefore, an explicit call to the the regular + it knows about. Therefore, an explicit call to the regular `pthread_setschedparam(3)` shall be issued upon each priority change Xenomai-wise, for maintaining consistency.
@@ -1617,7 +1617,7 @@ rt_task_wait_period() may block the caller. [TIP] In the unusual case where you do need to have the current task wait -for the initial release point outside of its periodic work loop, you +for the initial release point outside its periodic work loop, you can issue a call to +rt_task_wait_period()+ separately, exclusively for this purpose, i.e. ---------------------------------------------------------------
doc/asciidoc/README.INSTALL.adoc +2 -2
@@ -37,8 +37,8 @@ or the runtime target. The `kernel/` sub-tree which implements the in-kernel support code is seen as a built-in extension of the Linux kernel. Therefore, the standard Linux kernel configuration process should be used to define -the various settings for the Xenomai kernel components. All of the -kernel code Xenomai currently introduces implements the _Cobalt_ core +the various settings for the Xenomai kernel components. All the +kernel code Xenomai currently introduces, implements the _Cobalt_ core (i.e. dual kernel configuration). As of today, the _Mercury_ core needs no Xenomai-specific code in kernel space.
doc/asciidoc/TROUBLESHOOTING.COBALT.adoc +3 -3
@@ -23,7 +23,7 @@ When configuring the Linux kernel, some options should be avoided. CONFIG_CPU_FREQ:: This allows the CPU frequency to be modulated with workload, but many CPUs change the TSC counting frequency also, which makes it useless for accurate timing when the CPU clock can -change. Also some CPUs can take several milliseconds to ramp up to +change. Also, some CPUs can take several milliseconds to ramp up to full speed. CONFIG_CPU_IDLE:: Allows the CPU to enter deep sleep states,
@@ -443,7 +443,7 @@ threads, for which a large default amount of stack space memory is commonly reserved by the POSIX threading library (8MiB per thread by the _glibc_). Therefore, the kernel will commit as much as _8MiB{nbsp}*{nbsp}nr_threads_ bytes to RAM space for the application, -as a side-effect of calling the +mlockall()+ service to lock the +as a side effect of calling the +mlockall()+ service to lock the process memory, as Xenomai requires. This behaviour can be controlled in two ways:
@@ -495,7 +495,7 @@ the kernel to have been configured with the ==== the _latency_ test hangs -The most common reason for this issues is a too short period passed +The most common reason for these issues is a too short period passed with the +-p+ option, try increasing the period. If you enable the watchdog (option +CONFIG_XENO_OPT_WATCHDOG+, in your kernel configuration), you should see the <<short-period, "watchdog triggered
doc/asciidoc/man1/xeno-config.adoc +1 -1
@@ -174,7 +174,7 @@ a set of source-level compatibility wrappers when present. Dump information about the running Xenomai-enabled system. Unlike most other options, *--info* is aimed at being used on the target system running Xenomai, for retrieving the current setup information. The -output of such command is a valuable information when reporting any +output of such command is valuable information when reporting any runtime issue to mailto:[email protected][the Xenomai mailing list]. The command exits immediately after completion.
Signature · 1 line
2.46.0
Quoted 5 lines · Simon Graber
Hello,
this patch set fixes mistakes I found by running hunspell etc. on the doc/ directory.
Thanks, highly appreciated! Applied to next.
Do you think it would make sense to install that tool in our pipeline? Or does it require too much human interaction?
Jan
Quoted 15 lines
Simon Graber (2):
doc: Fix typos
doc: Fix grammardoc/asciidoc/MIGRATION.adoc | 14 +++++++------- doc/asciidoc/README.INSTALL.adoc | 14 +++++++------- doc/asciidoc/TROUBLESHOOTING.COBALT.adoc | 12 ++++++------ doc/asciidoc/man1/gpiobench.adoc | 4 ++-- doc/asciidoc/man1/slackspot.adoc | 2 +- doc/asciidoc/man1/xeno-config.adoc | 2 +- doc/doxygen/xeno3prm-common.conf.in | 8 ++++---- doc/doxygen/xeno3prm-html.conf.in | 4 ++-- doc/doxygen/xeno3prm-latex.conf.in | 2 +- 9 files changed, 31 insertions(+), 31 deletions(-)
Signature · 2 lines
Siemens AG, Technology Linux Expert Center
Quoted 6 lines · Jan Kiszka
Quoted 5 lines · Simon Graber
Hello,
this patch set fixes mistakes I found by running hunspell etc. on the doc/ directory.
Quoted 6 lines
Thanks, highly appreciated! Applied to next.
Do you think it would make sense to install that tool in our pipeline? Or does it require too much human interaction?
Jan
Well, the problem with automating spellchecking on technical projects is false-positives.
We have lots of nonstandard vocabulary (e.g. gpio, includedir, builddir, popen, printf etc.), so we'd need to maintain a very large dictionary of false-positives.
There are public dictionaries for natural languages, academic language, etc. but AFAIK none for programming vocabulary.
There exist spellcheckers designed for source code (e.g. cspell) and they can be integrated into a ci-pipeline. Other examples are aspell, neuspell.
But even then, there's some human interaction involved (at least initially), to save false-positive(-patterns).