Changeset b1392b0 in rtems for c/src/lib/libbsp/powerpc/ep1a


Ignore:
Timestamp:
May 10, 2005, 2:40:56 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
2241d99
Parents:
0ff08b1
Message:

Eliminate {un|}signed{8|16|32}.

Location:
c/src/lib/libbsp/powerpc/ep1a
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ep1a/console/console.c

    r0ff08b1 rb1392b0  
    264264{
    265265        char *s;
    266         unsigned32      Irql;
     266        uint32_t        Irql;
    267267
    268268        rtems_interrupt_disable(Irql);
     
    294294void
    295295DEBUG_puth(
    296     unsigned32 ulHexNum
     296    uint32_t ulHexNum
    297297    )
    298298{
    299299        unsigned long i,d;
    300         unsigned32 Irql;
     300        uint32_t Irql;
    301301
    302302        rtems_interrupt_disable(Irql);
  • c/src/lib/libbsp/powerpc/ep1a/console/init68360.c

    r0ff08b1 rb1392b0  
    2828void M360ExecuteRISC( volatile m360_t *m360, uint16_t command)
    2929{
    30         rtems_unsigned16 sr;
     30        uint16_t sr;
    3131
    3232        rtems_interrupt_disable(sr);
  • c/src/lib/libbsp/powerpc/ep1a/console/ns16550cfg.c

    r0ff08b1 rb1392b0  
    2222} uartReg;
    2323
    24 unsigned8 Read_ns16550_register(
    25   unsigned32  ulCtrlPort,
    26   unsigned8   ucRegNum
     24uint8_t Read_ns16550_register(
     25  uint32_t  ulCtrlPort,
     26  uint8_t   ucRegNum
    2727)
    2828{
    2929  struct uart_reg *p = (struct uart_reg *)ulCtrlPort;
    30   unsigned8  ucData;
     30  uint8_t  ucData;
    3131  ucData = p[ucRegNum].reg;
    3232  asm volatile("sync");
     
    3535
    3636void  Write_ns16550_register(
    37   unsigned32  ulCtrlPort,
    38   unsigned8   ucRegNum,
    39   unsigned8   ucData
     37  uint32_t  ulCtrlPort,
     38  uint8_t   ucRegNum,
     39  uint8_t   ucData
    4040)
    4141{
  • c/src/lib/libbsp/powerpc/ep1a/console/ns16550cfg.h

    r0ff08b1 rb1392b0  
    3737 */
    3838
    39 unsigned8 Read_ns16550_register(
    40   unsigned32  ulCtrlPort,
    41   unsigned8   ucRegNum
     39uint8_t Read_ns16550_register(
     40  uint32_t  ulCtrlPort,
     41  uint8_t   ucRegNum
    4242);
    4343
    4444void  Write_ns16550_register(
    45   unsigned32  ulCtrlPort,
    46   unsigned8   ucRegNum,
    47   unsigned8   ucData
     45  uint32_t  ulCtrlPort,
     46  uint8_t   ucRegNum,
     47  uint8_t   ucData
    4848);
    4949
  • c/src/lib/libbsp/powerpc/ep1a/console/rsPMCQ1.h

    r0ff08b1 rb1392b0  
    9797
    9898/*
    99 #define PMCQ1_Read_EPLD( _base, _reg ) ( *((unsigned long *) ((unsigned32)_base + _reg)) )
    100 #define PMCQ1_Write_EPLD( _base, _reg, _data ) *((unsigned long *) ((unsigned32)_base + _reg)) = _data
     99#define PMCQ1_Read_EPLD( _base, _reg ) ( *((unsigned long *) ((uint32_t)_base + _reg)) )
     100#define PMCQ1_Write_EPLD( _base, _reg, _data ) *((unsigned long *) ((uint32_t)_base + _reg)) = _data
    101101*/
    102102uint32_t PMCQ1_Read_EPLD( uint32_t base, uint32_t reg );
  • c/src/lib/libbsp/powerpc/ep1a/include/tm27.h

    r0ff08b1 rb1392b0  
    3939#define Cause_tm27_intr()  \
    4040  do { \
    41     unsigned32 _clicks = 8; \
     41    uint32_t _clicks = 8; \
    4242    asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
    4343  } while (0)
     
    4646#define Clear_tm27_intr() \
    4747  do { \
    48     unsigned32 _clicks = 0xffffffff; \
     48    uint32_t _clicks = 0xffffffff; \
    4949    asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
    5050   } while (0)
     
    5252#define Lower_tm27_intr() \
    5353  do { \
    54     unsigned32 _msr = 0; \
     54    uint32_t _msr = 0; \
    5555    _ISR_Set_level( 0 ); \
    5656    asm volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
  • c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c

    r0ff08b1 rb1392b0  
    4747
    4848void ShowBATS(){
    49   unsigned32 lower;
    50   unsigned32 upper;
     49  uint32_t lower;
     50  uint32_t upper;
    5151
    5252  __MFSPR(536, upper);
     
    100100 */
    101101
    102 unsigned32 VME_Slot1 = FALSE;
     102uint32_t VME_Slot1 = FALSE;
    103103
    104104/*
     
    201201 
    202202void bsp_postdriver_hook(void);
    203 void bsp_libc_init( void *, unsigned32, int );
     203void bsp_libc_init( void *, uint32_t, int );
    204204
    205205/*
     
    418418
    419419 /* tag the bottom (T. Straumann 6/36/2001 <strauman@slac.stanford.edu>) */
    420   *((unsigned32 *)stack) = 0;
     420  *((uint32_t *)stack) = 0;
    421421
    422422  /*
  • c/src/lib/libbsp/powerpc/ep1a/vme/vmeconfig.c

    r0ff08b1 rb1392b0  
    3636SPR_RO(DBAT0U)
    3737
    38 extern unsigned32 VME_Slot1;
     38extern uint32_t VME_Slot1;
    3939
    4040void
Note: See TracChangeset for help on using the changeset viewer.