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: Bug in i386 interrupt handler


Jonathan Larmour wote:

> Phil Hinton wrote:
> > 
> > The hal_intc_ack macro then uses EAX, and when interrupt_end is
> > called:
> > 
> >              pushl %edx
> >              pushl %eax
> >              call interrupt_end
> > 
> > Instead this should be:
> > 
> >              pushl %edx
> >              pushl %esi   <----  modification
> >              call interrupt_end
> > 
> > Did I miss a patch? Anyone having trouble with i386 PC DSR posts?
> 
> This does indeed look like it would be a problem. If you can just confirm
> that this does fix your problem, I'll update our code here.
> 

The SCSII interrupt handling is now working as expected. I also stepped
through the (assembly level) code to make sure the behavior is as expected.

The problem is fixed.

> Jifl
> -- 
> Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
> "Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault
> 

Phil Hinton
CrosStor Software, Inc.
908-226-0100 ext 138
phil@crosstor.com




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