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 acknowledgement


"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/


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