From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,e5f2436fac7caf33 X-Google-Attributes: gid111c93,public From: Peter Boyle Subject: Re: Alpha linux memory map Date: 1999/11/11 Message-ID: #1/1 X-Deja-AN: 547419359 References: <382a4861.13558636@reading.news.pipex.net> To: Addy Content-Type: TEXT/PLAIN; charset=US-ASCII X-Complaints-To: usenet@scotsman.ed.ac.uk X-Trace: scotsman.ed.ac.uk 942344970 11566 129.215.16.14 (11 Nov 1999 18:29:30 GMT) Organization: Edinburgh University Mime-Version: 1.0 NNTP-Posting-Date: 11 Nov 1999 18:29:30 GMT Newsgroups: comp.os.linux.alpha 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