diff options
author | Ashley Gay <gay@adacore.com> | 2023-11-17 11:50:03 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-13 10:03:29 +0200 |
commit | eff0e268f4b1c4d8783f1da4e8a54028a3e28a1a (patch) | |
tree | 3c2a8a8d8f6e7c79c69caebb7962919940fbe80e /gcc/ada/doc/gnat_rm | |
parent | 56e781f6b83ddf26ae42309e682dc22ce4db3f82 (diff) | |
download | gcc-eff0e268f4b1c4d8783f1da4e8a54028a3e28a1a.zip gcc-eff0e268f4b1c4d8783f1da4e8a54028a3e28a1a.tar.gz gcc-eff0e268f4b1c4d8783f1da4e8a54028a3e28a1a.tar.bz2 |
ada: Remove deprecated VxWorks interrupt connection API
The VxWorks 7 API to use hardware interrupts is the VxBus subsystem.
GNAT API still provides bindings for the deprecated (VxWorks 6) routines.
A direct consequence of this change is that Attach_Handler cannot be
used anymore (the VxBus subsystem should be used instead).
This patch removes all the functions that are not supported by VxWorks 7
anymore.
To warn for the usage of Attach_Handler, it adds the 'Obsolescent'
pragma to to this routine so the comiler will advise the user if this
function is called directly or through a pragma.
gcc/ada/
* Makefile.rtl: remove i-vxinco.* from the build
* doc/gnat_rm/the_gnat_library.rst: Remove i-vxinco.ads from
the units documentation.
* impunit.adb: Remove i-vxinco from the list of available units
in GNATstudio.
* libgnarl/i-vxinco.adb: Remove.
* libgnarl/i-vxinco.ads: Ditto.
* libgnarl/s-interr__vxworks.adb: enrich comment
* libgnarl/s-vxwext__kernel.ads: fix comment
* libgnat/i-vxwork.ads: Remove deprecated interrupt connections
API, as well as an example.
* libgnat/i-vxwork__x86.ads: Ditto and add the paragma
Obscolescent to Attach_Handler
* gnat_rm.texi: Regenerate.
Diffstat (limited to 'gcc/ada/doc/gnat_rm')
-rw-r--r-- | gcc/ada/doc/gnat_rm/the_gnat_library.rst | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/ada/doc/gnat_rm/the_gnat_library.rst b/gcc/ada/doc/gnat_rm/the_gnat_library.rst index 3aae70a..88204d4 100644 --- a/gcc/ada/doc/gnat_rm/the_gnat_library.rst +++ b/gcc/ada/doc/gnat_rm/the_gnat_library.rst @@ -1915,23 +1915,6 @@ mainframes. .. index:: VxWorks, interfacing This package provides a limited binding to the VxWorks API. -In particular, it interfaces with the -VxWorks hardware interrupt facilities. - -.. _`Interfaces.VxWorks.Int_Connection_(i-vxinco.ads)`: - -``Interfaces.VxWorks.Int_Connection`` (:file:`i-vxinco.ads`) -============================================================ - -.. index:: Interfaces.VxWorks.Int_Connection (i-vxinco.ads) - -.. index:: Interfacing to VxWorks - -.. index:: VxWorks, interfacing - -This package provides a way for users to replace the use of -intConnect() with a custom routine for installing interrupt -handlers. .. _`Interfaces.VxWorks.IO_(i-vxwoio.ads)`: |