Changeset dac4208 in rtems


Ignore:
Timestamp:
03/31/04 03:47:07 (20 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
2a832d8
Parents:
ffe6331
Message:

2004-03-31 Ralf Corsepius <ralf_corsepius@…>

  • PCI_bus/PCI.c, PCI_bus/PCI.h, PCI_bus/flash.c, PCI_bus/universe.c, clock/clock.c, console/85c30.c, console/console.c, console/consolebsp.h, include/bsp.h, include/gen2.h, startup/FPGA.c, startup/Hwr_init.c, startup/bspstart.c, startup/genpvec.c, startup/spurious.c, startup/vmeintr.c, timer/timer.c, tod/tod.c: Convert to using c99 fixed size types.
Location:
c/src/lib/libbsp/powerpc/score603e
Files:
19 edited

Legend:

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

    rffe6331 rdac4208  
     12004-03-31      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * PCI_bus/PCI.c, PCI_bus/PCI.h, PCI_bus/flash.c, PCI_bus/universe.c,
     4        clock/clock.c, console/85c30.c, console/console.c,
     5        console/consolebsp.h, include/bsp.h, include/gen2.h, startup/FPGA.c,
     6        startup/Hwr_init.c, startup/bspstart.c, startup/genpvec.c,
     7        startup/spurious.c, startup/vmeintr.c, timer/timer.c, tod/tod.c:
     8        Convert to using c99 fixed size types.
     9
    1102004-02-19      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    211
  • c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.c

    rffe6331 rdac4208  
    3636 */
    3737void PCI_bus_write(
    38   volatile rtems_unsigned32 * _addr,                  /* IN */
    39   rtems_unsigned32 _data                              /* IN */
     38  volatile uint32_t        * _addr,                  /* IN */
     39  uint32_t        _data                              /* IN */
    4040)
    4141{
     
    4444}
    4545
    46 rtems_unsigned32 PCI_bus_read(
    47   volatile rtems_unsigned32 *  _addr                  /* IN */
     46uint32_t        PCI_bus_read(
     47  volatile uint32_t        *  _addr                  /* IN */
    4848)
    4949{
    50   rtems_unsigned32 data;
     50  uint32_t        data;
    5151 
    5252  data = *_addr;
     
    5959 */
    6060
    61 rtems_unsigned32 Read_pci_device_register(
    62   rtems_unsigned32 address
     61uint32_t        Read_pci_device_register(
     62  uint32_t        address
    6363)
    6464{
    65   rtems_unsigned32 data;
     65  uint32_t        data;
    6666
    6767  /*
    6868   * Write the PCI configuration address
    6969   */
    70    PCI_bus_write( (volatile rtems_unsigned32 *)SCORE603E_PCI_IO_CFG_ADDR, address );
     70   PCI_bus_write( (volatile uint32_t*)SCORE603E_PCI_IO_CFG_ADDR, address );
    7171 
    7272  /*
     
    7878   * read data
    7979   */
    80   data = PCI_bus_read( (volatile rtems_unsigned32 *)SCORE603E_PCI_IO_CFG_DATA );
     80  data = PCI_bus_read( (volatile uint32_t*)SCORE603E_PCI_IO_CFG_DATA );
    8181 
    8282  return data;
     
    8484
    8585void  Write_pci_device_register(
    86   rtems_unsigned32 address,
    87   rtems_unsigned32 data
     86  uint32_t        address,
     87  uint32_t        data
    8888)
    8989{
     
    9191   * Write the PCI configuration address
    9292   */
    93    PCI_bus_write( (volatile rtems_unsigned32 *)SCORE603E_PCI_IO_CFG_ADDR, address );
     93   PCI_bus_write( (volatile uint32_t*)SCORE603E_PCI_IO_CFG_ADDR, address );
    9494 
    9595  /*
     
    101101   * write data
    102102   */
    103   PCI_bus_write( (volatile rtems_unsigned32 *)SCORE603E_PCI_IO_CFG_DATA, data );
     103  PCI_bus_write( (volatile uint32_t*)SCORE603E_PCI_IO_CFG_DATA, data );
    104104}
    105105
  • c/src/lib/libbsp/powerpc/score603e/PCI_bus/PCI.h

    rffe6331 rdac4208  
    2121
    2222void PCI_bus_write(
    23   volatile rtems_unsigned32 * _addr,
    24   rtems_unsigned32 _data
     23  volatile uint32_t        * _addr,
     24  uint32_t        _data
    2525);
    2626
    27 rtems_unsigned32 PCI_bus_read(
    28   volatile rtems_unsigned32 *  _addr
     27uint32_t        PCI_bus_read(
     28  volatile uint32_t        *  _addr
    2929);
    3030
    31 rtems_unsigned32 Read_pci_device_register(
    32   rtems_unsigned32 address
     31uint32_t        Read_pci_device_register(
     32  uint32_t        address
    3333);
    3434
    3535void  Write_pci_device_register(
    36   rtems_unsigned32 address,
    37   rtems_unsigned32 data
     36  uint32_t        address,
     37  uint32_t        data
    3838);
    3939
  • c/src/lib/libbsp/powerpc/score603e/PCI_bus/flash.c

    rffe6331 rdac4208  
    1919
    2020unsigned int SCORE603e_FLASH_Disable(
    21   rtems_unsigned32               area                           /* IN  */
     21  uint32_t                       area                           /* IN  */
    2222)
    2323{
    24   rtems_unsigned8 value;
     24  uint8_t        value;
    2525 
    2626  value = *SCORE603E_BOARD_CTRL_REG;
     
    3333unsigned int SCORE603e_FLASH_verify_enable()
    3434{
    35   volatile rtems_unsigned8 *Ctrl_Status_Register =
     35  volatile uint8_t        *Ctrl_Status_Register =
    3636           (void *)SCORE603E_BOARD_CTRL_REG;
    37   rtems_unsigned8  ctrl_value;
    38   rtems_unsigned32 pci_value;
     37  uint8_t          ctrl_value;
     38  uint32_t        pci_value;
    3939
    4040  ctrl_value = *Ctrl_Status_Register;
     
    6060
    6161unsigned int SCORE603e_FLASH_pci_reset_reg(
    62   rtems_unsigned8  reg,
    63   rtems_unsigned32 cmask,
    64   rtems_unsigned32 mask
     62  uint8_t          reg,
     63  uint32_t        cmask,
     64  uint32_t        mask
    6565)
    6666{
    67   rtems_unsigned32 pci_value;
    68   rtems_unsigned32 value;
     67  uint32_t        pci_value;
     68  uint32_t        value;
    6969
    7070  pci_value = Read_pci_device_register( reg );
     
    8484 */
    8585unsigned int SCORE603e_FLASH_Enable_writes(
    86   rtems_unsigned32               area                           /* IN  */
     86  uint32_t                       area                           /* IN  */
    8787)
    8888{
    89   rtems_unsigned8  ctrl_value;
    90   rtems_unsigned32 pci_value;
     89  uint8_t          ctrl_value;
     90  uint32_t        pci_value;
    9191
    9292  ctrl_value = *SCORE603E_BOARD_CTRL_REG;
  • c/src/lib/libbsp/powerpc/score603e/PCI_bus/universe.c

    rffe6331 rdac4208  
    3232
    3333typedef struct {
    34   rtems_unsigned32 PCI_ID;                 /* 0x80030000 */
    35   rtems_unsigned32 PCI_CSR;                /* 0x80030004 */
    36   rtems_unsigned32 PCI_CLASS;              /* 0x80030008 */
    37   rtems_unsigned32 PCI_MISC0;              /* 0x8003000C */
    38   rtems_unsigned32 PCI_BS;                 /* 0x80030010 */
    39   rtems_unsigned32 Buf_0x80030014[ 0x0A ]; /* 0x80030014 */
    40   rtems_unsigned32 PCI_MISC1;              /* 0x8003003C */
    41   rtems_unsigned32 Buf_0x80030040[ 0x30 ]; /* 0x80030040 */
    42   rtems_unsigned32 LSI0_CTL;               /* 0x80030100 */
    43   rtems_unsigned32 LSI0_BS;                /* 0x80030104 */
    44   rtems_unsigned32 LSI0_BD;                /* 0x80030108 */
    45   rtems_unsigned32 LSI0_TO;                /* 0x8003010C */
    46   rtems_unsigned32 Buf_0x80030110;         /* 0x80030110 */
    47   rtems_unsigned32 LSI1_CTL;               /* 0x80030114 */
    48   rtems_unsigned32 LSI1_BS;                /* 0x80030118 */
    49   rtems_unsigned32 LSI1_BD;                /* 0x8003011C */
    50   rtems_unsigned32 LSI1_TO;                /* 0x80030120 */
    51   rtems_unsigned32 Buf_0x80030124;         /* 0x80030124 */
    52   rtems_unsigned32 LSI2_CTL;               /* 0x80030128 */
    53   rtems_unsigned32 LSI2_BS;                /* 0x8003012C */
    54   rtems_unsigned32 LSI2_BD;                /* 0x80030130 */
    55   rtems_unsigned32 LSI2_TO;                /* 0x80030134 */
    56   rtems_unsigned32 Buf_0x80030138;         /* 0x80030138 */
    57   rtems_unsigned32 LSI3_CTL;               /* 0x8003013C */
    58   rtems_unsigned32 LSI3_BS;                /* 0x80030140 */
    59   rtems_unsigned32 LSI3_BD;                /* 0x80030144 */
    60   rtems_unsigned32 LSI3_TO;                /* 0x80030148 */
    61   rtems_unsigned32 Buf_0x8003014C[ 0x09 ]; /* 0x8003014C */
    62   rtems_unsigned32 SCYC_CTL;               /* 0x80030170 */
    63   rtems_unsigned32 SCYC_ADDR;              /* 0x80030174 */
    64   rtems_unsigned32 SCYC_EN;                /* 0x80030178 */
    65   rtems_unsigned32 SCYC_CMP;               /* 0x8003017C */
    66   rtems_unsigned32 SCYC_SWP;               /* 0x80030180 */
    67   rtems_unsigned32 LMISC;                  /* 0x80030184 */
    68   rtems_unsigned32 SLSI;                   /* 0x80030188 */
    69   rtems_unsigned32 L_CMDERR;               /* 0x8003018C */
    70   rtems_unsigned32 LAERR;                  /* 0x80030190 */
    71   rtems_unsigned32 Buf_0x80030194[ 0x1B ]; /* 0x80030194 */
    72   rtems_unsigned32 DCTL;                   /* 0x80030200 */
    73   rtems_unsigned32 DTBC;                   /* 0x80030204 */
    74   rtems_unsigned32 DLA;                    /* 0x80030208 */
    75   rtems_unsigned32 Buf_0x8003020C;         /* 0x8003020C */
    76   rtems_unsigned32 DVA;                    /* 0x80030210 */
    77   rtems_unsigned32 Buf_0x80030214;         /* 0x80030214 */
    78   rtems_unsigned32 DCPP;                   /* 0x80030218 */
    79   rtems_unsigned32 Buf_0x8003021C;         /* 0x8003021C */
    80   rtems_unsigned32 DGCS;                   /* 0x80030220 */
    81   rtems_unsigned32 D_LLUE;                 /* 0x80030224 */
    82   rtems_unsigned32 Buf_0x80030228[ 0x36 ]; /* 0x80030228 */
    83   rtems_unsigned32 LINT_EN;                /* 0x80030300 */
    84   rtems_unsigned32 LINT_STAT;              /* 0x80030304 */
    85   rtems_unsigned32 LINT_MAP0;              /* 0x80030308 */
    86   rtems_unsigned32 LINT_MAP1;              /* 0x8003030C */
    87   rtems_unsigned32 VINT_EN;                /* 0x80030310 */
    88   rtems_unsigned32 VINT_STAT;              /* 0x80030314 */
    89   rtems_unsigned32 VINT_MAP0;              /* 0x80030318 */
    90   rtems_unsigned32 VINT_MAP1;              /* 0x8003031C */
    91   rtems_unsigned32 STATID;                 /* 0x80030320 */
    92   rtems_unsigned32 V1_STATID;              /* 0x80030324 */
    93   rtems_unsigned32 V2_STATID;              /* 0x80030328 */
    94   rtems_unsigned32 V3_STATID;              /* 0x8003032C */
    95   rtems_unsigned32 V4_STATID;              /* 0x80030330 */
    96   rtems_unsigned32 V5_STATID;              /* 0x80030334 */
    97   rtems_unsigned32 V6_STATID;              /* 0x80030338 */
    98   rtems_unsigned32 V7_STATID;              /* 0x8003033C */
    99   rtems_unsigned32 Buf_0x80030340[ 0x30 ]; /* 0x80030340 */
    100   rtems_unsigned32 MAST_CTL;               /* 0x80030400 */
    101   rtems_unsigned32 MISC_CTL;               /* 0x80030404 */
    102   rtems_unsigned32 MISC_STAT;              /* 0x80030408 */
    103   rtems_unsigned32 USER_AM;                /* 0x8003040C */
    104   rtems_unsigned32 Buf_0x80030410[ 0x2bc ];/* 0x80030410 */
    105   rtems_unsigned32 VSI0_CTL;               /* 0x80030F00 */
    106   rtems_unsigned32 VSI0_BS;                /* 0x80030F04 */
    107   rtems_unsigned32 VSI0_BD;                /* 0x80030F08 */
    108   rtems_unsigned32 VSI0_TO;                /* 0x80030F0C */
    109   rtems_unsigned32 Buf_0x80030f10;         /* 0x80030F10 */
    110   rtems_unsigned32 VSI1_CTL;               /* 0x80030F14 */
    111   rtems_unsigned32 VSI1_BS;                /* 0x80030F18 */
    112   rtems_unsigned32 VSI1_BD;                /* 0x80030F1C */
    113   rtems_unsigned32 VSI1_TO;                /* 0x80030F20 */
    114   rtems_unsigned32 Buf_0x80030F24;         /* 0x80030F24 */
    115   rtems_unsigned32 VSI2_CTL;               /* 0x80030F28 */
    116   rtems_unsigned32 VSI2_BS;                /* 0x80030F2C */
    117   rtems_unsigned32 VSI2_BD;                /* 0x80030F30 */
    118   rtems_unsigned32 VSI2_TO;                /* 0x80030F34 */
    119   rtems_unsigned32 Buf_0x80030F38;         /* 0x80030F38 */
    120   rtems_unsigned32 VSI3_CTL;               /* 0x80030F3C */
    121   rtems_unsigned32 VSI3_BS;                /* 0x80030F40 */
    122   rtems_unsigned32 VSI3_BD;                /* 0x80030F44 */
    123   rtems_unsigned32 VSI3_TO;                /* 0x80030F48 */
    124   rtems_unsigned32 Buf_0x80030F4C[ 0x9 ];  /* 0x80030F4C */
    125   rtems_unsigned32 VRAI_CTL;               /* 0x80030F70 */
    126   rtems_unsigned32 VRAI_BS;                /* 0x80030F74 */
    127   rtems_unsigned32 Buf_0x80030F78[ 0x2 ];  /* 0x80030F78 */
    128   rtems_unsigned32 VCSR_CTL;               /* 0x80030F80 */
    129   rtems_unsigned32 VCSR_TO;                /* 0x80030F84 */
    130   rtems_unsigned32 V_AMERR;                /* 0x80030F88 */
    131   rtems_unsigned32 VAERR;                  /* 0x80030F8C */
    132   rtems_unsigned32 Buf_0x80030F90[ 0x19 ]; /* 0x80030F90 */
    133   rtems_unsigned32 VCSR_CLR;               /* 0x80030FF4 */
    134   rtems_unsigned32 VCSR_SET;               /* 0x80030FF8 */
    135   rtems_unsigned32 VCSR_BS;                /* 0x80030FFC */
     34  uint32_t        PCI_ID;                 /* 0x80030000 */
     35  uint32_t        PCI_CSR;                /* 0x80030004 */
     36  uint32_t        PCI_CLASS;              /* 0x80030008 */
     37  uint32_t        PCI_MISC0;              /* 0x8003000C */
     38  uint32_t        PCI_BS;                 /* 0x80030010 */
     39  uint32_t        Buf_0x80030014[ 0x0A ]; /* 0x80030014 */
     40  uint32_t        PCI_MISC1;              /* 0x8003003C */
     41  uint32_t        Buf_0x80030040[ 0x30 ]; /* 0x80030040 */
     42  uint32_t        LSI0_CTL;               /* 0x80030100 */
     43  uint32_t        LSI0_BS;                /* 0x80030104 */
     44  uint32_t        LSI0_BD;                /* 0x80030108 */
     45  uint32_t        LSI0_TO;                /* 0x8003010C */
     46  uint32_t        Buf_0x80030110;         /* 0x80030110 */
     47  uint32_t        LSI1_CTL;               /* 0x80030114 */
     48  uint32_t        LSI1_BS;                /* 0x80030118 */
     49  uint32_t        LSI1_BD;                /* 0x8003011C */
     50  uint32_t        LSI1_TO;                /* 0x80030120 */
     51  uint32_t        Buf_0x80030124;         /* 0x80030124 */
     52  uint32_t        LSI2_CTL;               /* 0x80030128 */
     53  uint32_t        LSI2_BS;                /* 0x8003012C */
     54  uint32_t        LSI2_BD;                /* 0x80030130 */
     55  uint32_t        LSI2_TO;                /* 0x80030134 */
     56  uint32_t        Buf_0x80030138;         /* 0x80030138 */
     57  uint32_t        LSI3_CTL;               /* 0x8003013C */
     58  uint32_t        LSI3_BS;                /* 0x80030140 */
     59  uint32_t        LSI3_BD;                /* 0x80030144 */
     60  uint32_t        LSI3_TO;                /* 0x80030148 */
     61  uint32_t        Buf_0x8003014C[ 0x09 ]; /* 0x8003014C */
     62  uint32_t        SCYC_CTL;               /* 0x80030170 */
     63  uint32_t        SCYC_ADDR;              /* 0x80030174 */
     64  uint32_t        SCYC_EN;                /* 0x80030178 */
     65  uint32_t        SCYC_CMP;               /* 0x8003017C */
     66  uint32_t        SCYC_SWP;               /* 0x80030180 */
     67  uint32_t        LMISC;                  /* 0x80030184 */
     68  uint32_t        SLSI;                   /* 0x80030188 */
     69  uint32_t        L_CMDERR;               /* 0x8003018C */
     70  uint32_t        LAERR;                  /* 0x80030190 */
     71  uint32_t        Buf_0x80030194[ 0x1B ]; /* 0x80030194 */
     72  uint32_t        DCTL;                   /* 0x80030200 */
     73  uint32_t        DTBC;                   /* 0x80030204 */
     74  uint32_t        DLA;                    /* 0x80030208 */
     75  uint32_t        Buf_0x8003020C;         /* 0x8003020C */
     76  uint32_t        DVA;                    /* 0x80030210 */
     77  uint32_t        Buf_0x80030214;         /* 0x80030214 */
     78  uint32_t        DCPP;                   /* 0x80030218 */
     79  uint32_t        Buf_0x8003021C;         /* 0x8003021C */
     80  uint32_t        DGCS;                   /* 0x80030220 */
     81  uint32_t        D_LLUE;                 /* 0x80030224 */
     82  uint32_t        Buf_0x80030228[ 0x36 ]; /* 0x80030228 */
     83  uint32_t        LINT_EN;                /* 0x80030300 */
     84  uint32_t        LINT_STAT;              /* 0x80030304 */
     85  uint32_t        LINT_MAP0;              /* 0x80030308 */
     86  uint32_t        LINT_MAP1;              /* 0x8003030C */
     87  uint32_t        VINT_EN;                /* 0x80030310 */
     88  uint32_t        VINT_STAT;              /* 0x80030314 */
     89  uint32_t        VINT_MAP0;              /* 0x80030318 */
     90  uint32_t        VINT_MAP1;              /* 0x8003031C */
     91  uint32_t        STATID;                 /* 0x80030320 */
     92  uint32_t        V1_STATID;              /* 0x80030324 */
     93  uint32_t        V2_STATID;              /* 0x80030328 */
     94  uint32_t        V3_STATID;              /* 0x8003032C */
     95  uint32_t        V4_STATID;              /* 0x80030330 */
     96  uint32_t        V5_STATID;              /* 0x80030334 */
     97  uint32_t        V6_STATID;              /* 0x80030338 */
     98  uint32_t        V7_STATID;              /* 0x8003033C */
     99  uint32_t        Buf_0x80030340[ 0x30 ]; /* 0x80030340 */
     100  uint32_t        MAST_CTL;               /* 0x80030400 */
     101  uint32_t        MISC_CTL;               /* 0x80030404 */
     102  uint32_t        MISC_STAT;              /* 0x80030408 */
     103  uint32_t        USER_AM;                /* 0x8003040C */
     104  uint32_t        Buf_0x80030410[ 0x2bc ];/* 0x80030410 */
     105  uint32_t        VSI0_CTL;               /* 0x80030F00 */
     106  uint32_t        VSI0_BS;                /* 0x80030F04 */
     107  uint32_t        VSI0_BD;                /* 0x80030F08 */
     108  uint32_t        VSI0_TO;                /* 0x80030F0C */
     109  uint32_t        Buf_0x80030f10;         /* 0x80030F10 */
     110  uint32_t        VSI1_CTL;               /* 0x80030F14 */
     111  uint32_t        VSI1_BS;                /* 0x80030F18 */
     112  uint32_t        VSI1_BD;                /* 0x80030F1C */
     113  uint32_t        VSI1_TO;                /* 0x80030F20 */
     114  uint32_t        Buf_0x80030F24;         /* 0x80030F24 */
     115  uint32_t        VSI2_CTL;               /* 0x80030F28 */
     116  uint32_t        VSI2_BS;                /* 0x80030F2C */
     117  uint32_t        VSI2_BD;                /* 0x80030F30 */
     118  uint32_t        VSI2_TO;                /* 0x80030F34 */
     119  uint32_t        Buf_0x80030F38;         /* 0x80030F38 */
     120  uint32_t        VSI3_CTL;               /* 0x80030F3C */
     121  uint32_t        VSI3_BS;                /* 0x80030F40 */
     122  uint32_t        VSI3_BD;                /* 0x80030F44 */
     123  uint32_t        VSI3_TO;                /* 0x80030F48 */
     124  uint32_t        Buf_0x80030F4C[ 0x9 ];  /* 0x80030F4C */
     125  uint32_t        VRAI_CTL;               /* 0x80030F70 */
     126  uint32_t        VRAI_BS;                /* 0x80030F74 */
     127  uint32_t        Buf_0x80030F78[ 0x2 ];  /* 0x80030F78 */
     128  uint32_t        VCSR_CTL;               /* 0x80030F80 */
     129  uint32_t        VCSR_TO;                /* 0x80030F84 */
     130  uint32_t        V_AMERR;                /* 0x80030F88 */
     131  uint32_t        VAERR;                  /* 0x80030F8C */
     132  uint32_t        Buf_0x80030F90[ 0x19 ]; /* 0x80030F90 */
     133  uint32_t        VCSR_CLR;               /* 0x80030FF4 */
     134  uint32_t        VCSR_SET;               /* 0x80030FF8 */
     135  uint32_t        VCSR_BS;                /* 0x80030FFC */
    136136} Universe_Memory;
    137137
     
    156156void initialize_universe()
    157157{
    158   rtems_unsigned32 jumper_selection;
    159   rtems_unsigned32 pci_id;
     158  uint32_t        jumper_selection;
     159  uint32_t        pci_id;
    160160#if (SCORE603E_USE_SDS) | (SCORE603E_USE_OPEN_FIRMWARE) | (SCORE603E_USE_NONE)
    161   volatile rtems_unsigned32 universe_temp_value;
     161  volatile uint32_t        universe_temp_value;
    162162#endif
    163163 
     
    166166   */
    167167  jumper_selection = PCI_bus_read(
    168                      (volatile rtems_unsigned32 *)SCORE603E_VME_JUMPER_ADDR );
     168                     (volatile uint32_t*)SCORE603E_VME_JUMPER_ADDR );
    169169  jumper_selection = (jumper_selection >> 3) & 0x1f;
    170170
     
    250250 */
    251251void set_vme_base_address (
    252   rtems_unsigned32 base_address
     252  uint32_t        base_address
    253253)
    254254
    255   volatile rtems_unsigned32 temp;
     255  volatile uint32_t        temp;
    256256
    257257  /*
     
    282282 * Gets the VME base address
    283283 */
    284 rtems_unsigned32 get_vme_base_address ()
     284uint32_t        get_vme_base_address ()
    285285
    286   volatile rtems_unsigned32 temp;
     286  volatile uint32_t        temp;
    287287
    288288  temp = PCI_bus_read( &UNIVERSE->VSI0_BS );
     
    291291}
    292292
    293 rtems_unsigned32 get_vme_slave_size()
     293uint32_t        get_vme_slave_size()
    294294{
    295   volatile rtems_unsigned32 temp;
     295  volatile uint32_t        temp;
    296296  temp  =  PCI_bus_read( &UNIVERSE->VSI0_BD);
    297297  temp &= 0xFFFFF000;
     
    304304 * Note: The maximum size is up to 24 M bytes. (00000000 - 017FFFFF)
    305305 */
    306 void set_vme_slave_size (rtems_unsigned32 size)
     306void set_vme_slave_size (uint32_t        size)
    307307
    308   volatile rtems_unsigned32 temp;
     308  volatile uint32_t        temp;
    309309
    310310  if (size<0)
  • c/src/lib/libbsp/powerpc/score603e/clock/clock.c

    rffe6331 rdac4208  
    3333 */
    3434
    35 volatile rtems_unsigned32 Clock_driver_ticks;
     35volatile uint32_t        Clock_driver_ticks;
    3636
    3737/*
     
    3939 */
    4040
    41 rtems_unsigned32 Clock_Decrementer_value;
     41uint32_t        Clock_Decrementer_value;
    4242
    4343rtems_isr_entry  Old_ticker;
     
    204204)
    205205{
    206     rtems_unsigned32 isrlevel;
     206    uint32_t        isrlevel;
    207207    rtems_libio_ioctl_args_t *args = pargp;
    208208 
  • c/src/lib/libbsp/powerpc/score603e/console/85c30.c

    rffe6331 rdac4208  
    131131)
    132132{
    133   rtems_unsigned16        value;
     133  uint16_t                value;
    134134  volatile unsigned char *ctrl;
    135135  Console_Protocol        *Setup;
    136   rtems_unsigned16        baud_constant;
     136  uint16_t                baud_constant;
    137137
    138138  Setup = Port->Protocol;
     
    311311{
    312312  unsigned char       z8530_status;
    313   rtems_unsigned32    isrlevel;
     313  uint32_t            isrlevel;
    314314 
    315315  rtems_interrupt_disable( isrlevel );
     
    343343  volatile unsigned char  *csr;
    344344  unsigned char   z8530_status;
    345   rtems_unsigned8 data;
     345  uint8_t        data;
    346346
    347347  csr = Port->ctrl;
     
    381381)
    382382{
    383   rtems_unsigned16           status;
     383  uint16_t                   status;
    384384  volatile Console_Protocol *Protocol;
    385385  unsigned char              data;
  • c/src/lib/libbsp/powerpc/score603e/console/console.c

    rffe6331 rdac4208  
    8282  char *s;
    8383  int   console;
    84   volatile rtems_unsigned8 *csr;
     84  volatile uint8_t        *csr;
    8585
    8686  console = USE_FOR_CONSOLE;
     
    188188  int i;
    189189  volatile Ring_buffer_t *buffer;
    190   rtems_unsigned32 ch;
     190  uint32_t        ch;
    191191
    192192  for ( i=0 ; i < NUM_Z85C30_PORTS ; i++ ) {
     
    333333{
    334334  int nwrite = 0;
    335   volatile rtems_unsigned8 *csr;
     335  volatile uint8_t        *csr;
    336336  int                       port = minor;
    337337
     
    451451{
    452452  Console_Protocol   *protocol;
    453   rtems_unsigned32    isrlevel;
     453  uint32_t            isrlevel;
    454454
    455455  protocol = Port->Protocol;
  • c/src/lib/libbsp/powerpc/score603e/console/consolebsp.h

    rffe6331 rdac4208  
    7272
    7373typedef struct {
    74   rtems_unsigned32        baud_rate;         /* baud rate value */
     74  uint32_t                baud_rate;         /* baud rate value */
    7575  CONSOLE_Stop_bits        stop_bits;         
    7676  CONSOLE_Parity           parity;
     
    9191 */
    9292typedef struct {
    93   rtems_unsigned32       vector;
    94   rtems_unsigned32       clock_frequency;
    95   rtems_unsigned16       clock_x;
     93  uint32_t               vector;
     94  uint32_t               clock_frequency;
     95  uint16_t               clock_x;
    9696  CONSOLE_Clock_speed     clock_speed;
    9797} Chip_85C30_info;
  • c/src/lib/libbsp/powerpc/score603e/include/bsp.h

    rffe6331 rdac4208  
    9494#define Cause_tm27_intr()  \
    9595  do { \
    96     unsigned32 _clicks = 8; \
     96    uint32_t  _clicks = 8; \
    9797    asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
    9898  } while (0)
     
    101101#define Clear_tm27_intr() \
    102102  do { \
    103     unsigned32 _clicks = 0xffffffff; \
     103    uint32_t  _clicks = 0xffffffff; \
    104104    asm volatile( "mtdec %0" : "=r" ((_clicks)) : "r" ((_clicks)) ); \
    105105  } while (0)
     
    107107#define Lower_tm27_intr() \
    108108  do { \
    109     unsigned32 _msr = 0; \
     109    uint32_t  _msr = 0; \
    110110    _ISR_Set_level( 0 ); \
    111111    asm volatile( "mfmsr %0 ;" : "=r" (_msr) : "r" (_msr) ); \
     
    201201
    202202void initialize_PCI_bridge ();
    203 rtems_unsigned16 read_and_clear_irq ();
     203uint16_t        read_and_clear_irq ();
    204204void set_irq_mask(
    205   rtems_unsigned16 value
    206 );
    207 rtems_unsigned16 get_irq_mask();
     205  uint16_t        value
     206);
     207uint16_t        get_irq_mask();
    208208
    209209/*
     
    213213
    214214void set_irq_mask(
    215   rtems_unsigned16 value
    216 );
    217 
    218 rtems_unsigned16 get_irq_mask();
     215  uint16_t        value
     216);
     217
     218uint16_t        get_irq_mask();
    219219
    220220void unmask_irq(
    221   rtems_unsigned16 irq_idx
     221  uint16_t        irq_idx
    222222);
    223223
    224224void init_irq_data_register();
    225225
    226 rtems_unsigned16 read_and_clear_PMC_irq(
    227   rtems_unsigned16    irq
     226uint16_t        read_and_clear_PMC_irq(
     227  uint16_t            irq
    228228);
    229229
    230230rtems_boolean Is_PMC_IRQ(
    231   rtems_unsigned32   pmc_irq,
    232   rtems_unsigned16   status_word
    233 );
    234 
    235 rtems_unsigned16 read_and_clear_irq();
     231  uint32_t           pmc_irq,
     232  uint16_t           status_word
     233);
     234
     235uint16_t        read_and_clear_irq();
    236236
    237237/*
     
    243243
    244244unsigned int SCORE603e_FLASH_Disable(
    245   rtems_unsigned32               unused
     245  uint32_t                       unused
    246246);
    247247unsigned int SCORE603e_FLASH_verify_enable();
    248248unsigned int SCORE603e_FLASH_Enable_writes(
    249   rtems_unsigned32               area        /* Unused  */
     249  uint32_t                       area        /* Unused  */
    250250);
    251251
     
    259259extern rtems_configuration_table BSP_Configuration;     /* owned by BSP */
    260260extern rtems_cpu_table           Cpu_table;             /* owned by BSP */
    261 extern rtems_unsigned32          bsp_isr_level;
     261extern uint32_t                  bsp_isr_level;
    262262
    263263#endif /* ASM */
  • c/src/lib/libbsp/powerpc/score603e/include/gen2.h

    rffe6331 rdac4208  
    3333#define SCORE603E_TIMER_PORT_A         0xfd000004
    3434
    35 #define SCORE603E_BOARD_CTRL_REG       ((volatile rtems_unsigned8 *)0xfd00002c)
     35#define SCORE603E_BOARD_CTRL_REG       ((volatile uint8_t*)0xfd00002c)
    3636#define SCORE603E_BRD_FLASH_DISABLE_MASK     0x40
    3737
    38 #define SCORE603E_85C30_CTRL_0         ((volatile rtems_unsigned8 *)0xfe200020)
    39 #define SCORE603E_85C30_DATA_0         ((volatile rtems_unsigned8 *)0xfe200024)
    40 #define SCORE603E_85C30_CTRL_1         ((volatile rtems_unsigned8 *)0xfe200028)
    41 #define SCORE603E_85C30_DATA_1         ((volatile rtems_unsigned8 *)0xfe20002c)
    42 #define SCORE603E_85C30_CTRL_2         ((volatile rtems_unsigned8 *)0xfe200000)
    43 #define SCORE603E_85C30_DATA_2         ((volatile rtems_unsigned8 *)0xfe200004)
    44 #define SCORE603E_85C30_CTRL_3         ((volatile rtems_unsigned8 *)0xfe200008)
    45 #define SCORE603E_85C30_DATA_3         ((volatile rtems_unsigned8 *)0xfe20000c)
     38#define SCORE603E_85C30_CTRL_0         ((volatile uint8_t*)0xfe200020)
     39#define SCORE603E_85C30_DATA_0         ((volatile uint8_t*)0xfe200024)
     40#define SCORE603E_85C30_CTRL_1         ((volatile uint8_t*)0xfe200028)
     41#define SCORE603E_85C30_DATA_1         ((volatile uint8_t*)0xfe20002c)
     42#define SCORE603E_85C30_CTRL_2         ((volatile uint8_t*)0xfe200000)
     43#define SCORE603E_85C30_DATA_2         ((volatile uint8_t*)0xfe200004)
     44#define SCORE603E_85C30_CTRL_3         ((volatile uint8_t*)0xfe200008)
     45#define SCORE603E_85C30_DATA_3         ((volatile uint8_t*)0xfe20000c)
    4646
    4747/*
     
    5555
    5656#define SCORE603E_PCI_DEVICE_ADDRESS( _offset) \
    57          ((volatile rtems_unsigned32 *)( SCORE603E_PCI_PMC_DEVICE_BASE + _offset ))
     57         ((volatile uint32_t*)( SCORE603E_PCI_PMC_DEVICE_BASE + _offset ))
    5858 
    5959
    6060#define SCORE603E_PMC_SERIAL_ADDRESS( _offset )    \
    61         ((volatile rtems_unsigned8 *)(SCORE603E_PCI_REGISTER_BASE + _offset))
     61        ((volatile uint8_t*)(SCORE603E_PCI_REGISTER_BASE + _offset))
    6262
    6363/*
     
    151151 * FPGA Interupt Address Definations.
    152152 */
    153 #define SCORE603E_FPGA_VECT_DATA    ((volatile rtems_unsigned16 *)0xfd000040)
    154 #define SCORE603E_FPGA_BIT1_15_0    ((volatile rtems_unsigned16 *)0xfd000044)
    155 #define SCORE603E_FPGA_MASK_DATA    ((volatile rtems_unsigned16 *)0xfd000048)
    156 #define SCORE603E_FPGA_IRQ_INPUT    ((volatile rtems_unsigned16 *)0xfd00004c)
     153#define SCORE603E_FPGA_VECT_DATA    ((volatile uint16_t*)0xfd000040)
     154#define SCORE603E_FPGA_BIT1_15_0    ((volatile uint16_t*)0xfd000044)
     155#define SCORE603E_FPGA_MASK_DATA    ((volatile uint16_t*)0xfd000048)
     156#define SCORE603E_FPGA_IRQ_INPUT    ((volatile uint16_t*)0xfd00004c)
    157157
    158158/*
  • c/src/lib/libbsp/powerpc/score603e/startup/FPGA.c

    rffe6331 rdac4208  
    2525{
    2626#if (!SCORE603E_USE_DINK)
    27   rtems_unsigned16 mask, shift, data;
     27  uint16_t        mask, shift, data;
    2828
    2929  shift = SCORE603E_85C30_0_IRQ - Score_IRQ_First;
     
    4242
    4343void set_irq_mask(
    44   rtems_unsigned16 value
     44  uint16_t        value
    4545)
    4646{
    47   rtems_unsigned16  *loc;
     47  uint16_t          *loc;
    4848
    49   loc = (rtems_unsigned16  *)SCORE603E_FPGA_MASK_DATA;
     49  loc = (uint16_t*)SCORE603E_FPGA_MASK_DATA;
    5050
    5151  *loc = value;
    5252}
    5353
    54 rtems_unsigned16 get_irq_mask()
     54uint16_t        get_irq_mask()
    5555{
    56   rtems_unsigned16  *loc;
    57   rtems_unsigned16  value;
     56  uint16_t          *loc;
     57  uint16_t          value;
    5858
    59   loc =  (rtems_unsigned16  *)SCORE603E_FPGA_MASK_DATA;
     59  loc =  (uint16_t*)SCORE603E_FPGA_MASK_DATA;
    6060
    6161  value = *loc;
     
    6565
    6666void unmask_irq(
    67   rtems_unsigned16 irq_idx
     67  uint16_t        irq_idx
    6868)
    6969{
    70   rtems_unsigned16 value;
    71   rtems_unsigned32 mask_idx = irq_idx;
     70  uint16_t        value;
     71  uint32_t        mask_idx = irq_idx;
    7272
    7373  value = get_irq_mask();
     
    9393void init_irq_data_register()
    9494{
    95   rtems_unsigned32 index;
    96   rtems_unsigned32 i;
     95  uint32_t        index;
     96  uint32_t        i;
    9797
    9898#if (SCORE603E_USE_DINK)
     
    110110}
    111111
    112 rtems_unsigned16 read_and_clear_PMC_irq(
    113   rtems_unsigned16    irq
     112uint16_t        read_and_clear_PMC_irq(
     113  uint16_t            irq
    114114)
    115115{
    116   rtems_unsigned16    status_word = irq;
     116  uint16_t            status_word = irq;
    117117
    118118  status_word = (*SCORE603E_PMC_STATUS_ADDRESS);
     
    122122
    123123rtems_boolean Is_PMC_IRQ(
    124   rtems_unsigned32   pmc_irq,
    125   rtems_unsigned16   status_word
     124  uint32_t           pmc_irq,
     125  uint16_t           status_word
    126126)
    127127{
     
    149149}
    150150
    151 rtems_unsigned16 read_and_clear_irq()
     151uint16_t        read_and_clear_irq()
    152152{
    153   rtems_unsigned16    irq;
     153  uint16_t            irq;
    154154
    155155  irq = (*SCORE603E_FPGA_VECT_DATA);
  • c/src/lib/libbsp/powerpc/score603e/startup/Hwr_init.c

    rffe6331 rdac4208  
    5353
    5454typedef struct {
    55   rtems_unsigned32  counter_1_100;
    56   rtems_unsigned32  counter_hours;
    57   rtems_unsigned32  counter_min;
    58   rtems_unsigned32  counter_sec;
    59   rtems_unsigned32  counter_month;
    60   rtems_unsigned32  counter_date;
    61   rtems_unsigned32  counter_year;
    62   rtems_unsigned32  counter_day_of_week;
    63 
    64   rtems_unsigned32  RAM_1_100;
    65   rtems_unsigned32  RAM_hours;
    66   rtems_unsigned32  RAM_month;
    67   rtems_unsigned32  RAM_date;
    68   rtems_unsigned32  RAM_year;
    69   rtems_unsigned32  RAM_day_of_week;
    70 
    71   rtems_unsigned32  interupt_status_mask;
    72   rtems_unsigned32  command_register;
     55  uint32_t          counter_1_100;
     56  uint32_t          counter_hours;
     57  uint32_t          counter_min;
     58  uint32_t          counter_sec;
     59  uint32_t          counter_month;
     60  uint32_t          counter_date;
     61  uint32_t          counter_year;
     62  uint32_t          counter_day_of_week;
     63
     64  uint32_t          RAM_1_100;
     65  uint32_t          RAM_hours;
     66  uint32_t          RAM_month;
     67  uint32_t          RAM_date;
     68  uint32_t          RAM_year;
     69  uint32_t          RAM_day_of_week;
     70
     71  uint32_t          interupt_status_mask;
     72  uint32_t          command_register;
    7373}Harris_RTC;
    7474
     
    8585
    8686#if (SCORE603E_USE_SDS) | (SCORE603E_USE_OPEN_FIRMWARE) | (SCORE603E_USE_NONE)
    87   rtems_unsigned32 value;
     87  uint32_t        value;
    8888
    8989 /*
     
    175175void instruction_cache_enable ()
    176176{
    177   rtems_unsigned32 value;
     177  uint32_t        value;
    178178
    179179  /*
     
    190190void data_cache_enable ()
    191191{
    192   rtems_unsigned32 value;
     192  uint32_t        value;
    193193
    194194  /*
  • c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c

    rffe6331 rdac4208  
    3030rtems_configuration_table         BSP_Configuration;
    3131rtems_cpu_table                   Cpu_table;
    32 rtems_unsigned32                  bsp_isr_level;
     32uint32_t                          bsp_isr_level;
    3333
    3434/*
     
    3737
    3838void bsp_postdriver_hook(void);
    39 void bsp_libc_init( void *, unsigned32, int );
     39void bsp_libc_init( void *, uint32_t, int );
    4040
    4141/*PAGE
     
    5050{
    5151  extern int end;
    52   rtems_unsigned32 heap_start;
    53   rtems_unsigned32 heap_size;
    54 
    55   heap_start = (rtems_unsigned32) &end;
     52  uint32_t        heap_start;
     53  uint32_t        heap_size;
     54
     55  heap_start = (uint32_t) &end;
    5656  if (heap_start & (CPU_ALIGNMENT-1))
    5757    heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
     
    110110
    111111void initialize_PMC() {
    112   volatile rtems_unsigned32 *PMC_addr;
    113   rtems_unsigned8  data;
     112  volatile uint32_t        *PMC_addr;
     113  uint8_t          data;
    114114
    115115#if (0) /* First Values sent */
     
    129129   * Bit 0 and 1 HI cause Medium Loopback to occur.
    130130   */
    131   PMC_addr = (volatile rtems_unsigned32 *)
     131  PMC_addr = (volatile uint32_t*)
    132132        SCORE603E_PMC_SERIAL_ADDRESS( 0x100000 );
    133133  data = *PMC_addr;
     
    152152  *PMC_addr = (SCORE603E_PCI_REGISTER_BASE >> 24) & 0x3f;
    153153
    154   PMC_addr = (volatile rtems_unsigned32 *)
     154  PMC_addr = (volatile uint32_t*)
    155155      SCORE603E_PMC_SERIAL_ADDRESS( 0x100000 );
    156156  data = *PMC_addr;
     
    191191  unsigned char *work_space_start;
    192192  unsigned int  msr_value = 0x0000;
    193   volatile rtems_unsigned32 *ptr;
     193  volatile uint32_t        *ptr;
    194194
    195195  rtems_bsp_delay( 1000 );
     
    216216   Code = 0x4bf00002;         
    217217   for (Address = 0x100; Address <= 0xe00; Address += 0x100) {
    218      A_Vector = (unsigned32    *)Address;
     218     A_Vector = (uint32_t*)Address;
    219219     Code = 0x4bf00002 + Address;
    220220     *A_Vector = Code;
     
    222222   
    223223   for (Address = 0x1000; Address <= 0x1400; Address += 0x100) {
    224      A_Vector = (unsigned32    *)Address;
     224     A_Vector = (uint32_t*)Address;
    225225     Code = 0x4bf00002 + Address;
    226226     *A_Vector = Code;
     
    249249   */
    250250  /* org    dec_vector  - rfi */
    251   ptr = (rtems_unsigned32 *)0x900;
     251  ptr = (uint32_t*)0x900;
    252252  *ptr = 0x4c000064;
    253253
  • c/src/lib/libbsp/powerpc/score603e/startup/genpvec.c

    rffe6331 rdac4208  
    4848 */
    4949  EE_ISR_Type       ISR_Nodes [NUM_LIRQ_HANDLERS];
    50   rtems_unsigned16  Nodes_Used;
     50  uint16_t          Nodes_Used;
    5151  Chain_Control     ISR_Array  [NUM_LIRQ];
    5252
     
    9292)
    9393{
    94   rtems_unsigned16 vec_idx  = vector - Score_IRQ_First;
    95   rtems_unsigned32 index;
     94  uint16_t        vec_idx  = vector - Score_IRQ_First;
     95  uint32_t        index;
    9696 
    9797  assert  (Nodes_Used < NUM_LIRQ_HANDLERS);
     
    139139)
    140140{
    141  rtems_unsigned16    index;
     141 uint16_t            index;
    142142 EE_ISR_Type         *node;
    143  rtems_unsigned16    value;
     143 uint16_t            value;
    144144 char                err_msg[100];
    145145#if (HAS_PMC_PSC8)
    146  rtems_unsigned16    PMC_irq;
    147  rtems_unsigned16    check_irq;
    148  rtems_unsigned16    status_word;
     146 uint16_t            PMC_irq;
     147 uint16_t            check_irq;
     148 uint16_t            status_word;
    149149#endif
    150150
  • c/src/lib/libbsp/powerpc/score603e/startup/spurious.c

    rffe6331 rdac4208  
    173173void bsp_spurious_initialize()
    174174{
    175   rtems_unsigned32 trap;
     175  uint32_t        trap;
    176176
    177177  for ( trap=0 ; trap < PPC_IRQ_LAST ; trap++ ) {
     
    186186void bsp_set_trap_vectors( void )
    187187{
    188   volatile rtems_unsigned32 *ptr;
     188  volatile uint32_t        *ptr;
    189189
    190190  /* reset_vector  */
    191   ptr = (rtems_unsigned32 *)0x00100  ;
     191  ptr = (uint32_t*)0x00100  ;
    192192  *ptr = 0x48000000;
    193193
    194194  /* org    mach_vector  */
    195   ptr = (rtems_unsigned32 *)0x00200;
     195  ptr = (uint32_t*)0x00200;
    196196  *ptr = 0x48000000;
    197197
    198198  /* org    prot_vector  */
    199   ptr = (rtems_unsigned32 *)0x00300;
     199  ptr = (uint32_t*)0x00300;
    200200  *ptr = 0x48000000;
    201201
    202202  /* org    isi_vector  */
    203   ptr = (rtems_unsigned32 *)0x00400;
     203  ptr = (uint32_t*)0x00400;
    204204  *ptr = 0x48000000;
    205205
    206206  /* org    ext_vector  */
    207   ptr = (rtems_unsigned32 *)0x0500  ;
     207  ptr = (uint32_t*)0x0500  ;
    208208  *ptr = 0x48000000;
    209209
    210210  /* org    align_vector  */
    211   ptr = (rtems_unsigned32 *)0x00600  ;
     211  ptr = (uint32_t*)0x00600  ;
    212212  *ptr = 0x48000000;
    213213
    214214  /* org    prog_vector  */
    215   ptr = (rtems_unsigned32 *)0x00700  ;
     215  ptr = (uint32_t*)0x00700  ;
    216216  *ptr = 0x48000000;
    217217
    218218  /* org    float_vector  */
    219   ptr = (rtems_unsigned32 *)0x00800;
     219  ptr = (uint32_t*)0x00800;
    220220  *ptr = 0x48000000;
    221221
    222222  /* org    dec_vector  - rfi */
    223   ptr = (rtems_unsigned32 *)0x900;
     223  ptr = (uint32_t*)0x900;
    224224  *ptr = 0x4c000064;
    225225
    226226  /* org    sys_vector  */
    227   ptr = (rtems_unsigned32 *)0x0c00  ;
     227  ptr = (uint32_t*)0x0c00  ;
    228228  *ptr = 0x48000000;
    229229
    230230  /* org    trace_vector  */
    231   ptr = (rtems_unsigned32 *)0x0d00  ;
     231  ptr = (uint32_t*)0x0d00  ;
    232232  *ptr = 0x48000000;
    233233
    234234  /* org    itm_vector  */
    235   ptr = (rtems_unsigned32 *)0x01000  ;
     235  ptr = (uint32_t*)0x01000  ;
    236236  *ptr = 0x48000000;
    237237
    238238  /* org    dltm_vector  */
    239   ptr = (rtems_unsigned32 *)0x01100  ;
     239  ptr = (uint32_t*)0x01100  ;
    240240  *ptr = 0x48000000;
    241241
    242242  /* org    dstm_vector  */
    243   ptr = (rtems_unsigned32 *)0x1200  ;
     243  ptr = (uint32_t*)0x1200  ;
    244244  *ptr = 0x48000000;
    245245
    246246  /* org    addr_vector  */
    247   ptr = (rtems_unsigned32 *)0x1300  ;
     247  ptr = (uint32_t*)0x1300  ;
    248248  *ptr = 0x48000000;
    249249
    250250  /* org    sysmgmt_vector  */
    251   ptr = (rtems_unsigned32 *)0x1400  ;
    252   *ptr = 0x48000000;
    253 
    254 }
    255 
    256 
    257 
    258 
    259 
     251  ptr = (uint32_t*)0x1400  ;
     252  *ptr = 0x48000000;
     253
     254}
     255
     256
     257
     258
     259
  • c/src/lib/libbsp/powerpc/score603e/startup/vmeintr.c

    rffe6331 rdac4208  
    2727)
    2828{
    29   volatile rtems_unsigned8  *VME_interrupt_enable;
    30   rtems_unsigned8  value;
     29  volatile uint8_t          *VME_interrupt_enable;
     30  uint8_t          value;
    3131
    3232#if 0
     
    5252)
    5353{
    54   volatile rtems_unsigned8  *VME_interrupt_enable;
    55   rtems_unsigned8  value;
     54  volatile uint8_t          *VME_interrupt_enable;
     55  uint8_t          value;
    5656
    5757#if 0
  • c/src/lib/libbsp/powerpc/score603e/timer/timer.c

    rffe6331 rdac4208  
    2222#include <bsp.h>
    2323
    24 rtems_unsigned64 Timer_driver_Start_time;
     24uint64_t        Timer_driver_Start_time;
    2525
    2626rtems_boolean Timer_driver_Find_average_overhead;
     
    4646int Read_timer()
    4747{
    48   rtems_unsigned64  clicks;
    49   rtems_unsigned64  total64;
    50   rtems_unsigned32  total;
     48  uint64_t          clicks;
     49  uint64_t          total64;
     50  uint32_t          total;
    5151
    5252  /* approximately CLOCK_SPEED clicks per microsecond */
     
    5858  total64 = clicks - Timer_driver_Start_time;
    5959
    60   assert( total64 <= 0xffffffff );  /* fits into a unsigned32 */
     60  assert( total64 <= 0xffffffff );  /* fits into a uint32_t  */
    6161
    62   total = (rtems_unsigned32) total64;
     62  total = (uint32_t) total64;
    6363
    6464  if ( Timer_driver_Find_average_overhead == 1 )
  • c/src/lib/libbsp/powerpc/score603e/tod/tod.c

    rffe6331 rdac4208  
    2626void ICM7170_GetTOD(
    2727  volatile unsigned char *imc1770_regs,
    28   rtems_unsigned8        icm1770_freq,
     28  uint8_t                icm1770_freq,
    2929  rtems_time_of_day      *rtc_tod
    3030);
    3131void ICM7170_SetTOD(
    3232  volatile unsigned char *imc1770_regs,
    33   rtems_unsigned8        icm1770_freq,
     33  uint8_t                icm1770_freq,
    3434  rtems_time_of_day      *rtc_tod
    3535);
     
    102102void ICM7170_GetTOD(
    103103  volatile unsigned char *imc1770_regs,
    104   rtems_unsigned8        icm1770_freq,
     104  uint8_t                icm1770_freq,
    105105  rtems_time_of_day      *rtc_tod
    106106)
     
    138138void ICM7170_SetTOD(
    139139  volatile unsigned char *imc1770_regs,
    140   rtems_unsigned8        icm1770_freq,
     140  uint8_t                icm1770_freq,
    141141  rtems_time_of_day      *rtc_tod
    142142)
Note: See TracChangeset for help on using the changeset viewer.