diff options
Diffstat (limited to 'gcc/ada/s-osinte-vxworks.ads')
-rw-r--r-- | gcc/ada/s-osinte-vxworks.ads | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gcc/ada/s-osinte-vxworks.ads b/gcc/ada/s-osinte-vxworks.ads index 81fc71f1cab..0eda1ef603c 100644 --- a/gcc/ada/s-osinte-vxworks.ads +++ b/gcc/ada/s-osinte-vxworks.ads @@ -471,15 +471,24 @@ package System.OS_Interface is Handler : Interrupt_Handler; Parameter : System.Address := System.Null_Address) return int; pragma Inline (Interrupt_Connect); - -- Use this to set up an user handler. The routine installs a - -- a user handler which is invoked after the OS has saved enough - -- context for a high-level language routine to be safely invoked. + -- Use this to set up an user handler. The routine installs a a user + -- handler which is invoked after the OS has saved enough context for a + -- high-level language routine to be safely invoked. function Interrupt_Number_To_Vector (intNum : int) return Interrupt_Vector; pragma Inline (Interrupt_Number_To_Vector); -- Convert a logical interrupt number to the hardware interrupt vector -- number used to connect the interrupt. + -------------------------------- + -- Processor Affinity for SMP -- + -------------------------------- + + function taskCpuAffinitySet (tid : t_id; CPU : int) return int + renames System.VxWorks.Ext.taskCpuAffinitySet; + -- For SMP run-times the affinity to CPU. + -- For uniprocessor systems return ERROR status. + private type sigset_t is new unsigned_long_long; |