mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2009-10-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* sptests/spintrcritical09/init.c, sptests/spintrcritical10/init.c, sptests/spintrcritical11/init.c: Fixed potentially infinite loops. * sp20/system.h: Increased micro seconds per tick in order to be more independent of the console output speed.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2009-10-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
|
||||||
|
|
||||||
|
* sptests/spintrcritical09/init.c, sptests/spintrcritical10/init.c,
|
||||||
|
sptests/spintrcritical11/init.c: Fixed potentially infinite loops.
|
||||||
|
* sp20/system.h: Increased micro seconds per tick in order to be more
|
||||||
|
independent of the console output speed.
|
||||||
|
|
||||||
2009-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2009-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* sp07/init.c, sp07/sp07.scn, sp09/init.c, sp09/screen01.c,
|
* sp07/init.c, sp07/sp07.scn, sp09/init.c, sp09/screen01.c,
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ void Get_all_counters( void );
|
|||||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
||||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
||||||
|
|
||||||
|
#define CONFIGURE_MICROSECONDS_PER_TICK 100000
|
||||||
|
|
||||||
#define CONFIGURE_MAXIMUM_TASKS 7
|
#define CONFIGURE_MAXIMUM_TASKS 7
|
||||||
#define CONFIGURE_MAXIMUM_PERIODS 10
|
#define CONFIGURE_MAXIMUM_PERIODS 10
|
||||||
|
|
||||||
|
|||||||
@@ -73,8 +73,6 @@ rtems_task Init(
|
|||||||
if ( interrupt_critical_section_test_support_delay() )
|
if ( interrupt_critical_section_test_support_delay() )
|
||||||
resets++;
|
resets++;
|
||||||
|
|
||||||
interrupt_critical_section_test_support_delay();
|
|
||||||
|
|
||||||
(void) rtems_semaphore_obtain( Semaphore, RTEMS_DEFAULT_OPTIONS, 1 );
|
(void) rtems_semaphore_obtain( Semaphore, RTEMS_DEFAULT_OPTIONS, 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -36,8 +36,6 @@ rtems_task Init(
|
|||||||
if ( interrupt_critical_section_test_support_delay() )
|
if ( interrupt_critical_section_test_support_delay() )
|
||||||
resets++;
|
resets++;
|
||||||
|
|
||||||
interrupt_critical_section_test_support_delay();
|
|
||||||
|
|
||||||
sc = rtems_event_receive( 0x01, RTEMS_DEFAULT_OPTIONS, 1, &out );
|
sc = rtems_event_receive( 0x01, RTEMS_DEFAULT_OPTIONS, 1, &out );
|
||||||
fatal_directive_status( sc, RTEMS_TIMEOUT, "event_receive timeout" );
|
fatal_directive_status( sc, RTEMS_TIMEOUT, "event_receive timeout" );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,8 +61,6 @@ rtems_task Init(
|
|||||||
if ( interrupt_critical_section_test_support_delay() )
|
if ( interrupt_critical_section_test_support_delay() )
|
||||||
resets++;
|
resets++;
|
||||||
|
|
||||||
interrupt_critical_section_test_support_delay();
|
|
||||||
|
|
||||||
(void) rtems_event_receive( EVENTS_TO_RECEIVE, RTEMS_EVENT_ANY, 1, &out );
|
(void) rtems_event_receive( EVENTS_TO_RECEIVE, RTEMS_EVENT_ANY, 1, &out );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user