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:
Joel Sherrill
2008-09-08 21:47:23 +00:00
parent 92845aecf4
commit 8a33503890
3 changed files with 8 additions and 2 deletions

View File

@@ -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,

View File

@@ -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

View File

@@ -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
)