mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 21:17:15 +08:00
2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mouse01/init.c: Account for extra message buffer size.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* mouse01/init.c: Account for extra message buffer size.
|
||||
|
||||
2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* ftp01/init.c: Account for extra FTP worker task stack sizes.
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
#include "termios_testdriver_intr.h"
|
||||
#include "tmacros.h"
|
||||
|
||||
#define UID_MESSAGE_COUNT 10
|
||||
|
||||
extern const char *Mouse_Type_Long;
|
||||
extern const char *Mouse_Type_Short;
|
||||
extern const unsigned char Mouse_Actions[];
|
||||
@@ -68,7 +70,7 @@ void register_it(void)
|
||||
char name[5] = "mous";
|
||||
|
||||
printf( "uid_open_queue() - mouse queue\n" );
|
||||
rc = uid_open_queue( name, 0, 10 );
|
||||
rc = uid_open_queue( name, 0, UID_MESSAGE_COUNT );
|
||||
rtems_test_assert( rc == 0 );
|
||||
|
||||
printf( "uid_register_device() - OK\n");
|
||||
@@ -155,6 +157,12 @@ rtems_task Init(
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 2
|
||||
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
|
||||
|
||||
#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
|
||||
CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( \
|
||||
UID_MESSAGE_COUNT, \
|
||||
sizeof(struct MW_UID_MESSAGE) \
|
||||
)
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
#define CONFIGURE_INIT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user