diff options
-rw-r--r-- | c_user/overview.rst | 4 | ||||
-rw-r--r-- | c_user/scheduling_concepts.rst | 2 | ||||
-rw-r--r-- | c_user/semaphore_manager.rst | 2 | ||||
-rw-r--r-- | common/waf.py | 20 | ||||
-rw-r--r-- | images/c_user/rtemsarc.png (renamed from c_user/rtemsarc.png) | bin | 5698 -> 5698 bytes | |||
-rw-r--r-- | images/c_user/rtemspie.png (renamed from c_user/rtemspie.png) | bin | 31984 -> 31984 bytes | |||
-rw-r--r-- | images/c_user/semaphore_attributes.png (renamed from c_user/semaphore_attributes.png) | bin | 31604 -> 31604 bytes | |||
-rw-r--r-- | images/c_user/states.png (renamed from c_user/states.png) | bin | 22036 -> 22036 bytes | |||
-rw-r--r-- | images/msys2-minw64-start-menu.png (renamed from user/start/msys2-minw64-start-menu.png) | bin | 39270 -> 39270 bytes | |||
-rw-r--r-- | images/networking/PCIreg.jpg (renamed from networking/images/PCIreg.jpg) | bin | 48116 -> 48116 bytes | |||
-rw-r--r-- | images/networking/networkflow.jpg (renamed from networking/images/networkflow.jpg) | bin | 36969 -> 36969 bytes | |||
-rw-r--r-- | images/networking/recvbd.jpg (renamed from networking/images/recvbd.jpg) | bin | 11100 -> 11100 bytes | |||
-rw-r--r-- | networking/dec_21140.rst | 4 | ||||
-rw-r--r-- | networking/network_task_structure.rst | 2 | ||||
-rw-r--r-- | user/start/depend.rst | 2 |
15 files changed, 24 insertions, 12 deletions
diff --git a/c_user/overview.rst b/c_user/overview.rst index 8165b67..19f994d 100644 --- a/c_user/overview.rst +++ b/c_user/overview.rst @@ -120,7 +120,7 @@ serves as a buffer between the project dependent application code and the target hardware. Most hardware dependencies for real-time applications can be localized to the low level device drivers. -.. figure:: rtemsarc.png +.. figure:: ../images/c_user/rtemsarc.png :width: 488 :height: 100px :align: center @@ -146,7 +146,7 @@ routines. Together these components provide a powerful run time environment that promotes the development of efficient real-time application systems. The following figure illustrates this organization: -.. figure:: rtemspie.png +.. figure:: ../images/c_user/rtemspie.png :width: 70% :align: center :alt: RTEMS Internal Architecture diff --git a/c_user/scheduling_concepts.rst b/c_user/scheduling_concepts.rst index 6425ab3..64acf69 100644 --- a/c_user/scheduling_concepts.rst +++ b/c_user/scheduling_concepts.rst @@ -327,7 +327,7 @@ It will remain in the dormant state until it is started via the task is now permitted to be scheduled for the processor and to compete for other system resources. -.. figure:: states.png +.. figure:: ../images/c_user/states.png :width: 70% :align: center :alt: Task State Transitions diff --git a/c_user/semaphore_manager.rst b/c_user/semaphore_manager.rst index 86a9a29..f60d395 100644 --- a/c_user/semaphore_manager.rst +++ b/c_user/semaphore_manager.rst @@ -241,7 +241,7 @@ ordered blocking discipline must be applied to a binary semaphore in order to use either the priority inheritance or priority ceiling functionality. The following tree figure illustrates the valid combinations. -.. figure:: semaphore_attributes.png +.. figure:: ../images/c_user/semaphore_attributes.png :width: 90% :align: center :alt: Semaphore Attributes diff --git a/common/waf.py b/common/waf.py index ba63409..6512253 100644 --- a/common/waf.py +++ b/common/waf.py @@ -119,17 +119,29 @@ def doc_singlehtml(ctx, source_dir, conf_dir): def html_resources(ctx): - for dir in ["_static", "_templates"]: - files = ctx.path.parent.find_node("common").ant_glob("%s/*" % dir) - ctx.path.get_bld().make_node(dir).mkdir() # dirs + for dir_name in ["_static", "_templates"]: + files = ctx.path.parent.find_node("common").ant_glob("%s/*" % dir_name) + ctx.path.get_bld().make_node(dir_name).mkdir() # dirs ctx( features = "subst", is_copy = True, source = files, - target = [ctx.bldnode.find_node(dir).get_bld().make_node(x.name) for x in files] + target = [ctx.bldnode.find_node(dir_name).get_bld().make_node(x.name) for x in files] ) + # copy images +# ctx.path.get_bld().make_node("images").mkdir() +# files = ctx.path.parent.ant_glob("images/**") +# ctx( +# features = "subst", +# is_copy = True, +# source = files, +# target = [x.srcpath().replace("../", "") for x in files] +# ) + + + def cmd_build(ctx, conf_dir=".", source_dir="."): srcnode = ctx.srcnode.abspath() diff --git a/c_user/rtemsarc.png b/images/c_user/rtemsarc.png Binary files differindex 13c3b30..13c3b30 100644 --- a/c_user/rtemsarc.png +++ b/images/c_user/rtemsarc.png diff --git a/c_user/rtemspie.png b/images/c_user/rtemspie.png Binary files differindex f6245ff..f6245ff 100644 --- a/c_user/rtemspie.png +++ b/images/c_user/rtemspie.png diff --git a/c_user/semaphore_attributes.png b/images/c_user/semaphore_attributes.png Binary files differindex 7a12ead..7a12ead 100644 --- a/c_user/semaphore_attributes.png +++ b/images/c_user/semaphore_attributes.png diff --git a/c_user/states.png b/images/c_user/states.png Binary files differindex 26d8b77..26d8b77 100644 --- a/c_user/states.png +++ b/images/c_user/states.png diff --git a/user/start/msys2-minw64-start-menu.png b/images/msys2-minw64-start-menu.png Binary files differindex 5d0d1ea..5d0d1ea 100644 --- a/user/start/msys2-minw64-start-menu.png +++ b/images/msys2-minw64-start-menu.png diff --git a/networking/images/PCIreg.jpg b/images/networking/PCIreg.jpg Binary files differindex c03257b..c03257b 100644 --- a/networking/images/PCIreg.jpg +++ b/images/networking/PCIreg.jpg diff --git a/networking/images/networkflow.jpg b/images/networking/networkflow.jpg Binary files differindex fc63ec6..fc63ec6 100644 --- a/networking/images/networkflow.jpg +++ b/images/networking/networkflow.jpg diff --git a/networking/images/recvbd.jpg b/images/networking/recvbd.jpg Binary files differindex b15b21b..b15b21b 100644 --- a/networking/images/recvbd.jpg +++ b/images/networking/recvbd.jpg diff --git a/networking/dec_21140.rst b/networking/dec_21140.rst index 03133d8..615839d 100644 --- a/networking/dec_21140.rst +++ b/networking/dec_21140.rst @@ -59,7 +59,7 @@ PowerPC target. .. COMMENT: PCI Device's Configuration Header Space Format -.. image:: images/PCIreg.jpg +.. image:: ../images/networking/PCIreg.jpg .. COMMENT: XXX add crossreference to PCI Register Figure @@ -123,7 +123,7 @@ to the DEC21140 Hardware Manual. .. COMMENT: Buffer Descriptor -.. image:: images/recvbd.jpg +.. image:: images/networking/recvbd.jpg Receiver Thread diff --git a/networking/network_task_structure.rst b/networking/network_task_structure.rst index c6f7dfc..664098a 100644 --- a/networking/network_task_structure.rst +++ b/networking/network_task_structure.rst @@ -9,7 +9,7 @@ Network Task Structure and Data Flow A schematic diagram of the tasks and message *mbuf* queues in a simple RTEMS networking application is shown in the following figure: -.. image:: images/networkflow.jpg +.. image:: ../images/networking/networkflow.jpg The transmit task for each network interface is normally blocked waiting for a diff --git a/user/start/depend.rst b/user/start/depend.rst index 028bf41..5f52471 100644 --- a/user/start/depend.rst +++ b/user/start/depend.rst @@ -243,7 +243,7 @@ examples of what you can do. Open a 64bit MSYS shell from the Start Menu: -.. figure:: msys2-minw64-start-menu.png +.. figure:: ../../images/msys2-minw64-start-menu.png :width: 50% :align: center :alt: MSYS2 64bit Shell Start Menu |