Ada: Makes Interrupt_State not require Ada.Interrupts
This commit removes the implicit dependency on `Ada.Interrupts` when using the `Interrupt_State` configuration pragma.
Using the Interrupt_State configuration pragma will no longer introduce an implicit dependency on the Ada.Interrupts library. This change provides greater flexibility in configuring interrupt handling in embedded systems and other contexts where direct access to Ada.Interrupts might not be desired or available.
In Details
This commit introduces libgnarl/s-inttyp.ads and modifies several files in libgnarl and sem_prag.adb. It aims to decouple the Interrupt_State pragma from Ada.Interrupts by introducing Preelab_Interrupt_ID. The change affects interrupt handling and configuration within the Ada runtime. No immediately obvious interaction with other subsystems.
For Context
Interrupts are hardware signals that can temporarily suspend the execution of a program to handle urgent events. The Ada language provides mechanisms to manage interrupts, and this commit changes how a particular configuration option (Interrupt_State) interacts with the main interrupt handling library (Ada.Interrupts). By removing an implicit dependency, developers gain more control over interrupt configuration, especially in resource-constrained environments.