Port-mips archive

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

Re: ucas for MIPS



On Sun, Jul 12, 2009 at 12:02:17AM +0900, Masao Uebayashi wrote:
 > I guess not.  I have 0 knowledge / experience about mips1...

Basic approach would be to disable interrupts, then expand the
compare-and-swap using normal instructions. (Unless interrupts are
already supposed to be off when calling ucas?)

Do we currently do run-time patching of stuff like this based on the
processor type?

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index