This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Updated Ada Hardware Interrupt Patch


Hi,

Updated patch attached.

Some of your comments did look like I missed
an update after removing s-osinte-vxworks.adb
But others reflect deficiencies in the current
s-osinte-vxworks.adb which I just inherited. I tried to fix all the ignored return status'es
though. If you diff s-osinte-vxworks.adb
s-osinte-hwint.adb, you will see that the changes
are fairly mechanical and just switch to the
adapter layer.


NOTE: The patch does NOT remove s-osinte-vxworks.adb.
You will have to do that after you diff it.

Please review this again.  I have been tracking the
head for 6 months on this and would like to do
something else. :)

Tested on sparc/sis.  Hardware interrupts work.
ACATS results are good -- same 5 test failures as
before.

2008-05-28 Joel Sherrill <joel.sherrill@oarcorp.com>

* Makefile.in: Switch RTEMS and VxWorks to s-interr-hwint.adb.
* s-interr-hwint.adb: New file with portable implementation. This
is a mechanical change of s-interr-vxworks.adb to use the new OS
provided adapter.
* s-interr-vxworks.adb: Removed.
* s-osinte-rtems.ads, s-osinte-vxworks.adb, s-osinte-vxworks.ads: Add
shared hardware interrupt adapter layer. RTEMS binds to OS provided
adapter routines so there are no modifications to s-osinte-rtems.adb.



-- Joel Sherrill, Ph.D. Director of Research & Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985


Index: s-interr-hwint.adb
Index: s-osinte-rtems.ads
Index: Makefile.in
Index: s-osinte-vxworks.adb
Index: s-osinte-vxworks.ads

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