From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,89a0d2ba77ca2cba X-Google-Attributes: gid111c93,public From: Chris Subject: Re: accessing Alpha CPU registers from panic() Date: 1999/12/16 Message-ID: <3859465A.686E4102@dtn.ntl.com>#1/1 X-Deja-AN: 561652564 Content-Transfer-Encoding: 7bit References: <3857D503.38CFE9EB@dtn.ntl.com> <83bbid$all$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@net.ntl.com X-Trace: nclient3-gui.server.dtn.ntl.com 945374963 3852 212.250.67.25 (16 Dec 1999 20:09:23 GMT) Organization: Man Mime-Version: 1.0 NNTP-Posting-Date: 16 Dec 1999 20:09:23 GMT Newsgroups: comp.os.linux.alpha brianw.hall@compaq.com wrote: Yes, but what registers are changed between the function calling panic() and entry to panic() ?. I'm no Alpha cpu or Linux guru, but no register contents should be changed during the call. If the call to panic() is a result of a context switch, then the register values of the calling process should be in the process control block. Normally, the program counter and stack pointer would be saved at a minimum, but the remaining registers should be in the state they were in when panic() was called. Rgrds, Chris > > Problem is, the call to panic() doesn't include the registers to start > with, so where do I get them from? Trying to figure out how to get the > information off the kernel stack... >