This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: small patch to kapidata.h
- From: Gary Thomas <gthomas at redhat dot com>
- To: Lars Viklund <lars dot viklund at axis dot com>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: 04 Mar 2002 10:03:38 -0700
- Subject: Re: [ECOS] small patch to kapidata.h
- References: <3C6BEE8B5E1BAC42905A93F13004E8ABB3F48A@mailse01.axis.se>
On Mon, 2002-03-04 at 09:19, Lars Viklund wrote:
>
> 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
Good catch! I've applied this change to our sources.
Thanks.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss