Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
5b8ca141
Commit
5b8ca141
authored
Aug 30, 2011
by
Tristan Gingold
Committed by
Arnaud Charlet
Aug 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renames Ratio to Percentage, and Sec_Stack_Ratio to Sec_Stack_Percentage
From-SVN: r178315
parent
3597c0e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
gcc/ada/ChangeLog
+2
-2
gcc/ada/s-parame-ae653.ads
+4
-4
No files found.
gcc/ada/ChangeLog
View file @
5b8ca141
...
...
@@ -17,8 +17,8 @@
*
s
-
parame
-
vms
-
alpha
.
ads
,
s
-
parame
-
hpux
.
ads
,
s
-
tassta
.
adb
,
s
-
tarest
.
adb
,
s
-
parame
-
vms
-
ia64
.
ads
,
s
-
soflin
.
adb
,
s
-
secsta
.
adb
,
s
-
secsta
.
ads
,
s
-
parame
.
ads
,
s
-
parame
-
vxworks
.
ads
:
Renames
Ratio
to
Percentage
,
and
Sec_Stack_Ratio
to
Sec_Stack_Percentage
.
s
-
secsta
.
ads
,
s
-
parame
.
ads
,
s
-
parame
-
vxworks
.
ads
,
s
-
parame
-
ae653
.
ads
:
Renames
Ratio
to
Percentage
,
and
Sec_Stack_Ratio
to
Sec_Stack_Percentage
2011
-
08
-
30
Gary
Dismukes
<
dismukes
@
adacore
.
com
>
...
...
gcc/ada/s-parame-ae653.ads
View file @
5b8ca141
...
...
@@ -6,7 +6,7 @@
--
--
--
S
p
e
c
--
--
--
--
Copyright
(
C
)
1992
-
201
0
,
Free
Software
Foundation
,
Inc
.
--
--
Copyright
(
C
)
1992
-
201
1
,
Free
Software
Foundation
,
Inc
.
--
--
--
--
GNAT
is
free
software
;
you
can
redistribute
it
and
/
or
modify
it
under
--
--
terms
of
the
GNU
General
Public
License
as
published
by
the
Free
Soft
-
--
...
...
@@ -62,7 +62,7 @@ package System.Parameters is
Unspecified_Size
:
constant
Size_Type
:=
Size_Type
'First;
-- Value used to indicate that no size type is set
subtype
Ratio
is Size_Type range -1 .. 100;
subtype
Percentage
is Size_Type range -1 .. 100;
Dynamic : constant Size_Type := -1;
-- The secondary stack ratio is a constant between 0 and 100 which
-- determines the percentage of the allocated task stack that is
...
...
@@ -70,10 +70,10 @@ package System.Parameters is
-- The special value of minus one indicates that the secondary
-- stack is to be allocated from the heap instead.
Sec_Stack_
Ratio : constant Ratio
:= 50;
Sec_Stack_
Percentage : constant Percentage
:= 50;
-- This constant defines the handling of the secondary stack
Sec_Stack_Dynamic : constant Boolean := Sec_Stack_
Ratio
= Dynamic;
Sec_Stack_Dynamic : constant Boolean := Sec_Stack_
Percentage
= Dynamic;
-- Convenient Boolean for testing for dynamic secondary stack
function Default_Stack_Size return Size_Type;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment