summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/tasks.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-29 16:04:42 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-29 16:04:42 +0000
commit1d496f6eec4ff18ebfeba836059fa4a4f3a3916b (patch)
tree4a863bf73c2b0ade90c3865331db375904f45b93 /cpukit/rtems/include/rtems/rtems/tasks.h
parent2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-1d496f6eec4ff18ebfeba836059fa4a4f3a3916b.tar.bz2
2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org>
* rtems/include/rtems.h, rtems/include/rtems/rtems/asr.h, rtems/include/rtems/rtems/attr.h, rtems/include/rtems/rtems/clock.h, rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/dpmem.h, rtems/include/rtems/rtems/eventset.h, rtems/include/rtems/rtems/message.h, rtems/include/rtems/rtems/modes.h, rtems/include/rtems/rtems/msgmp.h, rtems/include/rtems/rtems/options.h, rtems/include/rtems/rtems/part.h, rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/region.h, rtems/include/rtems/rtems/regionmp.h, rtems/include/rtems/rtems/sem.h, rtems/include/rtems/rtems/support.h, rtems/include/rtems/rtems/taskmp.h, rtems/include/rtems/rtems/tasks.h, rtems/include/rtems/rtems/timer.h, rtems/inline/rtems/rtems/part.inl, rtems/inline/rtems/rtems/region.inl, rtems/macros/rtems/rtems/part.inl, rtems/src/attr.c, rtems/src/dpmem.c, rtems/src/dpmemcreate.c, rtems/src/dpmemexternal2internal.c, rtems/src/dpmeminternal2external.c, rtems/src/eventseize.c, rtems/src/msg.c, rtems/src/msgmp.c, rtems/src/msgqallocate.c, rtems/src/msgqbroadcast.c, rtems/src/msgqcreate.c, rtems/src/msgqflush.c, rtems/src/msgqgetnumberpending.c, rtems/src/msgqident.c, rtems/src/msgqreceive.c, rtems/src/msgqsend.c, rtems/src/msgqsubmit.c, rtems/src/msgqtranslatereturncode.c, rtems/src/msgqurgent.c, rtems/src/part.c, rtems/src/partcreate.c, rtems/src/partident.c, rtems/src/partmp.c, rtems/src/ratemon.c, rtems/src/region.c, rtems/src/regioncreate.c, rtems/src/regionextend.c, rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c, rtems/src/regionmp.c, rtems/src/regionreturnsegment.c, rtems/src/rtemstimer.c, rtems/src/sem.c, rtems/src/semcreate.c, rtems/src/semident.c, rtems/src/semmp.c, rtems/src/semobtain.c, rtems/src/semtranslatereturncode.c, rtems/src/taskcreate.c, rtems/src/taskgetnote.c, rtems/src/taskident.c, rtems/src/taskinitusers.c, rtems/src/taskmp.c, rtems/src/taskrestart.c, rtems/src/tasks.c, rtems/src/tasksetnote.c, rtems/src/taskstart.c, rtems/src/timerserver.c: Convert to using c99 fixed size types.
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/tasks.h')
-rw-r--r--cpukit/rtems/include/rtems/rtems/tasks.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/tasks.h b/cpukit/rtems/include/rtems/rtems/tasks.h
index e2448abc8f..dde8794465 100644
--- a/cpukit/rtems/include/rtems/rtems/tasks.h
+++ b/cpukit/rtems/include/rtems/rtems/tasks.h
@@ -118,7 +118,7 @@ typedef void rtems_task;
* The following defines the argument to an RTEMS task.
*/
-typedef unsigned32 rtems_task_argument;
+typedef uint32_t rtems_task_argument;
/*
* The following defines the type for the entry point of an RTEMS task.
@@ -137,12 +137,12 @@ typedef rtems_task ( *rtems_task_entry )(
typedef struct {
rtems_name name; /* task name */
- unsigned32 stack_size; /* task stack size */
+ uint32_t stack_size; /* task stack size */
rtems_task_priority initial_priority; /* task priority */
rtems_attribute attribute_set; /* task attributes */
rtems_task_entry entry_point; /* task entry point */
rtems_mode mode_set; /* task initial mode */
- unsigned32 argument; /* task argument */
+ uint32_t argument; /* task argument */
} rtems_initialization_tasks_table;
/*
@@ -152,7 +152,7 @@ typedef struct {
typedef struct {
- unsigned32 Notepads[ RTEMS_NUMBER_NOTEPADS ];
+ uint32_t Notepads[ RTEMS_NUMBER_NOTEPADS ];
rtems_event_set pending_events;
rtems_event_set event_condition;
ASR_Information Signal;
@@ -171,7 +171,7 @@ RTEMS_EXTERN Objects_Information _RTEMS_tasks_Information;
RTEMS_EXTERN rtems_initialization_tasks_table
*_RTEMS_tasks_User_initialization_tasks;
-RTEMS_EXTERN unsigned32 _RTEMS_tasks_Number_of_initialization_tasks;
+RTEMS_EXTERN uint32_t _RTEMS_tasks_Number_of_initialization_tasks;
/*
* _RTEMS_tasks_Manager_initialization
@@ -182,8 +182,8 @@ RTEMS_EXTERN unsigned32 _RTEMS_tasks_Number_of_initialization_tasks;
*/
void _RTEMS_tasks_Manager_initialization(
- unsigned32 maximum_tasks,
- unsigned32 number_of_initialization_tasks,
+ uint32_t maximum_tasks,
+ uint32_t number_of_initialization_tasks,
rtems_initialization_tasks_table *user_tasks
);
@@ -203,7 +203,7 @@ void _RTEMS_tasks_Manager_initialization(
rtems_status_code rtems_task_create(
rtems_name name,
rtems_task_priority initial_priority,
- unsigned32 stack_size,
+ uint32_t stack_size,
rtems_mode initial_modes,
rtems_attribute attribute_set,
Objects_Id *id
@@ -225,7 +225,7 @@ rtems_status_code rtems_task_create(
rtems_status_code rtems_task_ident(
rtems_name name,
- unsigned32 node,
+ uint32_t node,
Objects_Id *id
);
@@ -254,8 +254,8 @@ rtems_status_code rtems_task_delete(
rtems_status_code rtems_task_get_note(
Objects_Id id,
- unsigned32 notepad,
- unsigned32 *note
+ uint32_t notepad,
+ uint32_t *note
);
/*
@@ -270,8 +270,8 @@ rtems_status_code rtems_task_get_note(
rtems_status_code rtems_task_set_note(
Objects_Id id,
- unsigned32 notepad,
- unsigned32 note
+ uint32_t notepad,
+ uint32_t note
);
/*
@@ -303,7 +303,7 @@ rtems_status_code rtems_task_mode(
rtems_status_code rtems_task_restart(
Objects_Id id,
- unsigned32 arg
+ uint32_t arg
);
/*
@@ -362,7 +362,7 @@ rtems_status_code rtems_task_set_priority(
rtems_status_code rtems_task_start(
Objects_Id id,
rtems_task_entry entry_point,
- unsigned32 argument
+ uint32_t argument
);
/*