forked from Imagelibrary/rtems
2001-01-22 Michael Hamel <mhamel@adi.co.nz>
* include/rtems.h, src/signalcatch.c: Modifications to make CodeWarrior happy.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2001-01-22 Michael Hamel <mhamel@adi.co.nz>
|
||||||
|
|
||||||
|
* include/rtems.h, src/signalcatch.c: Modifications to make
|
||||||
|
CodeWarrior happy.
|
||||||
|
|
||||||
2000-12-06 Joel Sherrill <joel@OARcorp.com>
|
2000-12-06 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* src/regiongetinfo.c: Removed unused variable to eliminate warning.
|
* src/regiongetinfo.c: Removed unused variable to eliminate warning.
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ extern "C" {
|
|||||||
* Define this at your own risk.
|
* Define this at your own risk.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__) && !defined(__RTEMS_INSIDE__)
|
#if (!defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__)) && (!defined(__RTEMS_INSIDE__))
|
||||||
#define __RTEMS_APPLICATION__
|
#define __RTEMS_APPLICATION__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ rtems_status_code rtems_signal_catch(
|
|||||||
|
|
||||||
/* XXX normalize mode */
|
/* XXX normalize mode */
|
||||||
executing = _Thread_Executing;
|
executing = _Thread_Executing;
|
||||||
api = executing->API_Extensions[ THREAD_API_RTEMS ];
|
api = (RTEMS_API_Control*)executing->API_Extensions[ THREAD_API_RTEMS ];
|
||||||
asr = &api->Signal;
|
asr = &api->Signal;
|
||||||
|
|
||||||
_Thread_Disable_dispatch(); /* cannot reschedule while */
|
_Thread_Disable_dispatch(); /* cannot reschedule while */
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
2001-01-22 Michael Hamel <mhamel@adi.co.nz>
|
||||||
|
|
||||||
|
* include/rtems.h, src/signalcatch.c: Modifications to make
|
||||||
|
CodeWarrior happy.
|
||||||
|
|
||||||
2000-12-06 Joel Sherrill <joel@OARcorp.com>
|
2000-12-06 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* src/regiongetinfo.c: Removed unused variable to eliminate warning.
|
* src/regiongetinfo.c: Removed unused variable to eliminate warning.
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ extern "C" {
|
|||||||
* Define this at your own risk.
|
* Define this at your own risk.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__) && !defined(__RTEMS_INSIDE__)
|
#if (!defined(__RTEMS_VIOLATE_KERNEL_VISIBILITY__)) && (!defined(__RTEMS_INSIDE__))
|
||||||
#define __RTEMS_APPLICATION__
|
#define __RTEMS_APPLICATION__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ rtems_status_code rtems_signal_catch(
|
|||||||
|
|
||||||
/* XXX normalize mode */
|
/* XXX normalize mode */
|
||||||
executing = _Thread_Executing;
|
executing = _Thread_Executing;
|
||||||
api = executing->API_Extensions[ THREAD_API_RTEMS ];
|
api = (RTEMS_API_Control*)executing->API_Extensions[ THREAD_API_RTEMS ];
|
||||||
asr = &api->Signal;
|
asr = &api->Signal;
|
||||||
|
|
||||||
_Thread_Disable_dispatch(); /* cannot reschedule while */
|
_Thread_Disable_dispatch(); /* cannot reschedule while */
|
||||||
|
|||||||
Reference in New Issue
Block a user