[ECOS] HAL_INTERRUPT_ACKNOWLEDGE on mips
Andy Dyer
adyer@righthandtech.com
Tue Feb 24 20:38:00 GMT 2004
looking in hal/mips/arch/current/include/hal_intr.h
I see the generic implementation of HAL_INTERRUPT_ACKNOWLEDGE
for mips tries to write back into the Cause register
(CP0 register $13), presumably to clear the IP[7:2]
bits.
All of the books I have handy say that the only fields
in that register that are writable are IP[1:0]
(sometimes used to allow s/w to generate interrupts)
and those aren't touched by this code.
Is there some variant where this isn't true or can this
code be removed?
--
Andrew Dyer | adyer@righthandtech.com
Sr. Engineer | (630) 238-0789
RightHand Technologies | (630) 238-0469 (fax)
735 N. Edgewood Ave. |
Suite D |
Wood Dale, IL 60191-1261 |
USA |
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list