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]

Re: Still confused by virtual vectors


On Thu, Oct 04, 2001 at 09:12:10PM +0100, Jonathan Larmour wrote:

> > I've looked at those and configured my HAL to work with and
> > without virtual vector support.
> > 
> > But, I still can't figure out how to control that -- trying to
> > change CYG{INT|SEM}_HAL_VIRTUAL_VECTOR_SUPPORT in ecos.ecc
> > generates errors.  When you've got a HAL that works either way,
> > how do you configure which way you want it to work?
> 
> Most HALs use VV support even if the ROM monitor they're using
> it with doesn't support VVs. If you explicitly wanted to avoid
> that (I presume you have your reasons)

Probably not good ones :), and eventually I'm planning to ditch
the non-VV version of things.

> you would have an option controlling VV support in your
> platform HAL that would implement
> CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT if that option is enabled.

Aha!  Now, I get it.  I was trying to declare 
CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT as a cdl_option, or to change
it's value in ecos.ecc.

Thanks!

> But perhaps you are only interested in disabling VV diag, in
> which case CYGSEM_HAL_VIRTUAL_VECTOR_DIAG is the option you're
> interested in. It depends on what you are trying to achieve
> when you say you want it to work "without virtual vector
> support".

For now, I want to have the option of configuring my HAL to act
the same it always has (not doing any VV stuff). I'm switching
over to VV support, and am trying to do it in a way that I can
always build things the old for comparison purposes.

Some boards won't have RedBoot installed, and I'm assuming that
setting USE_ROM_MONITOR to false is the right way to run on
those boards.

-- 
Grant Edwards
grante@visi.com


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