This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: interrupt acknowledgement
- To: "Trenton D. Adams" <trent dot nospam at telusplanet dot net>
- Subject: Re: [ECOS] interrupt acknowledgement
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Mon, 25 Jun 2001 18:43:09 +0100
- Cc: eCos Discussion <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat UK Ltd.
- References: <000401c0fcf8$86474300$63e43b8e@TRINITY>
"Trenton D. Adams" wrote:
>
> The CL-PS6700 interrupt controller has interrupt status registers of
> it's own.
>
> So, when I call cyg_interrupt_acknowledge (), I should also clear the
> Interrupt Status register in the CL-PS6700 as well right?
Probably. I'm sure the CL-PS6700 docs should say what's required to ack the
interrupt.
> I should also do the appropriate thing to the CL-PS6700 registers when
> calling cyg_interrupt_mask () and cyg_interrupt_unmask () right?
Masking it in the CPU's interrupt controller is probably sufficient (i.e. I
don't think there's any advantage to doing anything more). But I'm not
familiar with all the details of this part.
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
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/