Changeset 6b150cc in rtems


Ignore:
Timestamp:
Mar 27, 2010, 8:41:45 PM (10 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, master
Children:
dccbb21
Parents:
1b6151a
Message:

fixed some warnings

Location:
c/src/lib/libbsp/powerpc/mpc55xxevb
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog

    r1b6151a r6b150cc  
    22
    33        * network/smsc9218i.c tests/tests.c: Removed warnings
     4        * clock/clock-config.c: remove warning
    45
    562010-03-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
  • c/src/lib/libbsp/powerpc/mpc55xxevb/clock/clock-config.c

    r1b6151a r6b150cc  
    4444 } while (0)
    4545
    46 static void mpc55xx_clock_handler_install( void)
     46static void mpc55xx_clock_handler_install( rtems_isr_entry isr,
     47                                           rtems_isr_entry *old_isr)
    4748{
    4849  rtems_status_code sc = RTEMS_SUCCESSFUL;
     
    5354    RTEMS_INTERRUPT_UNIQUE,
    5455    MPC55XX_INTC_MIN_PRIORITY,
    55     (rtems_interrupt_handler) Clock_isr,
     56    (rtems_interrupt_handler) isr,
    5657    NULL
    5758  );
     59 *old_isr = NULL;
    5860  RTEMS_CHECK_SC_VOID( sc, "install clock interrupt handler");
    5961}
     
    140142
    141143#define Clock_driver_support_install_isr( isr, old_isr) \
    142   mpc55xx_clock_handler_install()
     144  mpc55xx_clock_handler_install(isr,&old_isr)
    143145
    144146#define Clock_driver_support_shutdown_hardware() mpc55xx_clock_cleanup()
  • c/src/lib/libbsp/powerpc/mpc55xxevb/tests/tests.c

    r1b6151a r6b150cc  
    4242#undef USE_DSPI_READER_WRITER
    4343
     44#if defined(USE_DSPI_READER_WRITER)
    4445static rtems_driver_address_table test_mpc55xx_drv_ops = {
    4546        initialization_entry : NULL,
     
    5556        size : sizeof( rtems_libi2c_drv_t)
    5657};
     58#endif /* defined(USE_DSPI_READER_WRITER) */
    5759
    5860#define MPC55XX_TEST_DSPI_ADDRESS 0
     
    7274static rtems_id test_mpc55xx_dspi_pong;
    7375
     76#if defined(USE_DSPI_READER_WRITER)
    7477static unsigned char test_mpc55xx_dspi_writer_outbuf [2] [MPC55XX_TEST_DSPI_BUFSIZE_CACHE_PROOF] __attribute__ ((aligned (32)));
    7578
     
    7881static unsigned char test_mpc55xx_dspi_reader_inbuf [MPC55XX_TEST_DSPI_BUFSIZE_CACHE_PROOF] __attribute__ ((aligned (32)));
    7982
    80 #if defined(USE_DSPI_READER_WRITER)
    8183static rtems_task test_mpc55xx_dspi_writer( rtems_task_argument arg)
    8284{
     
    555557static char outbuf [BUFSIZE];
    556558
     559#if 0
    557560static void test_mpc55xx_edma_done( mpc55xx_edma_channel_entry *e, uint32_t error_status)
    558561{
     
    624627        return RTEMS_SUCCESSFUL;
    625628}
     629#endif /* 0 */
    626630
    627631#include <stdlib.h>
Note: See TracChangeset for help on using the changeset viewer.