Changeset 4a7fc5d in rtems


Ignore:
Timestamp:
Aug 19, 2008, 5:38:42 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
593297e
Parents:
49a40165
Message:

2008-08-19 Sebastian Huber <sebastian.huber@…>

  • startup/bspstart.c, startup/init5282.c: Fixed warnings.
Location:
c/src/lib/libbsp/m68k/av5282
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/av5282/ChangeLog

    r49a40165 r4a7fc5d  
     12008-08-19      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * startup/bspstart.c, startup/init5282.c: Fixed warnings.
     4
    152008-08-19      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • c/src/lib/libbsp/m68k/av5282/startup/bspstart.c

    r49a40165 r4a7fc5d  
    143143
    144144/*
    145  *  Use the shared implementations of the following routines
    146  */
    147 void bsp_pretasking_hook(void);      /* m68k version */
     145 *  These are used by bsp_start
     146 */
     147extern char _WorkspaceBase[];
     148extern char _RamSize[];
     149extern unsigned long  _M68k_Ramsize;
    148150
    149151/*
     
    154156void bsp_start( void )
    155157{
    156   extern char _WorkspaceBase[];
    157   extern char _RamSize[];
    158   extern unsigned long  _M68k_Ramsize;
    159 
    160158  _M68k_Ramsize = (unsigned long)_RamSize;    /* RAM size set in linker script */
    161159
     
    198196}
    199197
     198extern char _CPUClockSpeed[];
     199
    200200uint32_t get_CPU_clock_speed(void)
    201201{
    202   extern char _CPUClockSpeed[];
    203202  return( (uint32_t)_CPUClockSpeed);
    204203}
  • c/src/lib/libbsp/m68k/av5282/startup/init5282.c

    r49a40165 r4a7fc5d  
    1515#define MM_SDRAM_BASE           (0x00000000)
    1616
     17/*
     18 * External methods used by this file
     19 */
     20extern void CopyDataClearBSSAndStart (void);
     21extern void INTERRUPT_VECTOR(void);
     22
    1723void Init5282 (void)
    1824{
    19     extern void CopyDataClearBSSAndStart (void);
    2025    int x;
    2126    int temp = 0;
     
    7176    /* Copy the interrupt vector table to address 0x0 in SDRAM */
    7277    {
    73         extern void INTERRUPT_VECTOR(void);
    7478        uint32_t *inttab = (uint32_t *)&INTERRUPT_VECTOR;
    7579        uint32_t *intvec = (uint32_t *)0x0;
Note: See TracChangeset for help on using the changeset viewer.