home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / adav313.zip / gnat-3_13p-os2-bin-20010916.zip / emx / gnatlib / s-inmaop.adb < prev    next >
Text File  |  2000-07-19  |  6KB  |  195 lines

  1. ------------------------------------------------------------------------------
  2. --                                                                          --
  3. --                GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS               --
  4. --                                                                          --
  5. --           S Y S T E M . I N T E R R U P T _ M A N A G E M E N T .        --
  6. --                           O P E R A T I O N S                            --
  7. --                                                                          --
  8. --                                  B o d y                                 --
  9. --                                                                          --
  10. --                             $Revision: 1.5 $                             --
  11. --                                                                          --
  12. --          Copyright (C) 1992-1998 Free Software Foundation, Inc.          --
  13. --                                                                          --
  14. -- GNARL is free software; you can  redistribute it  and/or modify it under --
  15. -- terms of the  GNU General Public License as published  by the Free Soft- --
  16. -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
  17. -- sion. GNARL is distributed in the hope that it will be useful, but WITH- --
  18. -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
  19. -- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
  20. -- for  more details.  You should have  received  a copy of the GNU General --
  21. -- Public License  distributed with GNARL; see file COPYING.  If not, write --
  22. -- to  the Free Software Foundation,  59 Temple Place - Suite 330,  Boston, --
  23. -- MA 02111-1307, USA.                                                      --
  24. --                                                                          --
  25. -- As a special exception,  if other files  instantiate  generics from this --
  26. -- unit, or you link  this unit with other files  to produce an executable, --
  27. -- this  unit  does not  by itself cause  the resulting  executable  to  be --
  28. -- covered  by the  GNU  General  Public  License.  This exception does not --
  29. -- however invalidate  any other reasons why  the executable file  might be --
  30. -- covered by the  GNU Public License.                                      --
  31. --                                                                          --
  32. -- GNARL was developed by the GNARL team at Florida State University. It is --
  33. -- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
  34. -- State University (http://www.gnat.com).                                  --
  35. --                                                                          --
  36. ------------------------------------------------------------------------------
  37.  
  38. --  This is a NO tasking version of this package.
  39.  
  40. package body System.Interrupt_Management.Operations is
  41.  
  42.    ----------------------------
  43.    -- Thread_Block_Interrupt --
  44.    ----------------------------
  45.  
  46.    procedure Thread_Block_Interrupt
  47.      (Interrupt : Interrupt_ID)
  48.    is
  49.    begin
  50.       null;
  51.    end Thread_Block_Interrupt;
  52.  
  53.    ------------------------------
  54.    -- Thread_Unblock_Interrupt --
  55.    ------------------------------
  56.  
  57.    procedure Thread_Unblock_Interrupt
  58.      (Interrupt : Interrupt_ID)
  59.    is
  60.    begin
  61.       null;
  62.    end Thread_Unblock_Interrupt;
  63.  
  64.    ------------------------
  65.    -- Set_Interrupt_Mask --
  66.    ------------------------
  67.  
  68.    procedure Set_Interrupt_Mask (Mask : access Interrupt_Mask) is
  69.    begin
  70.       null;
  71.    end Set_Interrupt_Mask;
  72.  
  73.    procedure Set_Interrupt_Mask
  74.      (Mask  : access Interrupt_Mask;
  75.       OMask : access Interrupt_Mask) is
  76.    begin
  77.       null;
  78.    end Set_Interrupt_Mask;
  79.  
  80.    ------------------------
  81.    -- Get_Interrupt_Mask --
  82.    ------------------------
  83.  
  84.    procedure Get_Interrupt_Mask (Mask : access Interrupt_Mask) is
  85.    begin
  86.       null;
  87.    end Get_Interrupt_Mask;
  88.  
  89.    --------------------
  90.    -- Interrupt_Wait --
  91.    --------------------
  92.  
  93.    function Interrupt_Wait
  94.      (Mask : access Interrupt_Mask)
  95.       return Interrupt_ID
  96.    is
  97.    begin
  98.       return 0;
  99.    end Interrupt_Wait;
  100.  
  101.    ----------------------------
  102.    -- Install_Default_Action --
  103.    ----------------------------
  104.  
  105.    procedure Install_Default_Action (Interrupt : Interrupt_ID) is
  106.    begin
  107.       null;
  108.    end Install_Default_Action;
  109.  
  110.    ---------------------------
  111.    -- Install_Ignore_Action --
  112.    ---------------------------
  113.  
  114.    procedure Install_Ignore_Action (Interrupt : Interrupt_ID) is
  115.    begin
  116.       null;
  117.    end Install_Ignore_Action;
  118.  
  119.    -------------------------
  120.    -- Fill_Interrupt_Mask --
  121.    -------------------------
  122.  
  123.    procedure Fill_Interrupt_Mask (Mask : access Interrupt_Mask) is
  124.    begin
  125.       null;
  126.    end Fill_Interrupt_Mask;
  127.  
  128.    --------------------------
  129.    -- Empty_Interrupt_Mask --
  130.    --------------------------
  131.  
  132.    procedure Empty_Interrupt_Mask (Mask : access Interrupt_Mask) is
  133.    begin
  134.       null;
  135.    end Empty_Interrupt_Mask;
  136.  
  137.    -----------------------
  138.    -- Add_To_Sigal_Mask --
  139.    -----------------------
  140.  
  141.    procedure Add_To_Interrupt_Mask
  142.      (Mask      : access Interrupt_Mask;
  143.       Interrupt : Interrupt_ID)
  144.    is
  145.    begin
  146.       null;
  147.    end Add_To_Interrupt_Mask;
  148.  
  149.    --------------------------------
  150.    -- Delete_From_Interrupt_Mask --
  151.    --------------------------------
  152.  
  153.    procedure Delete_From_Interrupt_Mask
  154.      (Mask      : access Interrupt_Mask;
  155.       Interrupt : Interrupt_ID)
  156.    is
  157.    begin
  158.       null;
  159.    end Delete_From_Interrupt_Mask;
  160.  
  161.    ---------------
  162.    -- Is_Member --
  163.    ---------------
  164.  
  165.    function Is_Member
  166.      (Mask      : access Interrupt_Mask;
  167.       Interrupt : Interrupt_ID) return Boolean
  168.    is
  169.    begin
  170.       return False;
  171.    end Is_Member;
  172.  
  173.    -------------------------
  174.    -- Copy_Interrupt_Mask --
  175.    -------------------------
  176.  
  177.    procedure Copy_Interrupt_Mask
  178.      (X : out Interrupt_Mask;
  179.       Y : Interrupt_Mask)
  180.    is
  181.    begin
  182.       X := Y;
  183.    end Copy_Interrupt_Mask;
  184.  
  185.    -------------------------
  186.    -- Interrupt_Self_Process --
  187.    -------------------------
  188.  
  189.    procedure Interrupt_Self_Process (Interrupt : Interrupt_ID) is
  190.    begin
  191.       null;
  192.    end Interrupt_Self_Process;
  193.  
  194. end System.Interrupt_Management.Operations;
  195.