Changeset ce92867b in rtems
- Timestamp:
- 02/02/05 00:06:18 (19 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 043329e
- Parents:
- 1d386ff
- Location:
- cpukit
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
r1d386ff rce92867b 1 2005-02-01 Joel Sherrill <joel@OARcorp.com> 2 3 * libblock/include/rtems/bdbuf.h, 4 libblock/include/rtems/ide_part_table.h, libblock/src/blkdev.c, 5 libcsupport/include/rtems/termiostypes.h, libcsupport/src/termios.c, 6 posix/macros/rtems/posix/cond.inl, 7 posix/macros/rtems/posix/mutex.inl : Remove warnings. 8 1 9 2005-02-01 Ralf Corsepius <ralf.corsepius@rtems.org> 2 10 -
cpukit/libblock/include/rtems/bdbuf.h
r1d386ff rce92867b 55 55 blkdev_bnum block; /* block number on the device */ 56 56 57 char*buffer; /* Pointer to the buffer memory area */57 unsigned char *buffer; /* Pointer to the buffer memory area */ 58 58 rtems_status_code status; /* Last I/O operation completion status */ 59 59 int error; /* If status != RTEMS_SUCCESSFUL, this field contains … … 80 80 */ 81 81 typedef struct rtems_bdbuf_config { 82 int size; /* Size of block */ 83 int num; /* Number of blocks of appropriate size */ 84 char *mem_area; /* Pointer to the blocks location or NULL, in this 85 case memory for blocks will be allocated by 86 Buffering Layer with the help of RTEMS partition 87 manager */ 82 int size; /* Size of block */ 83 int num; /* Number of blocks of appropriate size */ 84 unsigned char *mem_area; 85 /* Pointer to the blocks location or NULL, in this 86 case memory for blocks will be allocated by 87 Buffering Layer with the help of RTEMS partition 88 manager */ 88 89 } rtems_bdbuf_config; 89 90 -
cpukit/libblock/include/rtems/ide_part_table.h
r1d386ff rce92867b 135 135 136 136 /* device name in /dev filesystem */ 137 uint8_tdev_name[RTEMS_IDE_PARTITION_DEV_NAME_LENGTH_MAX];137 char dev_name[RTEMS_IDE_PARTITION_DEV_NAME_LENGTH_MAX]; 138 138 139 139 uint32_t sector_size; /* size of sector */ -
cpukit/libblock/src/blkdev.c
r1d386ff rce92867b 34 34 int block_size_log2; 35 35 int block_size; 36 char *buf;36 unsigned char *buf; 37 37 unsigned int count; 38 38 unsigned int block; … … 94 94 int block_size_log2; 95 95 int block_size; 96 char *buf;96 unsigned char *buf; 97 97 unsigned int count; 98 98 unsigned int block; -
cpukit/libcsupport/include/rtems/termiostypes.h
r1d386ff rce92867b 160 160 * put a string to output ring buffer 161 161 */ 162 void rtems_termios_puts (const char*buf,162 void rtems_termios_puts (const void *buf, 163 163 int len, 164 164 struct rtems_termios_tty *tty); -
cpukit/libcsupport/src/termios.c
r1d386ff rce92867b 627 627 */ 628 628 void 629 rtems_termios_puts (const char *buf, int len, struct rtems_termios_tty *tty) 630 { 629 rtems_termios_puts ( 630 const void *_buf, int len, struct rtems_termios_tty *tty) 631 { 632 const unsigned char *buf = _buf; 631 633 unsigned int newHead; 632 634 rtems_interrupt_level level; … … 634 636 635 637 if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) { 636 (*tty->device.write)(tty->minor, buf, len);638 (*tty->device.write)(tty->minor, (void *)buf, len); 637 639 return; 638 640 } … … 1033 1035 /* XON should be sent now... */ 1034 1036 (*tty->device.write)(tty->minor, 1035 1036 1037 (void *)&(tty->termios.c_cc[VSTART]), 1038 1); 1037 1039 } 1038 1040 else if (tty->flow_ctrl & FL_MDRTS) { … … 1216 1218 tty->flow_ctrl |= FL_ISNTXOF; 1217 1219 (*tty->device.write)(tty->minor, 1218 1219 1220 (void *)&(tty->termios.c_cc[VSTOP]), 1221 1); 1220 1222 } 1221 1223 } … … 1271 1273 /* XOFF should be sent now... */ 1272 1274 (*tty->device.write)(tty->minor, 1273 &(tty->termios.c_cc[VSTOP]), 1);1275 (void *)&(tty->termios.c_cc[VSTOP]), 1); 1274 1276 1275 1277 rtems_interrupt_disable(level); … … 1291 1293 */ 1292 1294 (*tty->device.write)(tty->minor, 1293 &(tty->termios.c_cc[VSTART]), 1);1295 (void *)&(tty->termios.c_cc[VSTART]), 1); 1294 1296 1295 1297 rtems_interrupt_disable(level); -
cpukit/posix/macros/rtems/posix/cond.inl
r1d386ff rce92867b 77 77 78 78 79 static POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get ( 79 /* If we find a compiler that doesn't accept static inline functions, 80 * then this will have to move to a .c file. Until then, we will use this. 81 */ 82 static inline POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get ( 80 83 Objects_Id *id, 81 84 Objects_Locations *location -
cpukit/posix/macros/rtems/posix/mutex.inl
r1d386ff rce92867b 68 68 } while (0) 69 69 70 static POSIX_Mutex_Control * _POSIX_Mutex_Get( 70 /* If we find a compiler that doesn't accept static inline functions, 71 * then this will have to move to a .c file. Until then, we will use this. 72 */ 73 static inline POSIX_Mutex_Control * _POSIX_Mutex_Get( 71 74 Objects_Id *id, 72 75 Objects_Locations *location … … 79 82 } 80 83 81 static POSIX_Mutex_Control *_POSIX_Mutex_Get_interrupt_disable( 84 /* If we find a compiler that doesn't accept static inline functions, 85 * then this will have to move to a .c file. Until then, we will use this. 86 */ 87 static inline POSIX_Mutex_Control *_POSIX_Mutex_Get_interrupt_disable( 82 88 Objects_Id *id, 83 89 Objects_Locations *location,
Note: See TracChangeset
for help on using the changeset viewer.