Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2014 20:23:10 +0300
From:      Vitaly Magerya <vmagerya@gmail.com>
To:        ia64@freebsd.org
Subject:   What's the process memory layout on FreeBSD/ia64?
Message-ID:  <535A99FE.4030905@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi, folks. I want to port devel/boehm-gc to ia64, and for this
I need to know the layout of process memory on ia64. Hope you
can help me with this.

In short, devel/boehm-gc is a conservative garbage collector;
to trace garbage it needs to know all the possible addresses
where pointers can be located, which are: data segment, stack,
and the backing store.

Now, on other FreeBSD architectures the position of the data
segment are taken from 'etext', 'edata' and 'end' addresses. The
position of the stack is taken from 'kern.usrstack' sysctl. Where
should one get the position of the backing store on ia64 though?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?535A99FE.4030905>