This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CYGNUM_HAL_VIRTUAL_VECTOR_AUX_CHANNELS


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]