Changeset cf181446 in rtems


Ignore:
Timestamp:
Nov 16, 2009, 10:02:21 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
ca27f48
Parents:
be6a9a2
Message:

Remove nested externs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/mips/shared/interrupts/installisrentries.c

    rbe6a9a2 rcf181446  
    88#include <string.h>
    99
     10#include <libcpu/isr_entries.h>
     11
    1012void mips_install_isr_entries( void )
    1113{
    1214#if __mips == 1
    13   void exc_utlb_code(void);
    14   void exc_dbg_code(void);
    15   void exc_norm_code(void);
    16 
    1715  memcpy( (void *)UT_VEC, exc_utlb_code, 40 );  /* utlbmiss vector */
    1816  memcpy( (void *)DB_VEC, exc_dbg_code, 40 );
     
    2018
    2119#elif __mips == 32
    22   void exc_tlb_code(void);
    23   void exc_xtlb_code(void);
    24   void exc_cache_code(void);
    25   void exc_norm_code(void);
    26 
    2720  memcpy( (void *)T_VEC, exc_tlb_code, 40 );    /* tlbmiss vector */
    2821  memcpy( (void *)X_VEC, exc_xtlb_code, 40 );   /* xtlbmiss vector */
     
    3124
    3225#elif __mips == 3
    33   void exc_tlb_code(void);
    34   void exc_xtlb_code(void);
    35   void exc_cache_code(void);
    36   void exc_norm_code(void);
    37 
    3826  memcpy( (void *)T_VEC, exc_tlb_code, 40 );    /* tlbmiss vector */
    3927  memcpy( (void *)X_VEC, exc_xtlb_code, 40 );   /* xtlbmiss vector */
Note: See TracChangeset for help on using the changeset viewer.