* Alpha linux memory map
@ 1999-11-11 5:00 Addy
1999-11-11 5:00 ` Peter Boyle
0 siblings, 1 reply; 2+ messages in thread
From: Addy @ 1999-11-11 5:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Alpha linux memory map
1999-11-11 5:00 Alpha linux memory map Addy
@ 1999-11-11 5:00 ` Peter Boyle
0 siblings, 0 replies; 2+ messages in thread
From: Peter Boyle @ 1999-11-11 5:00 UTC (permalink / raw)
To: Addy
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-11-11 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-11 5:00 Alpha linux memory map Addy
1999-11-11 5:00 ` Peter Boyle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox