mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
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:
@@ -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 );
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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" );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user