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-- -- 9-- Copyright (C) 2009-2020, Free Software Foundation, Inc. -- 10-- -- 11-- GNAT is free software; you can redistribute it and/or modify it under -- 12-- terms of the GNU General Public License as published by the Free Soft- -- 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- -- 15-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- 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/>. -- 26-- -- 27------------------------------------------------------------------------------ 28 29-- This is the VxWorks 5 and VxWorks MILS version of this package 30 31package 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 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 55end System.VxWorks.Ext; 56