Changeset c819ea4 in rtems


Ignore:
Timestamp:
Jan 14, 2000, 2:44:11 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
752badac
Parents:
5890919
Message:

Removed numerous warnings.

Location:
c/src/lib/libbsp/powerpc/score603e
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/score603e/PCI_bus/universe.c

    r5890919 rc819ea4  
    163163  rtems_unsigned32 jumper_selection;
    164164  rtems_unsigned32 pci_id;
     165#if (SCORE603E_USE_SDS) | (SCORE603E_USE_OPEN_FIRMWARE) | (SCORE603E_USE_NONE)
    165166  volatile rtems_unsigned32 universe_temp_value;
     167#endif
    166168 
    167169  /*
  • c/src/lib/libbsp/powerpc/score603e/clock/clock.c

    r5890919 rc819ea4  
    171171                       (BSP_Configuration.microseconds_per_tick / 1000);
    172172
    173   Install_clock( Clock_isr );
     173  Install_clock( (rtems_isr_entry) Clock_isr );
    174174 
    175175  /*
  • c/src/lib/libbsp/powerpc/score603e/console/tbl85c30.c

    r5890919 rc819ea4  
    137137 },
    138138
    139 #if defined(HAS_PMC_PSC8)
     139#if (HAS_PMC_PSC8)
    140140  { 
    141141    (volatile unsigned char *) SCORE603E_85C30_CTRL_4,
  • c/src/lib/libbsp/powerpc/score603e/startup/Hwr_init.c

    r5890919 rc819ea4  
    8484void init_PCI()
    8585
     86#if (SCORE603E_USE_SDS) | (SCORE603E_USE_OPEN_FIRMWARE) | (SCORE603E_USE_NONE)
    8687  rtems_unsigned32 value;
    8788
    88 #if (SCORE603E_USE_SDS) | (SCORE603E_USE_OPEN_FIRMWARE) | (SCORE603E_USE_NONE)
    8989 /*
    9090  * NOTE:  Accessing any memory location not mapped by the BAT
  • c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c

    r5890919 rc819ea4  
    131131   * Bit 0 and 1 HI cause Medium Loopback to occur.
    132132   */
    133   PMC_addr =  SCORE603E_PMC_SERIAL_ADDRESS( 0x100000 );
     133  PMC_addr = (volatile rtems_unsigned32 *)
     134        SCORE603E_PMC_SERIAL_ADDRESS( 0x100000 );
    134135  data = *PMC_addr;
    135136  /*   *PMC_addr = data | 0x3;  */
     
    153154  *PMC_addr = (SCORE603E_PCI_REGISTER_BASE >> 24) & 0x3f;
    154155
    155   PMC_addr =  SCORE603E_PMC_SERIAL_ADDRESS( 0x100000 );
     156  PMC_addr = (volatile rtems_unsigned32 *)
     157      SCORE603E_PMC_SERIAL_ADDRESS( 0x100000 );
    156158  data = *PMC_addr;
    157159  *PMC_addr = data & 0xfc;
     
    171173void SCORE603e_bsp_postdriver_hook(void)
    172174{
     175  extern void Init_EE_mask_init(void);
    173176
    174177  bsp_postdriver_hook();
  • c/src/lib/libbsp/powerpc/score603e/startup/genpvec.c

    r5890919 rc819ea4  
    1818#include "chain.h"
    1919#include <assert.h>
     20
     21#include <stdio.h> /* for sprintf */
    2022
    2123
     
    142144 rtems_unsigned16    value;
    143145 char                err_msg[100];
     146#if (HAS_PMC_PSC8)
    144147 rtems_unsigned16    PMC_irq;
    145148 rtems_unsigned16    check_irq;
    146149 rtems_unsigned16    status_word;
     150#endif
    147151
    148152 index = read_and_clear_irq();
    149153 if ( index >= NUM_LIRQ ) {
    150    sprintf(err_msg,"ERROR:: Invalid interrupt number (%02x)\n", index);
    151    DEBUG_puts( err_msg);
     154   sprintf( err_msg, "ERROR:: Invalid interrupt number (%02x)\n", index );
     155   DEBUG_puts( err_msg );
    152156   return;
    153157 }
  • c/src/lib/libbsp/powerpc/score603e/tod/tod.c

    r5890919 rc819ea4  
    142142)
    143143{
    144   int ticks;
    145144  int year;
    146145
Note: See TracChangeset for help on using the changeset viewer.