mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-28 15:53:06 +08:00
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* fileio/init.c, fileio/system.h, ticker/system.h, ticker/tasks.c, unlimited/init.c, unlimited/test1.c, unlimited/test2.c, unlimited/test3.c: Convert to using c99 fixed size types.
This commit is contained in:
@@ -73,7 +73,7 @@ extern rtems_name Task_name[ 4 ]; /* array of task names */
|
||||
|
||||
#define put_name( _name, _crlf ) \
|
||||
do { \
|
||||
rtems_unsigned32 c0, c1, c2, c3; \
|
||||
uint32_t c0, c1, c2, c3; \
|
||||
\
|
||||
c0 = ((_name) >> 24) & 0xff; \
|
||||
c1 = ((_name) >> 16) & 0xff; \
|
||||
@@ -91,7 +91,7 @@ extern rtems_name Task_name[ 4 ]; /* array of task names */
|
||||
* static inline routine to make obtaining ticks per second easier.
|
||||
*/
|
||||
|
||||
static inline rtems_unsigned32 get_ticks_per_second( void )
|
||||
static inline uint32_t get_ticks_per_second( void )
|
||||
{
|
||||
rtems_interval ticks_per_second;
|
||||
(void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second ); return ticks_per_second;
|
||||
|
||||
@@ -27,7 +27,7 @@ rtems_task Test_task(
|
||||
{
|
||||
rtems_id tid;
|
||||
rtems_time_of_day time;
|
||||
rtems_unsigned32 task_index;
|
||||
uint32_t task_index;
|
||||
rtems_status_code status;
|
||||
|
||||
status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
|
||||
|
||||
Reference in New Issue
Block a user