Changeset 7f4545de in rtems


Ignore:
Timestamp:
Sep 30, 2008, 4:23:46 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
3f3dbf3
Parents:
8baeb42
Message:

2008-09-30 Joel Sherrill <joel.sherrill@…>

  • sh7750/score/ispsh7750.c, shgdb/score/ispshgdb.c: Fine tune conditional so _CPU_ISR_install_vector is in CPU Kit now.
Location:
c/src/lib/libcpu/sh
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/sh/ChangeLog

    r8baeb42 r7f4545de  
     12008-09-30      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * sh7750/score/ispsh7750.c, shgdb/score/ispshgdb.c: Fine tune
     4        conditional so _CPU_ISR_install_vector is in CPU Kit now.
     5
    162008-09-30      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c

    r8baeb42 r7f4545de  
    5656 * agent */
    5757void *_VBR_Saved;
    58 
    59 /*PAGE
    60  *
    61  *  _CPU_ISR_install_vector
    62  *
    63  *  This kernel routine installs the RTEMS handler for the
    64  *  specified vector.
    65  *
    66  *  Input parameters:
    67  *    vector      - interrupt vector number
    68  *    old_handler - former ISR for this vector number
    69  *    new_handler - replacement ISR for this vector number
    70  *
    71  *  Output parameters:  NONE
    72  *
    73  */
    74 void _CPU_ISR_install_vector(
    75   uint32_t    vector,
    76   proc_ptr    new_handler,
    77   proc_ptr   *old_handler
    78 )
    79 {
    80    *old_handler = _ISR_Vector_table[vector];
    81    _ISR_Vector_table[vector] = new_handler;
    82 }
    83 
    8458
    8559#define __STRINGIFY1__(x) #x
  • c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c

    r8baeb42 r7f4545de  
    3232#include <rtems/system.h>
    3333#include <rtems/score/types.h>
    34 
    35 /*PAGE
    36  *
    37  *  _CPU_ISR_install_vector
    38  *
    39  *  This kernel routine installs the RTEMS handler for the
    40  *  specified vector.
    41  *
    42  *  Input parameters:
    43  *    vector      - interrupt vector number
    44  *    old_handler - former ISR for this vector number
    45  *    new_handler - replacement ISR for this vector number
    46  *
    47  *  Output parameters:  NONE
    48  *
    49  */
    50 void _CPU_ISR_install_vector(
    51   uint32_t    vector,
    52   proc_ptr    new_handler,
    53   proc_ptr   *old_handler
    54 )
    55 {
    56 /* Nothing to do on gdb simulator */
    57 }
    5834
    5935/*
Note: See TracChangeset for help on using the changeset viewer.