DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦e40e53685⟧ TextFile

    Length: 3348 (0xd14)
    Types: TextFile
    Names: »B«

Derivation

└─⟦407de186f⟧ Bits:30000749 8mm tape, Rational 1000, RCFSUN
    └─ ⟦e5cd75ab4⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Help_Text;
with Log;
with Operational_Characteristics;
with Profile;
with Program;
with Rcf_Customization;
with Rcf_Customization_Interface;
with Semantic_Characteristics;
with Simple_Status;  
with Telnet_Characteristics;
with Universal;

package body Sparc_Unix_Alsys is

    package Op renames Operational_Characteristics;
    package Tc renames Telnet_Characteristics;
    package Sc renames Semantic_Characteristics;
    package Predefined renames Sc.Predefined_Environment_Characteristics;
    package Pragmas renames Sc.Pragma_Characteristics;
    package Checking renames Sc.Checking;
    package Attributes renames Sc.Attribute_Characteristics;
    package Rep_Specs renames Sc.Rep_Spec_Characteristics;
    package Rci renames Rcf_Customization_Interface;
    package Ss renames Simple_Status;
    package Text renames Sc.Text;

    Target_Name : constant String := "Sparc_Unix_Alsys";

    function Get_Transfer_Type return Op.Transfer_Type is separate;
    function Get_Pragma_Info return Pragmas.Object is separate;
    function Get_Rep_Spec_Info return Rep_Specs.Object is separate;
    function Get_Predefined_Info return Predefined.Object is separate;
    function Get_Attribute_Info return Attributes.Object is separate;
    function Get_Operational_Info return Op.Object is separate;
    function Get_Telnet_Info return Tc.Object is separate;

    procedure Register is

        Status : Simple_Status.Condition;

    begin


        Rci.Initialize (Target_Name, Status);
        if Ss.">" (Ss.Severity (Status), Ss.Normal) then
            Log.Put_Line (Ss.Name (Status), Profile.Warning_Msg);
            if Ss.">" (Ss.Severity (Status), Ss.Warning) then
                return;
            end if;
        end if;


        Rcf_Customization.Register
           (Target => Target_Name,
            The_Operational_Characteristics => Get_Operational_Info,
            The_Predefined_Environment_Characteristics => Get_Predefined_Info,
            The_Pragma_Characteristics => Get_Pragma_Info,
            The_Attribute_Characteristics => Get_Attribute_Info,
            The_Rep_Spec_Characteristics => Get_Rep_Spec_Info,
            The_Telnet_Characteristics => Get_Telnet_Info);

        --[Replace >>your_subsystem<< with subsystem name]
        Program.Run_Job
           ("Register_All_Extensions(""" & Target_Name & """);",
            Context => "\" & Target_Name & "$$^$$'View.Units",
            Options =>
               "Name => (" & Target_Name & "_Extensions_" &  
                  Op.Transfer_Type'Image (Get_Transfer_Type) & "), " &
                  "Output => !machine.temporary.rcf_library_register_log");        -- Program.Run_Job
        --    ("""!targets.implementation.rcf_customization.generic_unix_alsys'view.units""" &
        --     ".register_all_extensions(""" & Target_Name & """);",
        --     Context =>
        --        "!targets.implementation.rcf_customization.generic_unix_alsys'view",
        --     Options =>
        --        "Name => (" & Target_Name & "_Extensions_" &
        --           Op.Transfer_Type'Image (Get_Transfer_Type) & "), " &
        --           "output => !machine.temporary.rcf_library_register_log");
    end Register;

    procedure Unregister is
    begin
        Rcf_Customization.Unregister (Target_Name);
    end Unregister;


end Sparc_Unix_Alsys;