diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-02-09 15:08:06 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-02-09 15:08:06 +0000 |
commit | 9f9412cc1636c49ac37ffb44aa1d4001ec0753be (patch) | |
tree | 8c486c0a95ef516b228f7fd717f4a105e0e66434 /cpukit | |
parent | Fixed FPGA interrupt handling. (diff) | |
download | rtems-9f9412cc1636c49ac37ffb44aa1d4001ec0753be.tar.bz2 |
Use size_t for stack-sizes.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/tasks.h | 4 | ||||
-rw-r--r-- | cpukit/rtems/src/taskcreate.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/tasks.h b/cpukit/rtems/include/rtems/rtems/tasks.h index c4a3a9dc0d..03091ed6ab 100644 --- a/cpukit/rtems/include/rtems/rtems/tasks.h +++ b/cpukit/rtems/include/rtems/rtems/tasks.h @@ -140,7 +140,7 @@ typedef rtems_task ( *rtems_task_entry )( typedef struct { rtems_name name; /* task name */ - uint32_t stack_size; /* task stack size */ + size_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 */ @@ -206,7 +206,7 @@ void _RTEMS_tasks_Manager_initialization( rtems_status_code rtems_task_create( rtems_name name, rtems_task_priority initial_priority, - uint32_t stack_size, + size_t stack_size, rtems_mode initial_modes, rtems_attribute attribute_set, Objects_Id *id diff --git a/cpukit/rtems/src/taskcreate.c b/cpukit/rtems/src/taskcreate.c index 5360d980b4..982ed549d8 100644 --- a/cpukit/rtems/src/taskcreate.c +++ b/cpukit/rtems/src/taskcreate.c @@ -57,7 +57,7 @@ rtems_status_code rtems_task_create( rtems_name name, rtems_task_priority initial_priority, - uint32_t stack_size, + size_t stack_size, rtems_mode initial_modes, rtems_attribute attribute_set, Objects_Id *id |