]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Expand the APMIO_GETINFO ioctl to return the estimated remaining
authorJohn Polstra <jdp@FreeBSD.org>
Wed, 12 Nov 1997 04:12:51 +0000 (04:12 +0000)
committerJohn Polstra <jdp@FreeBSD.org>
Wed, 12 Nov 1997 04:12:51 +0000 (04:12 +0000)
commit56fac9328ef1abe160358efe59db73a0ce7a95c1
tree3ce369d41989a1cbb10b8d5afc09d39c7c2088d8
parentadbec73e0020ea05b37735bc35e1db72cc3620ae
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