DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦4ac9906a9⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body V_I_Callout, seg_04b9a8

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



with System;
use System;
with Ada_Krn_Defs;
with Ada_Krn_I;
package body V_I_Callout is

    pragma Suppress (All_Checks);
    pragma Suppress (Exception_Tables);


    procedure Install_Callout (Event : Callout_Event_T; Proc : Address) is
    begin
        if not Ada_Krn_I.Callout_Install
                  (Ada_Krn_Defs.Callout_Event_T (Event), Proc) then
            raise Storage_Error;
        end if;
    end Install_Callout;

    function Allocate_Task_Storage (Size : Integer) return Task_Storage_Id is
        Id : Task_Storage_Id;
    begin
        Id := Task_Storage_Id (Ada_Krn_I.Task_Storage_Alloc (Size));
        if Id = No_Task_Storage_Id then
            raise Storage_Error;
        end if;
        return Id;
    end Allocate_Task_Storage;

    function Get_Task_Storage
                (Ada_Tsk : System.Task_Id; Storage_Id : Task_Storage_Id)
                return Address is
    begin
        return Ada_Krn_I.Task_Storage_Get
                  (Ada_Tsk, Ada_Krn_Defs.Task_Storage_Id (Storage_Id));
    end Get_Task_Storage;

    function Get_Task_Storage2
                (Krn_Tsk : Krn_Task_Id; Storage_Id : Task_Storage_Id)
                return Address is
    begin
        return Ada_Krn_I.Task_Storage_Get2
                  (Ada_Krn_Defs.Krn_Task_Id (Krn_Tsk),
                   Ada_Krn_Defs.Task_Storage_Id (Storage_Id));
    end Get_Task_Storage2;

    function No_Task_Storage_Id return Task_Storage_Id is
    begin
        return Task_Storage_Id (Ada_Krn_Defs.No_Task_Storage_Id);
    end No_Task_Storage_Id;

end V_I_Callout;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=22 rec1=00 rec2=01 rec3=052
        [0x01] rec0=13 rec1=00 rec2=02 rec3=001
    tail 0x21750bd4a8684381554bd 0x42a00088462060003