mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +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.
|
||||
|
||||
2003-09-04 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* include/timesys.h, tm01/system.h, tm01/task1.c, tm01/tm01.doc,
|
||||
|
||||
@@ -417,6 +417,15 @@ void complete_test( void )
|
||||
(void) _Thread_Get( 0x3, &location );
|
||||
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
|
||||
*/
|
||||
|
||||
@@ -144,6 +144,8 @@ rtems_task Task_1(
|
||||
#endif
|
||||
Interrupt_return_time = Read_timer();
|
||||
|
||||
_Thread_Dispatch_disable_level = 0;
|
||||
|
||||
put_time(
|
||||
"interrupt entry overhead: returns to nested interrupt",
|
||||
Interrupt_enter_nested_time,
|
||||
|
||||
Reference in New Issue
Block a user