2001-11-07 Joel Sherrill <joel@OARcorp.com>

Tracked as PR72 but related to the object id problem (PR36)
	reported by Todor.Todorov@barco.com.
	* mp03/delay.c: Dispatch disable level is actually 1 not 0.
	* mp13/system.h: Configure enough tasks (CONFIGURE_MAXIMUM_TASKS=3).
	* mp14/delay.c: Dispatch disable level may be arbitrarily > 0.
This commit is contained in:
Joel Sherrill
2001-11-07 23:05:07 +00:00
parent 410b18c1f3
commit f883132802
3 changed files with 3 additions and 3 deletions

View File

@@ -26,5 +26,5 @@ rtems_timer_service_routine Delayed_send_event(
rtems_status_code status;
status = rtems_event_send( Task_id[ 1 ], RTEMS_EVENT_16 );
directive_failed( status, "rtems_event_send" );
directive_failed_with_level( status, "rtems_event_send", 1 );
}

View File

@@ -36,7 +36,7 @@ rtems_task Test_task2(
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_TASKS 3
#if ( NODE_NUMBER == 1 )
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1

View File

@@ -29,5 +29,5 @@ rtems_timer_service_routine Delayed_send_event(
Task_id[ rtems_get_index( timer_id ) ],
RTEMS_EVENT_16
);
directive_failed( status, "rtems_event_send" );
fatal_directive_check_status_only( status, RTEMS_SUCCESSFUL, "rtems_event_send" );
}