Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Chris <quattro_net@dtn.ntl.com>
Subject: Re: accessing Alpha CPU registers from panic()
Date: 1999/12/16	[thread overview]
Message-ID: <3859465A.686E4102@dtn.ntl.com> (raw)
In-Reply-To: 83bbid$all$1@nnrp1.deja.com

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...
>



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

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <15AD5D7936F8D21198240000F831776E3E7FF3@dboexc1.dbo.cpqcorp.net>
1999-12-15  5:00 ` accessing Alpha CPU registers from panic() Brian Hall
1999-12-15  5:00   ` Chris
1999-12-16  5:00     ` brianw.hall
1999-12-16  5:00       ` Chris [this message]
1999-12-17  5:00         ` Scott Wood
1999-12-13  5:00 Brian Hall
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