Date: Wed, 3 Dec 1997 18:40:02 -0800 (PST) From: Warner Losh <imp@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/apm apm.c Message-ID: <199712040240.SAA08089@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 1997/12/03 18:40:02 PST Modified files: sys/i386/apm apm.c Log: The Libretto's BIOS doesn't set edx on the APM_GETPWSTATUS call, so the barrery time remaining is reported as a random number. Initialize edx to 0xffff in this case, and to 0 in all other cases. This change should be benign on other machines. Reviewed by: jdp Revision Changes Path 1.66 +11 -3 src/sys/i386/apm/apm.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712040240.SAA08089>