mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 20:56:59 +08:00
2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical06/init.c: Clean up. * spintrcritical09/init.c: Adjust clock tick so it works on erc32. * spintrcritical09/spintrcritical09.scn: Fill in.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2009-07-21 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* spintrcritical06/init.c: Clean up.
|
||||
* spintrcritical09/init.c: Adjust clock tick so it works on erc32.
|
||||
* spintrcritical09/spintrcritical09.scn: Fill in.
|
||||
|
||||
2009-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* spintrcritical06/init.c: Add comment to indicate test is not finished
|
||||
|
||||
@@ -61,7 +61,6 @@ rtems_timer_service_routine test_release_from_isr(
|
||||
void *arg
|
||||
)
|
||||
{
|
||||
printk("r");
|
||||
(void) rtems_task_restart( Secondary_task_id, 1 );
|
||||
}
|
||||
|
||||
@@ -71,19 +70,14 @@ rtems_task Secondary_task(
|
||||
{
|
||||
rtems_status_code status;
|
||||
|
||||
#if 0
|
||||
if ( arg ) {
|
||||
printk("f");
|
||||
if ( arg )
|
||||
(void) rtems_semaphore_flush( Semaphore );
|
||||
}
|
||||
#endif
|
||||
|
||||
#if 0 && defined(PRIORITY_NO_TIMEOUT_REVERSE)
|
||||
#if defined(PRIORITY_NO_TIMEOUT_REVERSE)
|
||||
status = rtems_task_resume( Main_task );
|
||||
directive_failed( status, "rtems_task_resume" );
|
||||
#endif
|
||||
|
||||
printk("O");
|
||||
status = rtems_semaphore_obtain(
|
||||
Semaphore,
|
||||
RTEMS_DEFAULT_OPTIONS,
|
||||
@@ -144,7 +138,6 @@ rtems_task Init(
|
||||
directive_failed( status, "rtems_task_suspend" );
|
||||
#endif
|
||||
|
||||
printk("o");
|
||||
status = rtems_semaphore_obtain(
|
||||
Semaphore,
|
||||
RTEMS_DEFAULT_OPTIONS,
|
||||
|
||||
@@ -67,6 +67,7 @@ rtems_task Init(
|
||||
|
||||
puts( "\n\n*** TEST INTERRUPT CRITICAL SECTION 09 ***" );
|
||||
|
||||
puts( "Init - Test may not be able to detect case is hit reliably" );
|
||||
puts( "Init - Trying to generate timeout from ISR while blocking" );
|
||||
sc = rtems_semaphore_create(
|
||||
rtems_build_name( 'S', 'M', '1', ' ' ),
|
||||
@@ -117,7 +118,7 @@ rtems_task Init(
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
#define CONFIGURE_MICROSECONDS_PER_TICK 500
|
||||
#define CONFIGURE_MICROSECONDS_PER_TICK 1000
|
||||
|
||||
#define CONFIGURE_INIT
|
||||
#include <rtems/confdefs.h>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
*** TEST INTERRUPT CRITICAL SECTION 09 ***
|
||||
Init - Trying to generate timeout from ISR while blocking
|
||||
Init - Test may not be able to detect case is hit reliably
|
||||
Support - rtems_timer_create - creating timer 1
|
||||
Init - Trying to generate timeout from ISR while blocking
|
||||
*** END OF TEST INTERRUPT CRITICAL SECTION 09 ***
|
||||
|
||||
Reference in New Issue
Block a user