Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: iBook suspend mode and assembly help

On Wed, Jun 22, 2022 at 02:20:01PM -0400, Michael wrote:
> > That is defined in linux/arch/powerpc/kernel/head_32.S
> > The closest thing I find in NetBSD powerpc code is RESTORE_KERN_SRS
> > Is it the right direction?
> I'm not sure about that, PowerPC MMU stuff breaks my brain. IIRC we
> only really care about the first one since that's where the kernel code
> lives.

How RESTORE_KERN_SRS(pmap,sr) should be used? The trap code invokes
it witj r30 and r31 but I fail to grasp what the registers points
to and when.

Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index