mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
2004-02-26 Joel Sherrill <joel@OARcorp.com>
PR 583/tests * tm26/task1.c, tm27/task1.c: Correctly reset _Thread_Dispatch_disable_level so printing is safe.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2004-02-26 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
PR 583/tests
|
||||||
|
* tm26/task1.c, tm27/task1.c: Correctly reset
|
||||||
|
_Thread_Dispatch_disable_level so printing is safe.
|
||||||
|
|
||||||
2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* tm01/Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
|
* tm01/Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
|
||||||
|
|||||||
@@ -417,6 +417,15 @@ void complete_test( void )
|
|||||||
(void) _Thread_Get( 0x3, &location );
|
(void) _Thread_Get( 0x3, &location );
|
||||||
thread_get_invalid_time = Read_timer();
|
thread_get_invalid_time = Read_timer();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This is the running task and we have tricked RTEMS out enough where
|
||||||
|
* we need to set some internal tracking information to match this.
|
||||||
|
*/
|
||||||
|
|
||||||
|
_Thread_Heir = _Thread_Executing;
|
||||||
|
_Context_Switch_necessary = FALSE;
|
||||||
|
_Thread_Dispatch_disable_level = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Now dump all the times
|
* Now dump all the times
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -144,6 +144,8 @@ rtems_task Task_1(
|
|||||||
#endif
|
#endif
|
||||||
Interrupt_return_time = Read_timer();
|
Interrupt_return_time = Read_timer();
|
||||||
|
|
||||||
|
_Thread_Dispatch_disable_level = 0;
|
||||||
|
|
||||||
put_time(
|
put_time(
|
||||||
"interrupt entry overhead: returns to nested interrupt",
|
"interrupt entry overhead: returns to nested interrupt",
|
||||||
Interrupt_enter_nested_time,
|
Interrupt_enter_nested_time,
|
||||||
|
|||||||
Reference in New Issue
Block a user