Next: Pragma Unreferenced, Previous: Pragma Universal_Aliasing, Up: Implementation Defined Pragmas
pragma Universal_Data [(library_unit_Name)];
This pragma is supported only for the AAMP target and is ignored for other targets. The pragma specifies that all library-level objects (Counter 0 data) associated with the library unit are to be accessed and updated using universal addressing (24-bit addresses for AAMP5) rather than the default of 16-bit Data Environment (DENV) addressing. Use of this pragma will generally result in less efficient code for references to global data associated with the library unit, but allows such data to be located anywhere in memory. This pragma is a library unit pragma, but can also be used as a configuration pragma (including use in the gnat.adc file). The functionality of this pragma is also available by applying the -univ switch on the compilations of units where universal addressing of the data is desired.