Source-Changes archive

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

Re: CVS commit: src/sys/arch/mips/mips



Jason Thorpe wrote:

> On Saturday, May 3, 2003, at 07:53  PM, Simon Burge wrote:
> 
> > Module Name:        src
> > Committed By:       simonb
> > Date:               Sun May  4 02:53:54 UTC 2003
> >
> > Modified Files:
> >     src/sys/arch/mips/mips: locore.S
> >
> > Log Message:
> > Use 64-bit "sd" in mips_pagezero() if we're compiled for MIPS{3,4,64}
> > (the actual check is !MIPS1 && !MIPS32).
> >
> > Do the ".set push", ".set mips3", ".set pop" dance if we use 64-bit
> > instructions.
> 
> Is this actually safe if the trap handlers don't save/restore all 64 
> bits of the register?

This patch only enables 64-bit ops for the pagezero case.  We only use
stores of $0 here, which is safe.

Simon.
--
Simon Burge                            <simonb%wasabisystems.com@localhost>
NetBSD Support and Service:         http://www.wasabisystems.com/



Home | Main Index | Thread Index | Old Index