From owner-cvs-sys Tue Nov 11 20:17:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA28447 for cvs-sys-outgoing; Tue, 11 Nov 1997 20:17:15 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA28297; Tue, 11 Nov 1997 20:15:13 -0800 (PST) (envelope-from jdp@FreeBSD.org) From: John Polstra Received: (from jdp@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id UAA15222; Tue, 11 Nov 1997 20:13:01 -0800 (PST) Date: Tue, 11 Nov 1997 20:13:01 -0800 (PST) Message-Id: <199711120413.UAA15222@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/apm apm.c src/sys/i386/include apm_bios.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 1997/11/11 20:13:00 PST Modified files: sys/i386/apm apm.c sys/i386/include apm_bios.h Log: Expand the APMIO_GETINFO ioctl to return the estimated remaining battery time. For backward compatibility with old binaries, I assigned a new ioctl number for this call, and retained the old one as APMIO_GETINFO_OLD. I also added eight words of padding and a version field, so that future enhancements won't require jumping through this hoop again. Revision Changes Path 1.65 +57 -30 src/sys/i386/apm/apm.c 1.19 +26 -3 src/sys/i386/include/apm_bios.h