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: Phil Hinton <phil at crosstor dot com>
- Subject: Re: [ECOS] Bug in i386 interrupt handler
- From: Jonathan Larmour <jlarmour at cygnus dot co dot uk>
- Date: Tue, 31 Oct 2000 23:25:46 +0000
- CC: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat UK Ltd.
- References: <098b01c04374$19977ec0$105866c0@crosstor.com>
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.
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