[ECOS] IRQs mapping in PC platform
Fri Aug 18 07:45:00 GMT 2000
"Boris V. Guzhov" <firstname.lastname@example.org> writes:
[bug in HAL_INTERRUPT_ACKNOWLEDGE()]
> Is that right?
Yes, that is right. However, looking at the code, I see that this
macro is not actually used, but instead the hal_intc_ack assembly
macro in platform.inc is actually used. This has the same bug.
So that macro should change to this (I think, I have not been able to
.macro hal_intc_ack vector
# Use any registers you like.
movl \vector, %edx
movb $0x20, %al
cmpl $0x20, %edx
cmpl $0x30, %edx
outb %al, $0xA0
9: outb %al, $0x20
I'll make these two changes to our sources for the next anoncvs
Nick Garnett, eCos Kernel Architect
Red Hat, Cambridge, UK
More information about the Ecos-discuss