Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD master CVS tree commits
cgd
Wed Jul 16 22:15:03 PDT 1997
Update of /cvsroot/src/sys/arch/i386/i386
In directory netbsd1:/var/slash-tmp/cvs-serv9427
Modified Files:
locore.s
Log Message:
return either 0 (success) or 1 (failure) from apmcall(), rather than 0
(success) or the whatever happened to be in %eax after the APM call on
failure. The latter usually would end up being the (nonzero) opcode
placed in %ax before the call, but could conceivably be modified by the
call to be zero. In any case, 0/1 is much nicer than 0/random-nonzero,
as well as being safer.
Home |
Main Index |
Thread Index |
Old Index