Subject: Re: CVS commit: syssrc
To: Chris G. Demetriou <cgd@sibyte.com>
From: Simon Burge <simonb@wasabisystems.com>
List: port-mips
Date: 09/27/2000 13:00:30
Chris G. Demetriou wrote:

> jeffs@netbsd.org (Jeff Smith) writes in a commit message:
> > No longer save $at on syscall entry.  v1 does appear to be used as if
> > you do not save it and pass it along in rval the system will start
> > to fail running user programs.  This finishes the suggestion by cgd to
> > not save some registers on syscall entry.
> 
> take a look at lib/libc/sys/arch/mips/sys/sbrk.S.  "somebody was let
> out without adult supervision" on that one, for a few reasons.
> 
> it'd be interesting to see what e.g. an ultrix binary or other
> "vendor-os" does for this...

A disassembly of Ultrix's sbrk.o show exactly the same code (well, ok,
the addu and li are switched) as our sbrk.S...

.../libc/sys/arch/... ? :-)

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