File: /home/oboss/Users/gec/sources/Basic_Services/Low_Level_Stuff/task_priority_control.ads

1     --% Compilation Unit:	Task_Priority_Control
2     --
3     --% Category: Package Declaration
4     --
5     --% Release:  $Name:  $
6     --
7     --% Version:  $Revision: 2.0 $
8     --
9     --% Author:   $Author: gec $
10     --
11     --% Revision Log:
12     --    $Log: task_priority_control.ads,v $
13     --    Revision 2.0  2003/04/04 08:50:08  gec
14     --    Initial release of source files serving as baseline for OBOSS-III project.
15     --
16     --    Revision 1.1.1.1  2003/04/04 08:13:03  gec
17     --    Imported using TkCVS
18     --
19     --
20     --
21     --% Project: OBOSS
22     --
23     --% Copyright (C) 2003 by Terma A/S
24     --  Proprietary and intellectual rights of Terma A/S, Denmark,
25     --  are involved in the subject-matter of this material and
26     --  all manufacturing, reproduction, use, disclosure, and
27     --  sales rights pertaining to such subject-matter are
28     --  expressly reserved. This material is submitted for a
29     --  specific purpose as agreed, and the recipient by
30     --  accepting this material agrees that this material will
31     --  not be used, copied, or reproduced in whole or in part
32     --  nor its contents revealed in any manner or to any person,
33     --  except to meet the purpose for which it was submitted and
34     --  subject to the terms of the agreement.
35     --
36     --% Target Dependencies:
37     --    None
38     --% Compiler Dependencies:
39     --    None
40     
41     --~-----------------------------------------------------------------------------
42     
43     with System;
44     package Task_Priority_Control is
45     
46        --% Library Package:
47        --    Services for assignment of dynamic (i.e. non-static) priorities for
48        --+    tasks after activation.
49        --% Active Tasks:
50        -->   None
51        --% Passive Tasks:
52        -->   None
53     
54        -- Task priorities are no longer divided into two disjoint subsets:
55        --+
56        Main_Program_Priority : constant System.Priority := System.Priority'First;
57     
58        Standard_Passive_Task_Priority :
59           constant System.Priority := System.Priority'Last; 
60        -- for interrupt sporadics
61     
62        subtype Active_Task_Priority  is System.Priority;
63        -- type Active_Task_Priority  is new System.Priority;
64     
65        subtype Passive_Task_Priority is System.Priority;
66        -- type Passive_Task_Priority is new System.Priority;
67     
68        subtype Interrupt_Task_Priority is System.Interrupt_Priority;
69        -- type Interrupt_Task_Priority is new System.Interrupt_Priority;
70     
71     end Task_Priority_Control;
72     
73     --~-----------------------------------------------------------------------------
74