[Bug 1993] Mips conversion to PIC IRQ model
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Thu Dec 15 19:19:14 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1993
--- Comment #2 from Jennifer Averett <jennifer.averett at oarcorp.com> 2011-12-15 13:19:13 CST ---
The TX3904_ defines were copied straight out of an existing file, and I thought
this patch was going to be big enough without changing the names of the IRQ's.
I should have moved these defines from the existing file to irq.h, and have
fixed this duplication. I've also moved tx3904.h back to its original location
in libcpu. I'm still a little up in the air as to whether this file should be
moved into the bsp directory, but thought that keeping it in libcpu would at
least make this patch a little easier to produce when I move it to git next
week.
The bsp_interrupt_vector_enable and bsp_interrupt_vector_disable methods are
required by the PIC IRQ model. The bits in the mips status register that are
used to mask interrupts could be used to enable and disable the interrupts.
However, the existing design sets these bits up front in bsp_start for all the
mips boards. I didn't want to change this in order to keep from breaking it on
the other boards which I can't test.
Thanks for looking at it
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list