summaryrefslogtreecommitdiff
path: root/gcc/ada/s-vxwext-rtp.ads
Commit message (Collapse)AuthorAgeFilesLines
* 2011-08-30 Jose Ruiz <ruiz@adacore.com>charlet2011-08-301-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * s-taskin.ads (Common_ATCB): Add field domain which contains the dispatching domain to which the task belongs. * s-taskin.adb (Initialize): Create the default system dispatching domain and make the environment task part of it. * s-mudido.ads: Add this new spec for standard Ada 2012 package Ada.Multiprocessors.Dispatching_Domains. * s-mudido.adb: Add this new body for targets not supporting dispatching domains. * s-mudido-affinity.adb: Add this new body for targets supporting dispatching domains setting the affinity to a CPU set. * bindgen.adb (Dispatching_Domain_Used, Check_Dispatching_Domains_Used, Gen_Adainit): When package System.Multiprocessors.Dispatching_Domains is used we call the procedure to signal that when we are about to call the main subprogram no new dispatching domain can be created. (Check_File_In_Partition): Factor out the common functionality used by Check_System_Restrictions_Used and Check_Dispatching_Domains_Used. * s-tassta.adb (Create_Task): Tasks inherit the dispatching domain of their activators. * s-taprop.ads (Set_Task_Affinity): Add this new procedure to set task affinities. * s-taprop-dummy.adb, s-taprop-hpux-dce.adb, s-taprop-irix.adb, s-taprop-posix.adb, s-taprop-tru64.adb, s-taprop-vms.adb (Set_Task_Affinity): Dummy null body for these targets not supporting task affinities. s-taprop-linux.adb, s-taprop-mingw.adb, s-taprop-solaris.adb, s-taprop-vxworks.adb (Create_Task, Enter_Task, Initialize): Handle dispatching domains and set the affinity of the environment task. (Set_Task_Affinity): Procedure that uses the underlying CPU set functionality to handle dispatching domains, pragma CPU and Task_Info. s-winext.ads (SetThreadAffinityMask): Import this function needed to set CPU masks. * s-osinte-solaris.ads (psetit_t, pset_create, pset_assign, pset_bind): Import the functionality to handle CPU set affinities. * affinity.c: New file. * s-osinte-vxworks.ads, s-vxwext.ads, s-vxwext-kernel.ads, s-vxwext-rtp.ads (taskMaskAffinitySet): Add this new spec for setting affinity masks. * s-vxwext.adb, s-vxwext-kernel.adb, s-vxwext-rtp.adb (taskMaskAffinitySet): Body returning an error indicating that task affinities are not supported. Makefile.rtl: Indicate that s-mudido is part of libgnarl. * gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS for VxWorks SMP, Solaris, Windows, and {x86,PowerPC, ia64,x86_64} Linux): Use the s-mudido-affinity.adb body which supports task affinities. 2011-08-30 Thomas quinot <quinot@adacore.com> * sem_ch13.adb: Minor reformatting. 2011-08-30 Vincent Celier <celier@adacore.com> * vms_conv.adb (Process_Argument): When the qualifier /UNCHECKED_SHARED_LIB_IMPORTS is for GNAT COMPILE, do not put the corresponding switch --unchecked-shared-lib-imports after -cargs, as it is for gnatmake, not for the compiler. 2011-08-30 Ed Schonberg <schonberg@adacore.com> * sem_ch4.adb (Analyze_Quantified_Expression): Analyze iterator specification and condition only in Semantics_Only mode. Otherwise the analysis is done after expression has been rewritten as loop. * sem_ch5.adb (Analyze_Iterator_Specification): Always generate a temporary for the iterator name (the domain of iteration) because it may need finalization actions and these must be generated outside of the loop. * sem_res.adb (Resolve_Quantified_Expression): Resolve only in Semantic_Only mode. * exp_ch4.adb (Expand_Quantified_Expression): Analyze and resolve once rewritten as loop. * exp_ch5.adb (Expand_Iterator_Loop): Code clean-up, now that the iterator is always an expression. 2011-08-30 Robert Dewar <dewar@adacore.com> * par-ch4.adb (P_Unparen_Cond_Case_Quant_Expression): New function (P_Expression_If_OK): New spec checks parens (P_Expression_Or_Range_Attribute_If_OK): New spec checks parens * par.adb (P_Expression_If_OK): New spec checks parens (P_Expression_Or_Range_Attribute_If_OK): New spec checks parens git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178321 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-18 Robert Dewar <dewar@adacore.com>charlet2010-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * g-trasym-vms-ia64.adb: Minor reformatting. 2010-10-18 Thomas Quinot <quinot@adacore.com> * sem_type.adb (Covers): If either argument is Standard_Void_Type and the other isn't, return False early. 2010-10-18 Ed Falis <falis@adacore.com> * s-vxwext-rtp.ads, s-vxext-rtp.adb: Adapt for missing APIs for RTPs in VxWorks Cert. 2010-10-18 Robert Dewar <dewar@adacore.com> * sem_disp.ads: Minor comment update. 2010-10-18 Robert Dewar <dewar@adacore.com> * einfo.ads, einfo.adb (Spec_PPC_List): Is now present in Entries * sem_ch3.adb (Analyze_Declarations): Add processing for delaying visibility analysis of precondition and postcondition pragmas (and Pre/Post aspects). * sem_ch6.adb (Process_PPCs): Add handling of inherited Pre'Class aspects. * sem_ch7.adb (Analyze_Package_Specification): Remove special handling of pre/post conditions (no longer needed). * sem_disp.adb (Inherit_Subprograms): Deal with interface case. * sem_prag.adb (Analyze_PPC_In_Decl_Part): Remove analysis of message argument, since this is now done in the main processing for pre/postcondition pragmas when they are first seen. (Chain_PPC): Pre'Class and Post'Class now handled properly (Chain_PPC): Handle Pre/Post aspects for entries (Check_Precondition_Postcondition): Handle entry declaration case (Check_Precondition_Postcondition): Handle delay of visibility analysis (Check_Precondition_Postcondition): Preanalyze message argument if present. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165612 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-05 Emmanuel Briot <briot@adacore.com>charlet2010-10-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * prj-env.adb, prj-env.ads (Set_Path): New subprogram. (Deep_Copy): Removed, not used. 2010-10-05 Javier Miranda <miranda@adacore.com> * sem_ch3.adb (Add_Internal_Interface_Entities): Code reorganization: move code that searches in the list of primitives of a tagged type for the entity that will be overridden by user-defined routines. * sem_disp.adb (Find_Primitive_Covering_Interface): Move here code previously located in routine Add_Internal_Interface_Entities. * sem_disp.ads (Find_Primitive_Covering_Interface): Update documentation * sem_ch6.adb (New_Overloaded_Entity): Add missing check on availability of attribute Alias. 2010-10-05 Ed Falis <falis@adacore.com> * s-taprop-vxworks.adb, s-osinte-vxworks.adb, s-osinte-vxworks.ads, s-vxwext.ads, s-vxwext-kernel.ads, s-vxwext-rtp.adb, s-vxwext-rtp.ads: Move definition of intContext to System.OS_Interface. Add necessary variants in System.VxWorks.Extensions. 2010-10-05 Doug Rupp <rupp@adacore.com> * s-asthan-vms-alpha.adb: On VMS, a task using pragma AST_Entry exhibits a memory leak when the task terminates because the vector allocated for the AST interface is not freed. Fixed by making the vector a controlled type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164972 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-06-22 Arnaud Charlet <charlet@adacore.com>charlet2010-06-221-1/+1
| | | | | | | | | | | | | | | | * s-osinte-vxworks.ads: Fix casing. * s-vxwext-kernel.ads, s-vxwext-rtp.ads: Complete previous change: Interfaces.C does not provide a long_long type. 2010-06-22 Emmanuel Briot <briot@adacore.com> * gnat_ugn.texi, projects.texi: Preprocess projects.texi for VMS and native user's guide, since this document contains the two versions. * gcc-interface/Make-lang.in: Update doc dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161152 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-06-22 Robert Dewar <dewar@adacore.com>charlet2010-06-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ali-util.ads: Minor comment update. * g-socthi-mingw.adb: Minor reformatting. 2010-06-22 Ed Falis <falis@adacore.com> * s-osinte-vxworks.ads: take sigset_t definition from System.VxWorks.Ext * s-vxwext.ads, s-vxwext-kernel.ads, s-vxwext-rtp.ads: Define sigset_t for specific versions of VxWorks. 2010-06-22 Emmanuel Briot <briot@adacore.com> * gnat_rm.texi, gnat_ugn.texi, projects.texi: Remove all project files related sections from user's guide and reference manual, since they have now been merged together into a separate document (projects.texi). This removes a lot of duplication where attributes where described in several places. The grammar for the project files is now in each of the sections (packages,expressions,...) instead of being duplicates in two other sections (one in the user's guide that contained the full grammar, and various sections in the rm that contained extracts of the same grammar). Added the full list of all supported attributes, since existing lists were incomplete Rename "associative array" into "indexed attribute" Remove sections that were duplicates ("External References in Project Files" and "External Values", and "Project Extensions" for instance). The list of valid packages in project files is now in a single place. 2010-06-22 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Add_Internal_Interface_Entities): If Find_Primitive_Covering_Interface does not find the operation, it may be because of a name conflict between the inherited operation and a local non-overloadable name. In that case look for the operation among the primitive operations of the type. This search must succeed regardless of visibility. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161150 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-06-25 Ed Falis <falis@adacore.com>charlet2009-06-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | * s-vxwext-rtp.ads: Add missing declaration 2009-06-25 Matthew Gingell <gingell@adacore.com> * a-stwise.adb, a-stzsea.adb (Count, Index): Avoid local copy on stack, speed up unmapped case. 2009-06-25 Vincent Celier <celier@adacore.com> * prj-nmsc.adb (Check): Change error message for illegal abstract projects. 2009-06-25 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Add note on use of -gnatct for ASIS 2009-06-25 Emmanuel Briot <briot@adacore.com> * fmap.ads: Add documentation on mapping files git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148930 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-06-19 Ed Falis <falis@adacore.com>charlet2009-06-191-1/+7
| | | | | | | | | * a-einuoc.ads, s-osinte-vxworks.ads, s-vxwext.ads, s-vxwext-kernel.adb, s-vxwext-kernel.ads, s-vxwext-rtp.ads: Code clean up. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148698 138bc75d-0d04-0410-961f-82ee72b054a4
* Reorganize code.charlet2009-04-151-8/+23
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146109 138bc75d-0d04-0410-961f-82ee72b054a4
* Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.jakub2009-04-091-15/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145841 138bc75d-0d04-0410-961f-82ee72b054a4
* * s-osinte-vxworks6.ads: Removed, merged with s-osinte-vxworks.ads/.adbcharlet2008-04-081-0/+65
* s-vxwext.ads, s-vxwext-kernel.ads, s-vxwext-rtp.ads, s-vxwext-rtp.adb: New files. * s-taprop-vxworks.adb, s-osinte-vxworks.ads, s-osinte-vxworks.adb: Minor updates to accomodate changes above. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134005 138bc75d-0d04-0410-961f-82ee72b054a4