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: interrupt_end() - non-kernel configurations


"Frank Rolsted Jensen (FRJ)" wrote:
> 
> I wonder why interrupt_end() isn't called for non-kernel configurations.
> 
> Interrupt_end() is implemented in drv_api.c (for non-kernel conf.), but it's
> not called from vector.c (as CYGFUN_HAL_COMMON_KERNEL_SUPPORT is not
> defined).

You're right and this has come up before. Things aren't as straightforward
as just including it because you may not want the overhead if you don't
have any drivers that need handling with it.

What it really needs is to be wrapped in CYGFUN_HAL_COMMON_INTERRUPT_END,
which would exist in the common HAL instead. This option would be implied
by CYGFUN_HAL_COMMON_KERNEL_SUPPORT.

Patches welcome :).

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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