Re: deciphering powerpc registers
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, March 13, 2003, at 12:03 PM, Brian Daugherty wrote:
hi,
I'm trying to debug a kernel panic. I'd like to lookup the meaning of
the
codes contained in the DSISR, MSR and DAR.
Exception state (sv=0x0DC62C80)
PC=0x90000E2C; MSR=0x0000D030; DAR=0x0DCDB000; DSISR=0x42000000;
LR=0x0001
PC = Program Counter. This is actually r2 (I think) since the PPC does not actually have a PC register. DAR = Data register, this is usually r3, or the first arg to a function call. LR = Link Register which should be the previous function in the call stack. I forget what MSR and DSISR are.
Can anybody point me at some on-line powerpc docs which would help out?
You can look at Motorola's web site for doc on the PPC, also look at Apple's site. I know the PC counter is non-std, but I forget if r3 is the std register for function args. HTH. Brian Bergstrand <http://www.classicalguitar.net/brian/> PGP Key ID: 0xB6C7B6A2 Windows 2000: It sucks less. -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 iQA/AwUBPnDDIXnR2Fu2x7aiEQIPUQCgnGiVQgbht1ZXu0TFtxLfZRlz81sAn2Eg XDsDrLEne+wPp2U1UWT0MJch =E5Xu -----END PGP SIGNATURE----- _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Brian Bergstrand