Changeset 4f5d1c9f in rtems


Ignore:
Timestamp:
Mar 27, 2010, 3:00:43 PM (10 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, master
Children:
0acc9af
Parents:
ff8dd26
Message:

removed warnings

Location:
c/src/lib/libbsp/powerpc
Files:
13 edited

Legend:

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

    rff8dd26 r4f5d1c9f  
     12010-03-27      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
     2
     3        * network/if_gfe/if_gme.c, network/if_em/if_em.c: Removed warnings
     4
    152010-02-09  Till Straumann <strauman@slac.stanford.edu>
    26
  • c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em.c

    rff8dd26 r4f5d1c9f  
    25722572
    25732573
    2574         HW_DEBUGOUT2("Base = %x, Length = %x\n",
     2574        HW_DEBUGOUT2("Base = %" PRIx32 ", Length = %" PRIx32 "\n",
    25752575                     E1000_READ_REG(&adapter->hw, TDBAL),
    25762576                     E1000_READ_REG(&adapter->hw, TDLEN));
  • c/src/lib/libbsp/powerpc/beatnik/network/if_gfe/if_gfe.c

    rff8dd26 r4f5d1c9f  
    812812                GE_TXDPOSTSYNC(sc, txq, txq->txq_fi);
    813813                GE_TXDPOSTSYNC(sc, txq, curtxdnum);
    814                 printf(" (fi=%d(%#x),lo=%d,cur=%" PRId32 "(%#x),icm=%#x) ",
     814                printf(" (fi=%d(%#" PRIx32 "),lo=%d,cur=%" PRIx32 "(%#" PRIx32 "),icm=%#" PRIx32 ") ",
    815815                    txq->txq_fi, txq->txq_descs[txq->txq_fi].ed_cmdsts,
    816816                    txq->txq_lo, curtxdnum, txq->txq_descs[curtxdnum].ed_cmdsts,
     
    17611761        d = NEXT_TXD(l);
    17621762
    1763         out_be32(&d->ed_cmdsts,0);
     1763        out_be32((unsigned int*)&d->ed_cmdsts,0);
    17641764
    17651765        GE_TXDPRESYNC(sc, txq, d - txq->txq_descs);
     
    22772277                /* FALLTHROUGH */
    22782278        case GE_WHACK_CHANGE:
    2279                 GE_DPRINTF(sc, ("(pcr=%#x,imr=%#x)",
     2279                GE_DPRINTF(sc, ("(pcr=%#" PRIx32 ",imr=%#" PRIx32 ")",
    22802280                    GE_READ(sc, EPCR), GE_READ(sc, EIMR)));
    22812281                GE_WRITE(sc, EPCR, sc->sc_pcr | ETH_EPCR_EN);
    22822282                GE_WRITE(sc, EIMR, sc->sc_intrmask);
    22832283                gfe_ifstart(&sc->sc_ec.ec_if);
    2284                 GE_DPRINTF(sc, ("(ectdp0=%#x, ectdp1=%#x)",
     2284                GE_DPRINTF(sc, ("(ectdp0=%#" PRIx32 ", ectdp1=%#" PRIx32 ")",
    22852285                    GE_READ(sc, ECTDP0), GE_READ(sc, ECTDP1)));
    22862286                GE_FUNC_EXIT(sc, "");
  • c/src/lib/libbsp/powerpc/ep1a/ChangeLog

    rff8dd26 r4f5d1c9f  
     12009-12-16      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
     2
     3        * start/start.S: removed obsolete bootcard calling warning
     4
    152009-12-16      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
    26
  • c/src/lib/libbsp/powerpc/ep1a/start/start.S

    rff8dd26 r4f5d1c9f  
    3636#include <bsp.h>
    3737*/
    38 
    39 #warning Call to boot_card has changed and needs checking.
    40 #warning The call is "void boot_card(const char* cmdline);"
    41 #warning You need to pass a NULL.
    42 #warning Please check and remove these warnings.
    4338
    4439#include <rtems/asm.h>
  • c/src/lib/libbsp/powerpc/gen5200/ChangeLog

    rff8dd26 r4f5d1c9f  
     12010-03-27      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
     2
     3        * bestcomm/task_api/tasksetup_general.h,
     4        gen5200/include/mscan-base.h, gen5200/mscan/mscan-base.c,
     5        gen5200/irq/irq.c: Removed warnings
     6
    172010-03-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
    28
  • c/src/lib/libbsp/powerpc/gen5200/bestcomm/task_api/tasksetup_general.h

    rff8dd26 r4f5d1c9f  
    256256{
    257257        TaskId TaskNum;
     258#if ((MAX_BD>0)||(DEBUG_BESTCOMM_API>0))
    258259        uint32 Status = 0;
    259 #if ((INCR_TYPE_SRC!=0)||(INCR_TYPE_DST!=0)||(DEBUG_BESTCOMM_API>0))
     260#endif
     261#if ((MAX_BD>0)&&((INCR_TYPE_SRC!=0)||(INCR_TYPE_DST!=0))||(DEBUG_BESTCOMM_API>0))
    260262        uint8  NumPtr = 0;
    261263#endif
  • c/src/lib/libbsp/powerpc/gen5200/include/mscan-base.h

    rff8dd26 r4f5d1c9f  
    265265void mscan_sleep_mode_leave( mscan *m);
    266266
    267 uint8_t *mscan_id_acceptance_register( mscan *m, unsigned i);
    268 
    269 uint8_t *mscan_id_mask_register( mscan *m, unsigned i);
     267volatile uint8_t *mscan_id_acceptance_register( mscan *m, unsigned i);
     268
     269volatile uint8_t *mscan_id_mask_register( mscan *m, unsigned i);
    270270
    271271unsigned mscan_filter_number( mscan *m);
  • c/src/lib/libbsp/powerpc/gen5200/irq/irq.c

    rff8dd26 r4f5d1c9f  
    484484 * High level IRQ handler called from shared_raw_irq_code_entry
    485485 */
    486 int C_dispatch_irq_handler( CPU_Interrupt_frame * frame, unsigned int excNum)
     486int C_dispatch_irq_handler(BSP_Exception_frame *frame, unsigned excNum)
    487487{
    488488  register unsigned int irq;
     
    491491    per_mask;
    492492
     493#if (ALLOW_IRQ_NESTING == 1)
    493494  uint32_t msr;
     495#endif
    494496
    495497#if (BENCHMARK_IRQ_PROCESSING == 1)
  • c/src/lib/libbsp/powerpc/gen5200/mscan/mscan-base.c

    rff8dd26 r4f5d1c9f  
    443443 * @warning The index @a i is not checked if it is in range.
    444444 */
    445 uint8_t *mscan_id_acceptance_register( mscan *m, unsigned i)
    446 {
    447   uint8_t *idar [8] = {
     445volatile uint8_t *mscan_id_acceptance_register( mscan *m, unsigned i)
     446{
     447  volatile uint8_t *const idar [8] = {
    448448    &m->idar0,
    449449    &m->idar1,
     
    465465 * @warning The index @a i is not checked if it is in range.
    466466 */
    467 uint8_t *mscan_id_mask_register( mscan *m, unsigned i)
    468 {
    469   uint8_t *idmr [8] = {
     467volatile uint8_t *mscan_id_mask_register( mscan *m, unsigned i)
     468{
     469  volatile uint8_t *const idmr [8] = {
    470470    &m->idmr0,
    471471    &m->idmr1,
  • c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog

    rff8dd26 r4f5d1c9f  
     12010-03-27      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
     2
     3        * network/smsc9218i.c tests/tests.c: Removed warnings
     4
    152010-03-25      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
    26
  • c/src/lib/libbsp/powerpc/mpc55xxevb/network/smsc9218i.c

    rff8dd26 r4f5d1c9f  
    4949#include <bsp/irq.h>
    5050#include <bsp/utility.h>
     51#include <libcpu/powerpc-utility.h>
    5152#include <bsp/smsc9218i.h>
    5253
     
    294295}
    295296
     297#if defined(DEBUG)
    296298static void smsc9218i_register_dump(volatile smsc9218i_registers *regs)
    297299{
     
    403405  printf("phy: physcsr: 0x%08" PRIx32 "\n", smsc9218i_phy_read(regs, SMSC9218I_PHY_PHYSCSR));
    404406}
     407#endif
    405408
    406409static void smsc9218i_interrupt_handler(void *arg)
     
    726729}
    727730
     731#if defined(DEBUG)
    728732static void smsc9218i_transmit_job_dump(
    729733  smsc9218i_transmit_job_control *jc,
     
    784788  );
    785789}
     790#endif /* defined(DEBUG) */
    786791
    787792static struct mbuf *smsc9218i_next_transmit_fragment(
     
    12511256}
    12521257
     1258#if defined(DEBUG)
    12531259static void smsc9218i_test_macros(void)
    12541260{
     
    12891295  }
    12901296}
     1297#endif
    12911298
    12921299static void smsc9218i_set_mac_address(
     
    14501457    smsc9218i_reset_signal(true);
    14511458
     1459#if defined(DEBUG)
    14521460    /* Register dump */
    14531461    smsc9218i_register_dump(regs);
     1462#endif
    14541463
    14551464    /* Set hardware configuration */
  • c/src/lib/libbsp/powerpc/mpc55xxevb/tests/tests.c

    rff8dd26 r4f5d1c9f  
    2222
    2323#include <rtems/irq.h>
    24 
    2524#include <mpc55xx/regs.h>
    2625#include <mpc55xx/mpc55xx.h>
     
    2827#include <mpc55xx/edma.h>
    2928
     29#include <bsp/irq-generic.h>
     30
    3031#include <libchip/spi-sd-card.h>
    3132
     
    3839
    3940#include <rtems/status-checks.h>
     41
     42#undef USE_DSPI_READER_WRITER
    4043
    4144static rtems_driver_address_table test_mpc55xx_drv_ops = {
     
    7578static unsigned char test_mpc55xx_dspi_reader_inbuf [MPC55XX_TEST_DSPI_BUFSIZE_CACHE_PROOF] __attribute__ ((aligned (32)));
    7679
     80#if defined(USE_DSPI_READER_WRITER)
    7781static rtems_task test_mpc55xx_dspi_writer( rtems_task_argument arg)
    7882{
     
    201205        RTEMS_CHECK_SC_TASK( sc, "rtems_task_delete");
    202206}
     207#endif /* defined(USE_DSPI_READER_WRITER) */
    203208
    204209rtems_task test_sd_card( rtems_task_argument arg);
     
    285290        RTEMS_CHECK_SC( sc, "rtems_semaphore_create");
    286291
    287         #if 0
     292#if defined(USE_DSPI_READER_WRITER)
    288293        rtems_id writer_task_id;
    289294        rtems_id reader_task_id;
     
    312317        sc = rtems_task_start( reader_task_id, test_mpc55xx_dspi_reader, 0);
    313318        RTEMS_CHECK_SC( sc, "rtems_task_start");
    314         #endif
     319#endif
    315320
    316321        rtems_id sd_card_task_id;
Note: See TracChangeset for help on using the changeset viewer.