rtems_message_queue_create() not work...
Alexey N. Yerasov
erasov at mx.iki.rssi.ru
Tue Mar 20 16:16:11 UTC 2001
Hello!
I have this problem on rtems-4.5.0-release and rtems_snapshot.
My target i386-rtems
BSP pc386 and i386ex
Don't work compiled test sp13.exe and my test program in which:
I include in my "system.h":
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 4
...
rtems_id Queue_id[ 4 ];
rtems_name Queue_name[ 4 ];
Init.c:
#define MESSAGE_SIZE (sizeof(long) * 4)
...
puts ("INIT - Q1 start creating...");
Queue_name[ 1 ] = rtems_build_name( 'Q', '1', ' ', ' ' );
status = rtems_message_queue_create(
Queue_name[ 1 ],
100,
MESSAGE_SIZE,
RTEMS_DEFAULT_ATTRIBUTES,
&Queue_id[ 1 ]
);
directive_failed( status, "rtems_message_queue_create of Q1" );
puts ("INIT - Q1 complit creating...");
...
When my.exe started by GRUB Floppy for pc386 i see:
"INIT - Q1 start creating...
And PC stoped... :(
Help me, please!
Alexey N. Yerasov
Russia, Moscow ICQ:14316763 e-mail:erasov at mx.iki.rssi.ru
More information about the users
mailing list