s-osinte-tru64.ads, [...] (Get_Stack_Base): New function
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 15 Mar 2005 15:46:15 +0000 (16:46 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Mar 2005 15:46:15 +0000 (16:46 +0100)
commit09c239f69814c6c85f5eba1b57e50d8a9ee1acae
tree3cff2a9ec57434d950b3dfe4e92e7a0c57f3a517
parent0b6eb8e13c5aa7d890209323cdcbf511d1b4a8dc
s-osinte-tru64.ads, [...] (Get_Stack_Base): New function

2005-03-08  Eric Botcazou  <ebotcazou@adacore.com>

* s-osinte-tru64.ads, s-osinte-tru64.adb (Get_Stack_Base): New function
(Hide_Yellow_Zone): New procedure to hide the Yellow Zone of the
calling thread.
(Stack_Base_Available): New flag.
(Get_Page_Size): New overloaded functions imported from C.
(PROT_NONE, PROT_READ, PROT_WRITE, PROT_EXEC, PROT_ALL,
PROT_ON, PROT_OFF): New constants.
(mprotect): New function imported from C.
(pthread_teb_t): New record type.

* s-taprop-tru64.adb: (Enter_Task): Invoke Hide_Yellow_Zone.
(Create_Task): Account for the Yellow Zone and the guard page.

From-SVN: r96479
gcc/ada/s-osinte-tru64.adb
gcc/ada/s-osinte-tru64.ads
gcc/ada/s-taprop-tru64.adb