Changeset 199e748 in rtems


Ignore:
Timestamp:
Nov 6, 2005, 9:22:09 AM (14 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
616d5d5
Parents:
7880193
Message:

Eliminate obsolete types.

Location:
cpukit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libi2c/libi2c.c

    r7880193 r199e748  
    22
    33/* libi2c Implementation */
     4
     5#if HAVE_CONFIG_H
     6#include "config.h"
     7#endif
    48
    59#include <string.h>
     
    381385
    382386rtems_status_code
    383 rtems_libi2c_send_start (unsigned32 minor)
     387rtems_libi2c_send_start (uint32_t minor)
    384388{
    385389  int rval;
     
    412416
    413417rtems_status_code
    414 rtems_libi2c_send_stop (unsigned32 minor)
     418rtems_libi2c_send_stop (uint32_t minor)
    415419{
    416420  rtems_status_code rval;
     
    429433
    430434rtems_status_code
    431 rtems_libi2c_send_addr (unsigned32 minor, int rw)
     435rtems_libi2c_send_addr (uint32_t minor, int rw)
    432436{
    433437  rtems_status_code sc;
     
    444448
    445449int
    446 rtems_libi2c_read_bytes (unsigned32 minor, unsigned char *bytes, int nbytes)
     450rtems_libi2c_read_bytes (uint32_t minor, unsigned char *bytes, int nbytes)
    447451{
    448452  int sc;
     
    459463
    460464int
    461 rtems_libi2c_write_bytes (unsigned32 minor, unsigned char *bytes, int nbytes)
     465rtems_libi2c_write_bytes (uint32_t minor, unsigned char *bytes, int nbytes)
    462466{
    463467  int sc;
     
    474478
    475479static int
    476 do_s_rw (unsigned32 minor, unsigned char *bytes, int nbytes, int rw)
     480do_s_rw (uint32_t minor, unsigned char *bytes, int nbytes, int rw)
    477481{
    478482  rtems_status_code sc;
     
    502506
    503507int
    504 rtems_libi2c_start_read_bytes (unsigned32 minor, unsigned char *bytes,
     508rtems_libi2c_start_read_bytes (uint32_t minor, unsigned char *bytes,
    505509                               int nbytes)
    506510{
     
    509513
    510514int
    511 rtems_libi2c_start_write_bytes (unsigned32 minor, unsigned char *bytes,
     515rtems_libi2c_start_write_bytes (uint32_t minor, unsigned char *bytes,
    512516                                int nbytes)
    513517{
     
    550554      char *str;
    551555      dev_t dev;
    552       unsigned32 mode;
     556      uint32_t mode;
    553557
    554558      /* found a free slot; encode slot + 1 ! */
  • cpukit/libi2c/libi2c.h

    r7880193 r199e748  
    5050  /* initiate transfer from (rw!=0) or to a device */
    5151  rtems_status_code (*send_addr) (rtems_libi2c_bus_t * bushdl,
    52                                   unsigned32 addr, int rw);
     52                                  uint32_t addr, int rw);
    5353  /* read a number of bytes */
    5454  int (*read_bytes) (rtems_libi2c_bus_t * bushdl, unsigned char *bytes,
     
    220220/* Send start, send address and read bytes */
    221221int
    222 rtems_libi2c_start_read_bytes (unsigned32 minor, unsigned char *bytes,
     222rtems_libi2c_start_read_bytes (uint32_t minor, unsigned char *bytes,
    223223                               int nbytes);
    224224
    225225/* Send start, send address and write bytes */
    226226int
    227 rtems_libi2c_start_write_bytes (unsigned32 minor, unsigned char *bytes,
     227rtems_libi2c_start_write_bytes (uint32_t minor, unsigned char *bytes,
    228228                                int nbytes);
    229229
  • cpukit/libnetworking/rtems/rtems_mii_ioctl.h

    r7880193 r199e748  
    2727 */
    2828typedef int (*rtems_mdio_read_func) (int phy, void *uarg, unsigned reg,
    29                                      unsigned32 * pval);
     29                                     uint32_t * pval);
    3030
    3131/* write mii register 'reg' at 'phy' (-1 meaning any/currently active)
     
    3333 */
    3434typedef int (*rtems_mdio_write_func) (int phy, void *uarg, unsigned reg,
    35                                       unsigned32 val);
     35                                      uint32_t val);
    3636
    3737/* Values to this must be provided by the driver */
  • cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c

    r7880193 r199e748  
    4545                 int *media)
    4646{
    47   unsigned32 bmcr, bmsr, bmcr2 = 0, bmsr2 = 0, anar, lpar;
     47  uint32_t bmcr, bmsr, bmcr2 = 0, bmsr2 = 0, anar, lpar;
    4848  int phy = IFM_INST (*media);
    4949  unsigned tmp;
  • cpukit/score/src/heap.c

    r7880193 r199e748  
    225225 * Return the size of allocated block.
    226226 */
    227 unsigned32 _Heap_Block_allocate(
     227uint32_t _Heap_Block_allocate(
    228228  Heap_Control* the_heap,
    229229  Heap_Block* the_block,
Note: See TracChangeset for help on using the changeset viewer.