Changeset 36def91 in rtems-docs for porting/interrupts.rst


Ignore:
Timestamp:
Oct 28, 2016, 12:47:07 AM (4 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
4.11, 5, master
Children:
f29b7c1c
Parents:
2b175c3
Message:

rtems-docs: Fix many unnecessary back slashes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • porting/interrupts.rst

    r2b175c3 r36def91  
    8888
    8989    #define _CPU_ISR_Disable( _isr_cookie ) \\
    90     { \\
    91     (_isr_cookie) = 0;   /* do something to prevent warnings \*/ \\
     90    { \
     91      (_isr_cookie) = 0;   /* do something to prevent warnings */ \
    9292    }
    9393
     
    187187.. code:: c
    188188
    189     SCORE_EXTERN void               \*_CPU_Interrupt_stack_low;
    190     SCORE_EXTERN void               \*_CPU_Interrupt_stack_high;
     189    SCORE_EXTERN void               *_CPU_Interrupt_stack_low;
     190    SCORE_EXTERN void               *_CPU_Interrupt_stack_high;
    191191
    192192NOTE: These two variables are required if the macro
     
    215215
    216216    void _CPU_ISR_install_raw_handler(
    217     unsigned32  vector,
    218     proc_ptr    new_handler,
    219     proc_ptr   \*old_handler
     217      unsigned32  vector,
     218      proc_ptr    new_handler,
     219      proc_ptr   *old_handler
    220220    )
    221221
     
    240240    #define CPU_INTERRUPT_NUMBER_OF_VECTORS      32
    241241    #define CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER \\
    242     (CPU_INTERRUPT_NUMBER_OF_VECTORS - 1)
     242      (CPU_INTERRUPT_NUMBER_OF_VECTORS - 1)
    243243
    244244Install RTEMS Interrupt Handler
     
    255255
    256256    void _CPU_ISR_install_vector(
    257     unsigned32  vector,
    258     proc_ptr    new_handler,
    259     proc_ptr   \*old_handler
     257      unsigned32  vector,
     258      proc_ptr    new_handler,
     259      proc_ptr   *old_handler
    260260    )
    261261
     
    294294
    295295    typedef struct {
    296     unsigned32 not_preserved_register_1;
    297     unsigned32 special_interrupt_register;
     296      unsigned32 not_preserved_register_1;
     297      unsigned32 special_interrupt_register;
    298298    } CPU_Interrupt_frame;
    299299
     
    339339    may need to save some special interrupt information for exit
    340340    #if ( CPU_HAS_SOFTWARE_INTERRUPT_STACK == TRUE )
    341     if ( _ISR_Nest_level == 0 )
    342     switch to software interrupt stack
     341      if ( _ISR_Nest_level == 0 )
     342        switch to software interrupt stack
    343343    #endif
    344344    _ISR_Nest_level++;
    345345    _Thread_Dispatch_disable_level++;
    346     (\*_ISR_Vector_table[ vector ])( vector );
     346    (*_ISR_Vector_table[ vector ])( vector );
    347347    --_ISR_Nest_level;
    348348    if ( _ISR_Nest_level )
    349     goto the label "exit interrupt (simple case)"
     349      goto the label "exit interrupt (simple case)"
    350350    #if ( CPU_HAS_SOFTWARE_INTERRUPT_STACK == TRUE )
    351     restore stack
     351      restore stack
    352352    #endif
    353353    if ( _Thread_Dispatch_disable_level )
    354     goto the label "exit interrupt (simple case)"
     354      goto the label "exit interrupt (simple case)"
    355355    if ( _Thread_Dispatch_necessary )
    356     call _Thread_Dispatch() or prepare to return to _ISR_Dispatch
     356      call _Thread_Dispatch() or prepare to return to _ISR_Dispatch
    357357    prepare to get out of interrupt
    358358    return from interrupt  (maybe to _ISR_Dispatch)
     
    393393.. code:: c
    394394
    395     void (\*_CPU_Thread_dispatch_pointer)();
     395    void (*_CPU_Thread_dispatch_pointer)();
    396396
    397397.. COMMENT: COPYRIGHT (c) 1988-2002.
Note: See TracChangeset for help on using the changeset viewer.