diff --git a/COPYING b/COPYING
index 8acaa714c3ae659c0a1f7e6ae8c61c0debb2176b..8b294040a8bada28dc8e31a1b6745afc7b4b264b 100644
--- a/COPYING
+++ b/COPYING
@@ -11,14 +11,14 @@ NuttX
License for NuttX in general (authorship of individual files may vary):
/*************************************************************************
- *
+ *
* Copyright (C) 2007-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt
*
* Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
+ * modification, are permitted provided that the following conditions
* are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
@@ -32,13 +32,13 @@ License for NuttX in general (authorship of individual files may vary):
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
@@ -66,7 +66,7 @@ FAT Long File Names
o "U.S. Patent 6,286,013 (http://www.google.com/patents?vid=6286013) -
Method and system for providing a common name space for long and
short file names in an operating system. ...
-
+
"Many technical commentators have concluded that these patents only cover
FAT implementations that include support for long filenames, and that
removable solid state media and consumer devices only using short names
@@ -74,7 +74,7 @@ FAT Long File Names
This Wikipedia entry has been updated with recent legal decisions in favor
of Microsoft. Refer to:
-
+
http://en.wikipedia.org/wiki/File_Allocation_Table#Legal_issues
So you have been forewarned: Use the long filename at your own risk!
@@ -129,7 +129,7 @@ fs/nfs:
^^^^^^^
NFS:
-
+
Copyright (c) 1989, 1991, 1993, 1995 The Regents of the University of
California. All rights reserved.
@@ -178,20 +178,20 @@ libc/string/lib_vikmemcpy.c
Permission is granted to anyone to use this software for any
purpose, including commercial applications, and to alter it and
redistribute it freely, subject to the following restrictions:
-
+
1. The origin of this software must not be misrepresented; you
must not claim that you wrote the original software. If you
use this software in a product, an acknowledgment in the
use this software in a product, an acknowledgment in the
product documentation would be appreciated but is not
required.
-
+
2. Altered source versions must be plainly marked as such, and
must not be misrepresented as being the original software.
-
+
3. This notice may not be removed or altered from any source
distribution.
-
+
libc/math
^^^^^^^^^
@@ -202,11 +202,11 @@ libc/math
compatible MIT license:
Copyright (C) 2009-2011 Nick Johnson
-
+
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
-
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
diff --git a/Documentation/NXGraphicsSubsystem.html b/Documentation/NXGraphicsSubsystem.html
index 7aa8ab03cdc700cdcafb66a2bf332c43b77960f7..743e0368aa1c4a1a3ff696558afd209a58e80160 100644
--- a/Documentation/NXGraphicsSubsystem.html
+++ b/Documentation/NXGraphicsSubsystem.html
@@ -326,7 +326,7 @@
NX is organized into 6 (and perhaps someday 7 or 8) logical modules.
These logical modules also correspond to the directory organization.
- That NuttX directory organization is discussed in
+ That NuttX directory organization is discussed in
Appendix B of this document.
The logic modules are discussed in the following sub-paragraphs.
@@ -622,7 +622,7 @@ void nxgl_rectunion(FAR struct nxgl_rect_s *dest,
Description:
- Given two rectanges, src1
and src2
, return the larger rectangle that
+ Given two rectanges, src1
and src2
, return the larger rectangle that
contains both, dest
.
@@ -766,7 +766,7 @@ int nxgl_splitline(FAR struct nxgl_vector_s *vector, FAR struct nxgl_trapezoid_s
Description:
In the general case, a line with width can be represented as a parallelogram with a triangle at the top and bottom.
Triangles and parallelograms are both degenerate versions of a trapezoid.
- This function breaks a wide line into triangles and trapezoids.
+ This function breaks a wide line into triangles and trapezoids.
This function also detects other degenerate cases:
@@ -801,7 +801,7 @@ int nxgl_splitline(FAR struct nxgl_vector_s *vector, FAR struct nxgl_trapezoid_s
- 0
: Line successfully broken up into three trapezoids.
+ 0
: Line successfully broken up into three trapezoids.
Values in traps[0]
, traps[1]
, and traps[2]
are valid.
@@ -1551,7 +1551,7 @@ int nx_setposition(NXWINDOW hwnd, FAR struct nxgl_point_s *pos);
hwnd
- The handle returned by
nx_openwindow()
.
- This handle must not have been created by
+ This handle must not have been created by
nx_requestbkgd()
.
pos
- The new position of the window
@@ -1579,7 +1579,7 @@ int nx_setsize(NXWINDOW hwnd, FAR struct nxgl_size_s *size);
hwnd
- The handle returned by
nx_openwindow()
.
- This handle must not have been created by
+ This handle must not have been created by
nx_requestbkgd()
.
size
- The new size of the window (in pixels).
@@ -1607,7 +1607,7 @@ int nx_raise(NXWINDOW hwnd);
hwnd
- The handle returned by
nx_openwindow()
.
- This handle must not have been created by
+ This handle must not have been created by
nx_requestbkgd()
.
-
@@ -1635,7 +1635,7 @@ int nx_lower(NXWINDOW hwnd);
hwnd
- The handle returned by
nx_openwindow()
.
- This handle must not have been created by
+ This handle must not have been created by
nx_requestbkgd()
.
-
@@ -3132,7 +3132,7 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,
Building apps/examples/nx
.
Testing was performed using the Linux/Cygwin-based NuttX simulator.
- Instructions are provided for building that simulation are provided in
+ Instructions are provided for building that simulation are provided in
Appendix C of this document.
@@ -3299,7 +3299,7 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,
- Specify the colors of the border used with framed windows.
CONFIG_NXTK_BORDERCOLOR2
- The shadow side color and so is normally darker.
-
CONFIG_NXTK_BORDERCOLOR3
+ CONFIG_NXTK_BORDERCOLOR3
- The shiny side color and so is normally brighter.
The default is medium, dark, and light grey, respectively
CONFIG_NXTK_AUTORAISE
:
@@ -3426,7 +3426,7 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,
CONFIG_NXCONSOLE_NXKBDIN
:
- Take input from the NX keyboard input callback.
By default, keyboard input is taken from stdin (
/dev/console
).
- If this option is set, then the interfacenxcon_kdbin()
is enabled.
+ If this option is set, then the interfacenxcon_kdbin()
is enabled.
That interface may be driven by window callback functions so that keyboard input only goes to the top window.
CONFIG__NXCONSOLE_KBDBUFSIZE
:
- If
CONFIG_NXCONSOLE_NXKBDIN
is enabled, then this value may be used to
@@ -3467,7 +3467,7 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,
Locate a font in BDF format.
There are many good BDF bitmap fonts bundled with X-11.
- See this link, as an example,
+ See this link, as an example,
-
@@ -3703,7 +3703,7 @@ sudo ln -s libXext.so.6.4.0 libXext.so
This is because the sim target is based upon some assembly language setjmp/longjmp logic that only works on 32-bit systems.
- NOTE: There is a workaround in this case:
+ NOTE: There is a workaround in this case:
You can build for 32-bit execution on a 64-bit machine by adding -m3
to the CFLAGS
and -m32 -m elf_i386
to the LDFLAGS
.
See the patch file 0001-Quick-hacks-to-build-sim-nsh-ostest-on-x86_64-as-32-.patch
that can be found in NuttX files.
diff --git a/Documentation/NXOrganization.gif b/Documentation/NXOrganization.gif
index 6bae8e5529bbc177caf108e035f4e5c61ca4d2ec..1039d30bd896a31065789a693ae8906b513c2cb1 100644
Binary files a/Documentation/NXOrganization.gif and b/Documentation/NXOrganization.gif differ
diff --git a/Documentation/NuttX2-a.png b/Documentation/NuttX2-a.png
index 20c2fd6e71ed034649f5c21e0facf4b724341879..f0b1abfd2af17c4d8e265306e1e4244aff62199b 100644
Binary files a/Documentation/NuttX2-a.png and b/Documentation/NuttX2-a.png differ
diff --git a/Documentation/NuttXBinfmt.html b/Documentation/NuttXBinfmt.html
index 0dd56658711838b24acf9c6b2d1527cf24458d8e..3f3bdbc0aad5dfc92ff1c4561a9db032360cf1af 100644
--- a/Documentation/NuttXBinfmt.html
+++ b/Documentation/NuttXBinfmt.html
@@ -107,7 +107,7 @@
- The interface to the binary loader is described in the header file
+ The interface to the binary loader is described in the header file
include/nuttx/binfmt/binfmt.h
.
A brief summary of the data structurs and interfaces prototyped in that header file are listed below.
@@ -457,7 +457,7 @@ void exepath_release(EXEPATH_HANDLE handle);
- The interface to the symbol table logic is described in the header file
+ The interface to the symbol table logic is described in the header file
include/nuttx/binfmt/symtab.h
.
A brief summary of the data structurs and interfaces prototyped in that header file are listed below.
@@ -477,7 +477,7 @@ struct symtab_s
- A symbol table is a fixed size array of struct symtab_s
.
+ A symbol table is a fixed size array of struct symtab_s
.
The information is intentionally minimal and supports only:
diff --git a/Documentation/NuttXCCodingStandard.html b/Documentation/NuttXCCodingStandard.html
index 0693efc50fb74f2557af635afffd0e087b782d65..4cb4a9517d0729fe56b3e71674a65951c10f61f3 100755
--- a/Documentation/NuttXCCodingStandard.html
+++ b/Documentation/NuttXCCodingStandard.html
@@ -136,7 +136,7 @@
-
- A line that consists of the opening C comment (
/*
) followed by a series of asterisks extending to the length of the line (usually to column 78).
+ A line that consists of the opening C comment (/*
) followed by a series of asterisks extending to the length of the line (usually to column 78).
-
The name of the grouping, starting at column 4.
@@ -310,7 +310,7 @@
/* The forward link to the next instance of struct
* some_long_struct_name_s in a singly linked list
*/
-
+
struct some_long_struct_name_s *flink;
int short_name1; /* Short comment 1 */
int short_name2; /* This is a very long comment describing subtle
@@ -2157,7 +2157,7 @@ x++;
{
ptr++;
}
-
+
diff --git a/Documentation/NuttXDemandPaging.html b/Documentation/NuttXDemandPaging.html
index e1ef29b24502165482b9a4384f3ca945df27c11e..2e1ebaf3e11b37d2598fde68a65bc506a5b3f6bd 100644
--- a/Documentation/NuttXDemandPaging.html
+++ b/Documentation/NuttXDemandPaging.html
@@ -243,7 +243,7 @@
-
Boost the page fill worker thread priority.
- Check the priority of the task at the head of the
g_waitingforfill
list.
+ Check the priority of the task at the head of the g_waitingforfill
list.
If the priority of that task is higher than the current priority of the page fill worker thread, then boost the priority of the page fill worker thread to that priority.
Thus, the page fill worker thread will always run at the priority of the highest priority task that is waiting for a fill.
@@ -370,7 +370,7 @@
The architecture-specific functions, up_checkmapping()
, up_allocpage(tcb, &vpage)
and up_fillpage(page, pg_callback)
will be prototyped in include/nuttx/arch.h
-
+
Fill Complete
@@ -379,7 +379,7 @@
For the non-blocking up_fillpage()
, the architecture-specific driver call the pg_callback()
that was provided to up_fillpage()
when the fill completes.
In this case, the pg_callback()
will probably be called from driver interrupt-level logic.
- The driver will provide the result of the fill as an argument to the callback function.
+ The driver will provide the result of the fill as an argument to the callback function.
NOTE: pg_callback()
must also be locked in memory.
@@ -404,7 +404,7 @@
-
+
Task Resumption
@@ -600,7 +600,7 @@
-
In the first phase, create a partially linked objected containing all interrupt/exception handling logic, the page fill worker thread plus all parts of the IDLE thread (which must always be available for execution).
- -
+
-
All of the
.text
and .rodata
sections of this partial link should be collected into a single section.
-
@@ -625,7 +625,7 @@
The currently executing task at the head of the ready to run list must be stopped.
Save its context and move it to the inactive list specified by task_state.
This function is called by the on-demand paging logic in order to block the task that requires the
- page fill, and to
+ page fill, and to
-
void up_unblock_task(FAR struct tcb_s *tcb);
@@ -671,4 +671,4 @@