Changeset 5a868873 in rtems


Ignore:
Timestamp:
Oct 26, 2011, 11:13:59 AM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
27620f44
Parents:
ad0e103
Message:

2011-10-26 Sebastian Huber <sebastian.huber@…>

  • mouse01/init.c: Account for extra message buffer size.
Location:
testsuites/libtests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/ChangeLog

    rad0e103 r5a868873  
     12011-10-26      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * mouse01/init.c: Account for extra message buffer size.
     4
    152011-10-26      Sebastian Huber <sebastian.huber@embedded-brains.de>
    26
  • testsuites/libtests/mouse01/init.c

    rad0e103 r5a868873  
    2727#include "termios_testdriver_intr.h"
    2828#include "tmacros.h"
     29
     30#define UID_MESSAGE_COUNT 10
    2931
    3032extern const char *Mouse_Type_Long;
     
    6971
    7072  printf( "uid_open_queue() - mouse queue\n" );
    71   rc = uid_open_queue( name, 0, 10 );
     73  rc = uid_open_queue( name, 0, UID_MESSAGE_COUNT );
    7274  rtems_test_assert( rc == 0 );
    7375
     
    156158#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
    157159
     160#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
     161  CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( \
     162    UID_MESSAGE_COUNT, \
     163    sizeof(struct MW_UID_MESSAGE) \
     164  )
     165
    158166#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    159167#define CONFIGURE_INIT
Note: See TracChangeset for help on using the changeset viewer.