]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Expand the APMIO_GETINFO ioctl to return the estimated remaining
authorjdp <jdp@FreeBSD.org>
Wed, 12 Nov 1997 04:12:51 +0000 (04:12 +0000)
committerjdp <jdp@FreeBSD.org>
Wed, 12 Nov 1997 04:12:51 +0000 (04:12 +0000)
commit53247589eb018f3b6e61ad83192fe9f7bbf23ab8
tree4f32c675f022eae838098ca40644877a587220d8
parent652211158989b6fb400ba1b120b08b38f5abccc5
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.
sys/i386/apm/apm.c
sys/i386/bios/apm.c
sys/i386/include/apm_bios.h