From 3b14b7adabb5ef51e50dfea8357f574a2c5659e5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 8 Aug 2008 13:50:28 +0000 Subject: 2008-08-05 Sebastian Huber * libmisc/monitor/monitor.h, rtems/include/rtems/rtems/tasks.h, score/include/rtems/score/thread.h, score/src/threadreset.c, score/src/threadrestart.c, score/src/threadstart.c: New type Thread_Entry_numeric_type for numeric arguments in thread entry functions with at least one numeric argument. --- cpukit/libmisc/monitor/monitor.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'cpukit/libmisc') diff --git a/cpukit/libmisc/monitor/monitor.h b/cpukit/libmisc/monitor/monitor.h index 3e23c4d01b..ff88507adb 100644 --- a/cpukit/libmisc/monitor/monitor.h +++ b/cpukit/libmisc/monitor/monitor.h @@ -94,22 +94,22 @@ typedef struct { * Task */ typedef struct { - rtems_id id; - rtems_name name; + rtems_id id; + rtems_name name; /* end of common portion */ - Thread_Entry entry; - uint32_t argument; - void *stack; - uint32_t stack_size; - rtems_task_priority priority; - States_Control state; - rtems_event_set events; - rtems_mode modes; - rtems_attribute attributes; - uint32_t notepad[RTEMS_NUMBER_NOTEPADS]; - rtems_id wait_id; - uint32_t wait_args; - uint32_t ticks; + Thread_Entry entry; + Thread_Entry_numeric_type argument; + void *stack; + uint32_t stack_size; + rtems_task_priority priority; + States_Control state; + rtems_event_set events; + rtems_mode modes; + rtems_attribute attributes; + uint32_t notepad[RTEMS_NUMBER_NOTEPADS]; + rtems_id wait_id; + uint32_t wait_args; + uint32_t ticks; } rtems_monitor_task_t; /* -- cgit v1.2.3