This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: CYGNUM_HAL_VIRTUAL_VECTOR_AUX_CHANNELS
- From: Gary Thomas <gthomas at redhat dot com>
- To: "Koeller, T." <Thomas dot Koeller at baslerweb dot com>
- Cc: "ecos-discuss (E-Mail)" <ecos-discuss at sources dot redhat dot com>
- Date: 30 May 2002 14:42:07 +0100
- Subject: Re: [ECOS] CYGNUM_HAL_VIRTUAL_VECTOR_AUX_CHANNELS
- References: <850597605E79D21182830008C7A4B9CF07D88943@COMM1>
On Thu, 2002-05-30 at 14:33, Koeller, T. wrote:
> Gary Thomas wrote:
>
> > I think you should just add your other new & exciting channels like
> > we've already done on platforms which support such things. A
> > good place
> > to look would be the iPAQ (hal/arm/sa11x0/ipaq) which
> > supports not only
> > serial but an LCD/touchscreen combo, or the Intel PC
> > (hal/i386/pc) which
> > supports serial and the VGA/keybord combinations.
>
> Sorry, my fault - when saying that I was writing a HAL I
> actually meant that I want to build upon an existing one,
> extending it to support additional hardware. I intend to
> use plf_if_init() to get my things initialized. Is this a
> sensible approach?
>
> The problem with the COMMS table is that the HAL I want to
> build upon defines CYGNUM_HAL_VIRTUAL_VECTOR_NUM_CHANNELS
> as a computed property with a fixed value, so in order to
> extend the COMMS table I have to resort to
> CYGNUM_HAL_VIRTUAL_VECTOR_AUX_CHANNELS, or don't I?
Look at the iPAQ - it does exactly what you're asking for.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss