Changeset d1dde59 in rtems


Ignore:
Timestamp:
Sep 8, 2008, 4:29:52 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
943da2c
Parents:
04cda3a
Message:

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

  • mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/timer/timer.c: Fix nested extern declaration warnings.
Location:
c/src/lib/libcpu/powerpc
Files:
4 edited

Legend:

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

    r04cda3a rd1dde59  
     12008-09-08      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c,
     4        mpc8xx/timer/timer.c: Fix nested extern declaration warnings.
     5
    162008-09-08      Thomas Doerfler <thomas.doerfler@embedded-brains.de>
    27
  • c/src/lib/libcpu/powerpc/mpc8xx/clock/clock.c

    r04cda3a rd1dde59  
    4949extern int BSP_connect_clock_handler(rtems_isr_entry);
    5050extern int BSP_disconnect_clock_handler(void);
     51extern uint32_t bsp_clicks_per_usec;
     52extern uint32_t bsp_clock_speed;
    5153
    5254void Clock_exit( void );
     
    7577  uint32_t   extclk;
    7678  bool force_prescaler = false;
    77   extern uint32_t bsp_clicks_per_usec;
    78   extern uint32_t bsp_clock_speed;
    7979  uint32_t immr_val;
    8080
  • c/src/lib/libcpu/powerpc/mpc8xx/console-generic/console-generic.c

    r04cda3a rd1dde59  
    6262extern int mbx8xx_console_get_configuration(void);
    6363
     64extern uint32_t bsp_clock_speed;
     65
    6466/*
    6567 * Interrupt-driven input buffer
     
    110112  int divisor;
    111113  int div16 = 0;
    112   extern uint32_t bsp_clock_speed;
    113114
    114115  divisor = ((bsp_clock_speed / 16) + (baud / 2)) / baud;
  • c/src/lib/libcpu/powerpc/mpc8xx/timer/timer.c

    r04cda3a rd1dde59  
    4848static volatile uint32_t   Timer_starting;
    4949static bool benchmark_timer_find_average_overhead;
     50extern uint32_t bsp_timer_least_valid;
     51extern uint32_t bsp_timer_average_overhead;
    5052
    5153/*
     
    7476  uint32_t   clicks;
    7577  uint32_t   total;
    76   extern uint32_t bsp_timer_least_valid;
    77   extern uint32_t bsp_timer_average_overhead;
    7878
    7979  clicks = get_itimer();
Note: See TracChangeset for help on using the changeset viewer.