zfp_genesis 1
zfp_genesis 2
zfp_genesis 3
zfp_genesis 4
zfp_genesis 5
zfp_genesis 6
zfp_genesis 7
zfp_genesis 8
zfp_genesis 9
zfp_genesis 10
zfp_genesis 11
zfp_genesis 12
zfp_genesis 13
zfp_genesis 14
zfp_genesis 15
zfp_genesis 16
zfp_genesis 17 pragma Compiler_Unit_Warning;
zfp_genesis 18
zfp_genesis 19 package body System.Parameters is
zfp_genesis 20
zfp_genesis 21
zfp_genesis 22
zfp_genesis 23
zfp_genesis 24
zfp_genesis 25 function Adjust_Storage_Size (Size : Size_Type) return Size_Type is
zfp_genesis 26 begin
zfp_genesis 27 if Size = Unspecified_Size then
zfp_genesis 28 return Default_Stack_Size;
zfp_genesis 29 elsif Size < Minimum_Stack_Size then
zfp_genesis 30 return Minimum_Stack_Size;
zfp_genesis 31 else
zfp_genesis 32 return Size;
zfp_genesis 33 end if;
zfp_genesis 34 end Adjust_Storage_Size;
zfp_genesis 35
zfp_genesis 36
zfp_genesis 37
zfp_genesis 38
zfp_genesis 39
zfp_genesis 40 function Default_Stack_Size return Size_Type is
zfp_genesis 41 Default_Stack_Size : Integer;
zfp_genesis 42 pragma Import (C, Default_Stack_Size, "__gl_default_stack_size");
zfp_genesis 43 begin
zfp_genesis 44 if Default_Stack_Size = -1 then
zfp_genesis 45 return 2 * 1024 * 1024;
zfp_genesis 46 else
zfp_genesis 47 return Size_Type (Default_Stack_Size);
zfp_genesis 48 end if;
zfp_genesis 49 end Default_Stack_Size;
zfp_genesis 50
zfp_genesis 51
zfp_genesis 52
zfp_genesis 53
zfp_genesis 54
zfp_genesis 55 function Minimum_Stack_Size return Size_Type is
zfp_genesis 56 begin
zfp_genesis 57
zfp_genesis 58
zfp_genesis 59
zfp_genesis 60
zfp_genesis 61
zfp_genesis 62 return 16 * 1024;
zfp_genesis 63 end Minimum_Stack_Size;
zfp_genesis 64
zfp_genesis 65 end System.Parameters;