This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Bug in i386 interrupt handler
- To: "Jonathan Larmour" <jlarmour at cygnus dot co dot uk>
- Subject: Re: [ECOS] Bug in i386 interrupt handler
- From: "Phil Hinton" <phil at crosstor dot com>
- Date: Wed, 1 Nov 2000 11:46:03 -0500
- Cc: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
- References: <098b01c04374$19977ec0$105866c0@crosstor.com> <39FF54FA.9D82E1E2@cygnus.co.uk>
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