summaryrefslogtreecommitdiff
path: root/gcc/ada/s-taspri-dummy.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-08 07:12:22 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-08 07:12:22 +0000
commit1788adc4a08483a7d2e97c11b07e0e152904fcfb (patch)
treef6cf2cc4a12fdc7be73080a6d669795d1f55ab89 /gcc/ada/s-taspri-dummy.ads
parentc03d3a5aa2a39ef4a1e3bfa6d515088ad1433900 (diff)
downloadgcc-1788adc4a08483a7d2e97c11b07e0e152904fcfb.tar.gz
(Task_Address): New subtype
(Task_Address_Size): New constant size of System.Address (Alternate_Stack_Size): New constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134078 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-taspri-dummy.ads')
-rw-r--r--gcc/ada/s-taspri-dummy.ads12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ada/s-taspri-dummy.ads b/gcc/ada/s-taspri-dummy.ads
index 06cb9c13d6e..42fdabf9147 100644
--- a/gcc/ada/s-taspri-dummy.ads
+++ b/gcc/ada/s-taspri-dummy.ads
@@ -54,4 +54,16 @@ package System.Task_Primitives is
L : aliased RTS_Lock;
end record;
+ subtype Task_Address is System.Address;
+ -- In some versions of Task_Primitives, notably for VMS, Task_Address is
+ -- the short version of address defined in System.Aux_DEC. To avoid
+ -- dragging Aux_DEC into tasking packages a tasking specific subtype is
+ -- defined here.
+
+ Task_Address_Size : constant := Standard'Address_Size;
+ -- The size of Task_Address
+
+ Alternate_Stack_Size : constant := 0;
+ -- No alternate signal stack is used on this platform
+
end System.Task_Primitives;