Changeset 1b47871d in rtems


Ignore:
Timestamp:
Jun 24, 2013, 3:15:42 PM (7 years ago)
Author:
Ralf Kirchner <ralf.kirchner@…>
Branches:
4.11, 5, master
Children:
3da02169
Parents:
3b645c1
git-author:
Ralf Kirchner <ralf.kirchner@…> (06/24/13 15:15:42)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/05/13 14:01:02)
Message:

bsp/psim: Fix declaration

It declares a symbol defined in the linker command file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/psim/startup/bspstart.c

    r3b645c1 r1b47871d  
    3636 *  is anyone's guess.
    3737 */
    38 extern int PSIM_INSTRUCTIONS_PER_MICROSECOND;
     38extern int PSIM_INSTRUCTIONS_PER_MICROSECOND[];
    3939
    4040/*
     
    9090   *  initialize the device driver parameters
    9191   */
    92   BSP_bus_frequency        = (unsigned int)&PSIM_INSTRUCTIONS_PER_MICROSECOND;
     92  BSP_bus_frequency        = (unsigned int)PSIM_INSTRUCTIONS_PER_MICROSECOND;
    9393  bsp_clicks_per_usec      = BSP_bus_frequency;
    9494  BSP_time_base_divisor    = 1;
Note: See TracChangeset for help on using the changeset viewer.