[ECOS] small patch to kapidata.h
Lars Viklund
lars.viklund@axis.com
Mon Mar 4 08:51:00 GMT 2002
cyg_thread doesn't match Cyg_Thread if CYGSEM_KERNEL_SCHED_ASR_SUPPORT is enabled.
--- packages/kernel/current/include/kapidata.h 12 Dec 2001 11:56:37 -0000
+++ packages/kernel/current/include/kapidata.h 4 Mar 2002 16:16:01 -0000
@@ -288,11 +288,11 @@
#endif
#ifdef CYGSEM_KERNEL_SCHED_ASR_SUPPORT
-# define CYG_SCHEDTHREAD_ASR_MEMBER \
- volatile cyg_bool asr_inhibit; /* If true, blocks calls to ASRs */ \
- volatile cyg_bool asr_pending; /* If true, this thread's ASR */ \
- /* should be called. */ \
- CYG_SCHEDTHREAD_ASR_NONGLOBAL_MEMBER \
+# define CYG_SCHEDTHREAD_ASR_MEMBER \
+ volatile cyg_ucount32 asr_inhibit; /* If true, blocks calls to ASRs */ \
+ volatile cyg_bool asr_pending; /* If true, this thread's ASR */ \
+ /* should be called. */ \
+ CYG_SCHEDTHREAD_ASR_NONGLOBAL_MEMBER \
CYG_SCHEDTHREAD_ASR_DATA_NONGLOBAL_MEMBER
#else
# define CYG_SCHEDTHREAD_ASR_MEMBER
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list