Changeset c01d95b7 in rtems for cpukit/libblock/include


Ignore:
Timestamp:
Jan 9, 2004, 3:40:54 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
89b46875
Parents:
4056604
Message:

2004-01-08 Ralf Corsepius <corsepiu@…>

  • include/rtems/blkdev.h, include/rtems/ide_part_table.h, src/bdbuf.c, src/ide_part_table.c, src/ramdisk.c: Switch to using c99 fixed size types instead of RTEMS-types.
Location:
cpukit/libblock/include/rtems
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/include/rtems/blkdev.h

    r4056604 rc01d95b7  
    2828
    2929/* Block device block number datatype */
    30 typedef rtems_unsigned32 blkdev_bnum;
     30typedef uint32_t  blkdev_bnum;
    3131
    3232/* Block device request type */
     
    5252 */
    5353typedef struct blkdev_sg_buffer {
    54     rtems_unsigned32 length;  /* Buffer length */
     54    uint32_t  length;  /* Buffer length */
    5555    void            *buffer;  /* Buffer pointer */
    5656} blkdev_sg_buffer;
     
    6868                                */
    6969    blkdev_bnum       start;    /* Start block number */
    70     rtems_unsigned32  count;    /* Number of blocks to be exchanged */
    71     rtems_unsigned32  bufnum;   /* Number of buffers provided */   
     70    uint32_t    count;    /* Number of blocks to be exchanged */
     71    uint32_t    bufnum;   /* Number of buffers provided */   
    7272   
    7373    blkdev_sg_buffer  bufs[0];/* List of scatter/gather buffers */
  • cpukit/libblock/include/rtems/ide_part_table.h

    r4056604 rc01d95b7  
    8080typedef struct sector_data_s
    8181{
    82     unsigned32 sector_num; /* sector number on the device */
    83     unsigned8  data[0]; /* raw sector data */
     82    uint32_t  sector_num; /* sector number on the device */
     83    uint8_t    data[0]; /* raw sector data */
    8484} sector_data_t;
    8585
     
    116116 */
    117117typedef struct part_desc_s {
    118     unsigned8           bootable; /* is the partition active */
    119     unsigned8           sys_type; /* type of partition */
    120     unsigned8           log_id; /* logical number of partition */
    121     unsigned32          start; /* first partition sector, in absolute numeration */
    122     unsigned32          size; /* size in sectors */
    123     unsigned32          end; /* last partition sector, end = start + size - 1 */
     118    uint8_t             bootable; /* is the partition active */
     119    uint8_t             sys_type; /* type of partition */
     120    uint8_t             log_id; /* logical number of partition */
     121    uint32_t            start; /* first partition sector, in absolute numeration */
     122    uint32_t            size; /* size in sectors */
     123    uint32_t            end; /* last partition sector, end = start + size - 1 */
    124124    struct disk_desc_s *disk_desc; /* descriptor of disk, partition contains in */
    125125    struct part_desc_s *ext_part; /* extended partition containing this one */
     
    135135
    136136    /* device name in /dev filesystem */
    137     unsigned8    dev_name[RTEMS_IDE_PARTITION_DEV_NAME_LENGTH_MAX];
     137    uint8_t      dev_name[RTEMS_IDE_PARTITION_DEV_NAME_LENGTH_MAX];
    138138
    139     unsigned32   sector_size; /* size of sector */
    140     unsigned32   sector_bits; /* the base-2 logarithm of sector_size */
    141     unsigned32   lba_size; /* total amount of sectors in lba address mode */
     139    uint32_t     sector_size; /* size of sector */
     140    uint32_t     sector_bits; /* the base-2 logarithm of sector_size */
     141    uint32_t     lba_size; /* total amount of sectors in lba address mode */
    142142    int          last_log_id; /* used for logical disks enumerating */
    143143
Note: See TracChangeset for help on using the changeset viewer.