[prev in list] [next in list] [prev in thread] [next in thread]
List: hurd-bug
Subject: Re: Calculating correct values of mem_top, mem_range, stack_address, stack_direction and page_width
From: Samuel Thibault <samuel.thibault () gnu ! org>
Date: 2015-11-06 0:20:51
Message-ID: 20151106002051.GU2859 () var ! home
[Download RAW message or body]
Svante Signell, on Thu 05 Nov 2015 11:02:07 +0100, wrote:
> Unfortunately some values are wrong for GNU/Hurd. In order to hardcode
> them (to see if the application packages like maxima can run properly)
> I need to know the correct/safe (maybe empirical) values.
>
> On Hurd:
> page_width=12
> stack_direction=-1
> stack_address=0xfffffff
That address is too big. The heap starts around 0x8000000. stack_address
would rather be something like 0x2000000.
> mem_top=0x80000000
> mem_range=0x40000000
The rest looks "fine", in that they will probably work as of now. But
the memory layout may change e.g. when using position-independent code
etc. so hardcoding is fragile.
Samuel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic