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]
Other format: [Raw text]

HAL_INTERRUPT_ACKNOWLEDGE on mips


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


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