2000-05-25 Sergei Organov <osv@javad.ru>

* macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
	Cut and paste problem incorrectly enabled interrupts twice with
	the first time being too early.
This commit is contained in:
Joel Sherrill
2001-05-25 16:59:28 +00:00
parent fb085c11b4
commit fe70df1927
6 changed files with 12 additions and 4 deletions

View File

@@ -1,4 +1,10 @@
2000-05-25 Sergei Organov <osv@javad.ru>
* macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
Cut and paste problem incorrectly enabled interrupts twice with
the first time being too early.
2001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h,

View File

@@ -94,7 +94,6 @@ RTEMS_INLINE_ROUTINE void _CORE_semaphore_Seize_isr_disable(
}
_Thread_Disable_dispatch();
_ISR_Enable( level );
_Thread_queue_Enter_critical_section( &the_semaphore->Wait_queue );
executing->Wait.queue = &the_semaphore->Wait_queue;
executing->Wait.id = id;

View File

@@ -57,7 +57,6 @@
executing->Wait.return_code = CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT; \
} else { \
_Thread_Disable_dispatch(); \
_ISR_Enable( level ); \
_Thread_queue_Enter_critical_section( &(_the_semaphore)->Wait_queue ); \
executing->Wait.queue = &(_the_semaphore)->Wait_queue; \
executing->Wait.id = (_id); \

View File

@@ -1,4 +1,10 @@
2000-05-25 Sergei Organov <osv@javad.ru>
* macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
Cut and paste problem incorrectly enabled interrupts twice with
the first time being too early.
2001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h,

View File

@@ -94,7 +94,6 @@ RTEMS_INLINE_ROUTINE void _CORE_semaphore_Seize_isr_disable(
}
_Thread_Disable_dispatch();
_ISR_Enable( level );
_Thread_queue_Enter_critical_section( &the_semaphore->Wait_queue );
executing->Wait.queue = &the_semaphore->Wait_queue;
executing->Wait.id = id;

View File

@@ -57,7 +57,6 @@
executing->Wait.return_code = CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT; \
} else { \
_Thread_Disable_dispatch(); \
_ISR_Enable( level ); \
_Thread_queue_Enter_critical_section( &(_the_semaphore)->Wait_queue ); \
executing->Wait.queue = &(_the_semaphore)->Wait_queue; \
executing->Wait.id = (_id); \