Changeset 21ee1c8 in rtems


Ignore:
Timestamp:
Oct 20, 2014, 3:57:44 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
fd36451
Parents:
c2e32ff
Message:

m68k/gen68360: Fix warnings

Location:
c/src/lib/libbsp/m68k/gen68360
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/gen68360/include/bsp.h

    rc2e32ff r21ee1c8  
    103103#endif /* defined(PGH360) */
    104104
     105/*
     106 * Prototypes for BSP methods which cross file boundaries
     107 */
     108void _Init68360(void);
     109
    105110#ifdef __cplusplus
    106111}
  • c/src/lib/libbsp/m68k/gen68360/startup/init68360.c

    rc2e32ff r21ee1c8  
    11/*
    22 * MC68360 support routines
    3  *
     3 */
     4
     5/*
    46 * W. Eric Norum
    57 * Saskatchewan Accelerator Laboratory
     
    911 */
    1012
    11 #include <rtems.h>
    1213#include <bsp.h>
    1314#include <rtems/m68k/m68360.h>
     
    4647  rtems_isr_entry *vbr;
    4748  unsigned long ramSize;
     49
     50#if (defined (__mc68040__))
    4851  volatile unsigned long *RamBase_p;
    4952
    5053  RamBase_p = (volatile unsigned long *)&RamBase;
    5154
    52 #if (defined (__mc68040__))
    5355  /*
    5456   *******************************************
     
    646648
    647649#else
     650  volatile unsigned long *RamBase_p;
     651
     652  RamBase_p = (volatile unsigned long *)&RamBase;
    648653  /*
    649654   ***************************************************
Note: See TracChangeset for help on using the changeset viewer.