Changeset c01d95b7 in rtems for cpukit/libblock/include
- Timestamp:
- Jan 9, 2004, 3:40:54 PM (17 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 89b46875
- Parents:
- 4056604
- Location:
- cpukit/libblock/include/rtems
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libblock/include/rtems/blkdev.h
r4056604 rc01d95b7 28 28 29 29 /* Block device block number datatype */ 30 typedef rtems_unsigned32blkdev_bnum;30 typedef uint32_t blkdev_bnum; 31 31 32 32 /* Block device request type */ … … 52 52 */ 53 53 typedef struct blkdev_sg_buffer { 54 rtems_unsigned32length; /* Buffer length */54 uint32_t length; /* Buffer length */ 55 55 void *buffer; /* Buffer pointer */ 56 56 } blkdev_sg_buffer; … … 68 68 */ 69 69 blkdev_bnum start; /* Start block number */ 70 rtems_unsigned32count; /* Number of blocks to be exchanged */71 rtems_unsigned32bufnum; /* Number of buffers provided */70 uint32_t count; /* Number of blocks to be exchanged */ 71 uint32_t bufnum; /* Number of buffers provided */ 72 72 73 73 blkdev_sg_buffer bufs[0];/* List of scatter/gather buffers */ -
cpukit/libblock/include/rtems/ide_part_table.h
r4056604 rc01d95b7 80 80 typedef struct sector_data_s 81 81 { 82 u nsigned32sector_num; /* sector number on the device */83 u nsigned8data[0]; /* raw sector data */82 uint32_t sector_num; /* sector number on the device */ 83 uint8_t data[0]; /* raw sector data */ 84 84 } sector_data_t; 85 85 … … 116 116 */ 117 117 typedef struct part_desc_s { 118 u nsigned8bootable; /* is the partition active */119 u nsigned8sys_type; /* type of partition */120 u nsigned8log_id; /* logical number of partition */121 u nsigned32start; /* first partition sector, in absolute numeration */122 u nsigned32size; /* size in sectors */123 u nsigned32end; /* 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 */ 124 124 struct disk_desc_s *disk_desc; /* descriptor of disk, partition contains in */ 125 125 struct part_desc_s *ext_part; /* extended partition containing this one */ … … 135 135 136 136 /* device name in /dev filesystem */ 137 u nsigned8dev_name[RTEMS_IDE_PARTITION_DEV_NAME_LENGTH_MAX];137 uint8_t dev_name[RTEMS_IDE_PARTITION_DEV_NAME_LENGTH_MAX]; 138 138 139 u nsigned32sector_size; /* size of sector */140 u nsigned32sector_bits; /* the base-2 logarithm of sector_size */141 u nsigned32lba_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 */ 142 142 int last_log_id; /* used for logical disks enumerating */ 143 143
Note: See TracChangeset
for help on using the changeset viewer.