From aaaf4f96b7e163637850f6a4e7d375eba3a2557a Mon Sep 17 00:00:00 2001
From: Gregory Nutt
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.
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
.
- 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
nx_openwindow()
.
- This handle must not have been created by
+ This handle must not have been created by
nx_requestbkgd()
.
pos
hwnd
nx_openwindow()
.
- This handle must not have been created by
+ This handle must not have been created by
nx_requestbkgd()
.
size
hwnd
nx_openwindow()
.
- This handle must not have been created by
+ This handle must not have been created by
nx_requestbkgd()
.
hwnd
nx_openwindow()
.
- This handle must not have been created by
+ This handle must not have been created by
nx_requestbkgd()
.
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.
CONFIG_NXTK_BORDERCOLOR2
CONFIG_NXTK_BORDERCOLOR3
+ CONFIG_NXTK_BORDERCOLOR3
CONFIG_NXTK_AUTORAISE
:
@@ -3426,7 +3426,7 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,
CONFIG_NXCONSOLE_NXKBDIN
:
/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
:
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,
- 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
- The interface to the binary loader is described in the header file
+ The interface to the binary loader is described in the header file
- 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
-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
GIT binary patch
delta 14
WcmX>wfocB)rVZz7HeaYI;06FU32.1 Binary Loader Header Files
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);
3.1 Symbol Table Header Files
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
struct symtab_s
.
+ A symbol table is a fixed size array of struct symtab_s
.
The information is intentionally minimal and supports only:
/*
) 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).
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.
up_checkmapping()
, up_allocpage(tcb, &vpage)
and up_fillpage(page, pg_callback)
will be prototyped in include/nuttx/arch.h
-
+
@@ -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 @@
@@ -600,7 +600,7 @@
.text
and .rodata
sections of this partial link should be collected into a single section.
void up_unblock_task(FAR struct tcb_s *tcb);
@@ -671,4 +671,4 @@