mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm09/system.h, tm09/task1.c: Account for message buffer memory.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* tm09/system.h, tm09/task1.c: Account for message buffer memory.
|
||||
|
||||
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* tm01/Makefile.am, tm01/task1.c, tm02/Makefile.am, tm02/task1.c,
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
/* functions */
|
||||
|
||||
#define MESSAGE_SIZE (sizeof(long) * 4)
|
||||
|
||||
rtems_task Init(
|
||||
rtems_task_argument argument
|
||||
);
|
||||
@@ -32,6 +34,8 @@ rtems_task Init(
|
||||
#define CONFIGURE_MAXIMUM_TASKS 2
|
||||
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 0
|
||||
#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
|
||||
CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE(OPERATION_COUNT, MESSAGE_SIZE)
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
|
||||
@@ -47,8 +47,6 @@ rtems_task Init(
|
||||
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
|
||||
}
|
||||
|
||||
#define MESSAGE_SIZE (sizeof(long) * 4)
|
||||
|
||||
rtems_task Test_task (
|
||||
rtems_task_argument argument
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user