I seem to have forgotten or perhaps I never knew and it’s usually better to be more specific but how can you import the __disable_IRQ intrinsic. Import e.g. cmsis_gcc.h into the project or is it better to use the cpsid assembly instruction or is there another way?
Edit: I guess Ada Drivers Library uses Assembly for __DSB etc., so I’ll go with that.
Have you tried with Import, Convention => C, Link_Name => "__disable_IRQ"; on the appropriate subprogram? (The link-name might be wrong, double-check that.)
Embedded assembly is fine, but if the vendor provided you binaries (or source) you can use that to discover what you have to do on the Ada end.