Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Peter Boyle <pboyle@holyrood.ed.ac.uk>
To: Addy <addy@TINOFSPAMaddy.freeserve.co.uk>
Subject: Re: Alpha linux memory map
Date: 1999/11/11	[thread overview]
Message-ID: <Pine.GSO.4.10.9911111822390.4384-100000@holyrood.ed.ac.uk> (raw)
In-Reply-To: 382a4861.13558636@reading.news.pipex.net



Hi,
/proc/pid/maps.
the kernel code is in fs/proc/array.c , look at read_map for the order of 
fields. Not sure how to associate vm areas with heap / stack/ etc, but 
register $26 (i think , might be 27 ) is the stack pointer and you could
get that with inline asm pretty easily, in fact $sp may be valid.
Peter

On Thu, 11 Nov 1999, Addy wrote:

> Quick question, where can I find what the Alpha Linux user process
> memory map looks like (i.e. stack/text/data/bss/heap virtual address
> bases ) ?
> 
> Is it documented or in the source code somewhere ?
> 
> Cheers,
> Addy.
> 
> 
> 

Peter Boyle	pboyle@physics.gla.ac.uk






      reply	other threads:[~1999-11-11  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-11  5:00 Alpha linux memory map Addy
1999-11-11  5:00 ` Peter Boyle [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox