This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: LPC2xxx patch for support of vectored interrupt controller
> +#ifdef CYGNUM_KERNEL_INTR_TEST_PRIO
> +#define PRIO_0 CYGNUM_KERNEL_INTR_TEST_PRIO
> +#define PRIO_1 CYGNUM_KERNEL_INTR_TEST_PRIO
> +#else
> +#define PRIO_0 0
> +#define PRIO_1 1
> +#endif
Hi Hans
I've not spent time to really understand this change. But a first
glance suggests this is wrong. Shouldn't it be
#define PRIO_1 (CYGNUM_KERNEL_INTR_TEST_PRIO + 1)
in order to maintain the old behaviour.
Andrew