mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-28 07:20:16 +00:00
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq02/init.c, psxmsgq02/psxmsgq02.scn: Open the message queue with create option so we are sure it will get a control block and proceed to allocate other memory. Clean up screen output.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* psxmsgq02/init.c, psxmsgq02/psxmsgq02.scn: Open the message queue
|
||||
with create option so we are sure it will get a control block and
|
||||
proceed to allocate other memory. Clean up screen output.
|
||||
|
||||
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* psx05/init.c: Add parameter to call to sched_get_priority_max().
|
||||
|
||||
@@ -54,8 +54,8 @@ void *POSIX_Init(
|
||||
|
||||
attr.mq_maxmsg = MAXMSG;
|
||||
attr.mq_msgsize = MSGSIZE;
|
||||
puts("Init: ENOMEM (Workspace not available)");
|
||||
mq = mq_open( Get_Longest_Name(), O_WRONLY, 0x777, &attr );
|
||||
puts("Init: mq_open - Workspace not available - ENOMEM");
|
||||
mq = mq_open( Get_Longest_Name(), O_CREAT, 0x777, &attr );
|
||||
fatal_posix_service_status_errno( mq, ENOMEM, "no workspace available" );
|
||||
|
||||
puts( "*** END OF POSIX MESSAGE QUEUE 02 TEST ***" );
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
*** POSIX MESSAGE QUEUE 02 TEST ***
|
||||
Init's ID is 0x0b010001
|
||||
Allocate_majority_of_workspace:
|
||||
Init: ENOMEM (Workspace not available)
|
||||
Init: mq_open - Workspace not available - ENOMEM
|
||||
*** END POSIX MESSAGE QUEUE 02 TEST ***
|
||||
|
||||
Reference in New Issue
Block a user