Changeset f29b7c1c in rtems-docs


Ignore:
Timestamp:
Oct 28, 2016, 1:01:18 AM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
4.11, master
Children:
b0f2977
Parents:
36def91
Message:

bsp_howto: Fix code-block markup

Location:
bsp_howto
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • bsp_howto/initilization_code.rst

    r36def91 rf29b7c1c  
    2424The BSP source code for these BSPs is in the following directories:
    2525
    26 .. code:: c
     26.. code-block:: shell
    2727
    2828    c/src/lib/libbsp/m68k/gen68340
     
    4242functionality.
    4343
    44 .. code:: c
     44.. code-block:: shell
    4545
    4646    ../../sparc/shared/start.S
     
    123123following file:
    124124
    125 .. code:: c
     125.. code-block:: shell
    126126
    127127    c/src/lib/libbsp/shared/bootcard.c
     
    267267at:
    268268
    269 .. code:: c
     269.. code-block:: shell
    270270
    271271    c/src/lib/libbsp/shared/bsppost.c
     
    314314access.  The following figure illustrates this:
    315315
    316 .. code::
    317 
    318     +-------------------+
     316.. code-block::
     317
     318                        +-------------------+
    319319            ------------|                   |
    320320            ------------|                   |------------
     
    323323            ------------|                   |------------
    324324            ------------|                   |
    325     +-------------------+
     325                        +-------------------+
    326326    CPU Bus                                   Chip Select
    327327
  • bsp_howto/linker_script.rst

    r36def91 rf29b7c1c  
    109109BSP This file can be found at $BSP340_ROOT/startup/linkcmds.
    110110
    111 .. code:: c
     111.. code-block:: c
    112112
    113113    /*
  • bsp_howto/miscellanous_support.rst

    r36def91 rf29b7c1c  
    144144is located at:
    145145
    146 .. code:: c
     146.. code-block:: c
    147147
    148148    c/src/lib/libbsp/shared/include/coverhd.h
     
    158158prototype for this routine:
    159159
    160 .. code:: c
     160.. code-block:: c
    161161
    162162    void * sbrk(size_t increment)
     
    182182system reset.  This implementation is located in the following file:
    183183
    184 .. code:: c
     184.. code-block:: c
    185185
    186186    c/src/lib/libbsp/shared/bspclean.c
     
    259259follows:
    260260
    261 .. code:: c
     261.. code-block:: c
    262262
    263263    rtems_isr_entry set_vector(                 /* returns old vector */
     
    347347An interrupt handler is installed or removed with the help of the following functions :
    348348
    349 .. code:: c
     349.. code-block:: c
    350350
    351351    rtems_status_code rtems_interrupt_handler_install(   /* returns status code */
  • bsp_howto/real_time_clock.rst

    r36def91 rf29b7c1c  
    4343table is below:
    4444
    45 .. code:: c
     45.. code-block:: c
    4646
    4747    #include <bsp.h>
     
    196196the RTC TOD and the current RTEMS TOD.
    197197
    198 .. code:: c
     198.. code-block:: c
    199199
    200200    int checkRealTime( void )
  • bsp_howto/target_dependant_files.rst

    r36def91 rf29b7c1c  
    125125following directory:
    126126
    127 .. code:: c
     127.. code-block:: c
    128128
    129129    cpukit/score/cpu/<CPU>
     
    144144This class of code may be found in the following directory:
    145145
    146 .. code:: c
     146.. code-block:: c
    147147
    148148    c/src/lib/libcpu/<CPU>
     
    150150CPU model dependent support code is found in the following directory:
    151151
    152 .. code:: c
     152.. code-block:: c
    153153
    154154    c/src/lib/libcpu/<CPU>/<CPU_MODEL>
     
    169169single CPU family.  This results in a BSP using the following directories:
    170170
    171 .. code:: c
     171.. code-block:: c
    172172
    173173    c/src/lib/libbsp/shared
     
    222222documentation.  This BSP is located in the following directory:
    223223
    224 .. code:: c
     224.. code-block:: c
    225225
    226226    c/src/lib/libbsp/m68k/gen68340
  • bsp_howto/timer.rst

    r36def91 rf29b7c1c  
    7474read the timer.
    7575
    76 .. code:: c
     76.. code-block:: c
    7777
    7878    void benchmark_timer_disable_subtracting_average_overhead(bool find_flag)
Note: See TracChangeset for help on using the changeset viewer.