]>
Commit | Line | Data |
---|---|---|
e1f3cb58 AC |
1 | ------------------------------------------------------------------------------ |
2 | -- -- | |
3 | -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- | |
4 | -- -- | |
5 | -- S Y S T E M . V X W O R K S . E X T -- | |
6 | -- -- | |
7 | -- B o d y -- | |
8 | -- -- | |
4b490c1e | 9 | -- Copyright (C) 2009-2020, Free Software Foundation, Inc. -- |
e1f3cb58 | 10 | -- -- |
607d0635 | 11 | -- GNAT is free software; you can redistribute it and/or modify it under -- |
e1f3cb58 | 12 | -- terms of the GNU General Public License as published by the Free Soft- -- |
607d0635 AC |
13 | -- ware Foundation; either version 3, or (at your option) any later ver- -- |
14 | -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- | |
e1f3cb58 | 15 | -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- |
607d0635 AC |
16 | -- or FITNESS FOR A PARTICULAR PURPOSE. -- |
17 | -- -- | |
18 | -- As a special exception under Section 7 of GPL version 3, you are granted -- | |
19 | -- additional permissions described in the GCC Runtime Library Exception, -- | |
20 | -- version 3.1, as published by the Free Software Foundation. -- | |
21 | -- -- | |
22 | -- You should have received a copy of the GNU General Public License and -- | |
23 | -- a copy of the GCC Runtime Library Exception along with this program; -- | |
24 | -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- | |
25 | -- <http://www.gnu.org/licenses/>. -- | |
e1f3cb58 AC |
26 | -- -- |
27 | ------------------------------------------------------------------------------ | |
28 | ||
9d607bc3 | 29 | -- This is the VxWorks 5 and VxWorks MILS version of this package |
e1f3cb58 AC |
30 | |
31 | package body System.VxWorks.Ext is | |
32 | ||
33 | ERROR : constant := -1; | |
34 | ||
35 | ------------------------ | |
36 | -- taskCpuAffinitySet -- | |
37 | ------------------------ | |
38 | ||
39 | function taskCpuAffinitySet (tid : t_id; CPU : int) return int is | |
40 | pragma Unreferenced (tid, CPU); | |
41 | begin | |
42 | return ERROR; | |
43 | end taskCpuAffinitySet; | |
44 | ||
c37cbdc3 AC |
45 | ------------------------- |
46 | -- taskMaskAffinitySet -- | |
47 | ------------------------- | |
48 | ||
49 | function taskMaskAffinitySet (tid : t_id; CPU_Set : unsigned) return int is | |
50 | pragma Unreferenced (tid, CPU_Set); | |
51 | begin | |
52 | return ERROR; | |
53 | end taskMaskAffinitySet; | |
54 | ||
e1f3cb58 | 55 | end System.VxWorks.Ext; |