bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calculating correct values of mem_top, mem_range, stack_address, st


From: Samuel Thibault
Subject: Re: Calculating correct values of mem_top, mem_range, stack_address, stack_direction and page_width for gcl on Hurd
Date: Fri, 6 Nov 2015 01:20:51 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]