Home | History | Annotate | Download | only in include
History log of /src/sys/arch/i386/include/apmvar.h
RevisionDateAuthorComments
 1.26  01-Oct-2012  dsl Remove some definitions that were part of the APM bos interface.
 1.25  28-Apr-2008  martin branches: 1.25.34; 1.25.44;
Remove clause 3 and 4 from TNF licenses
 1.24  08-Jul-2006  christos branches: 1.24.58; 1.24.60; 1.24.62;
remove functions we don't use
and adjust to the new prototype.
 1.23  11-Dec-2005  christos branches: 1.23.4; 1.23.8; 1.23.16;
merge ktrace-lwp.
 1.22  01-Jun-2005  drochner branches: 1.22.2;
kill the "busname" attach arg for acpi, apm, pnpbios and vesabios,
and pass NULL "print" function pointers to their config_found functions
because they shouldn't be called anyway
 1.21  31-May-2005  drochner inspired by the last commit -- apm_attach_args aren't necessary at all,
kill them
being here fix cast-qual problems in debug code
 1.20  31-May-2005  christos PR/30387: Nicolas Joly: -current i386 GENERIC_LAPTOP kernel compilation failure
 1.19  25-Dec-2003  jmc Wrap some areas with #ifndef _LOCORE so assembly files can pick up some defs
from here. Needed for bioscall fixes in PR#14946
 1.18  27-Oct-2003  junyoung Nuke __P().
 1.17  02-Apr-2003  thorpej branches: 1.17.2;
Use PAGE_SIZE rather than NBPG.
 1.16  14-Oct-2002  takemura Moved MI APM definitions into dev/apm.
 1.15  01-Oct-2002  fvdl Merge Bill Sommerfeld's i386 MP branch. This code has some known
caveats, but works quite well in a lot of MP cases, and all
UP cases that I have tested. Parts of this will hopefully be
reworked in the not-too-distant future.
 1.14  10-Sep-2001  perry Make it possible to query each battery individually by making the
APM_IOC_GETPOWER ioctl read/write. Setting the batteryid in the passed
structure returns the data for just that battery. The old ioctl
remains for binary compatibility but has been renamed.

Itojun already did the hard work -- I just added a couple of lines.

reviewed by: thorpej
 1.13  22-Jul-2001  itojun branches: 1.13.2;
support multiple batteries (currently only # of batteris is visible -
need to tweak ioctl API more). PR 10545.
 1.12  21-May-2001  perry branches: 1.12.2;
remove needless externs in front of function prototypes
 1.11  24-Mar-2001  christos Some bios's when apm is disabled [or even some functions of it are disabled],
they keep giving error 0x30b. Unfortunately this keeps happening every second
making the console unusable. Keep track of the last error that occurred and
if the last 10 times apm was called the same error was returned, give up and
exit the apm thread.
 1.10  12-Jan-2001  simonb branches: 1.10.2;
Enable the APM_IOC_DEV_CTL ioctl. Works at least for turning off & on
a LCD screen on a Dell Inspiron 5000e (and probably many others).
 1.9  17-Aug-1999  drochner branches: 1.9.2; 1.9.10;
add some v1.2 bits, comment out the APM_IOC_DEV_CTL ioctl which I didn't
find a use for
 1.8  03-Oct-1998  jtk copyright has been assigned to TNF, update notice
 1.7  31-Aug-1998  jtk add 32-bit register support and beginnings of APM V1.2 support
 1.6  15-Oct-1997  jtk put in place a proper bioscall.h (sorry about that!)
finish up incomplete job of moving structure used by bioscall() to
<machine/bioscall.h>, with associated changes in include file strategy,
genassym stuff, etc.
 1.5  22-Nov-1996  jtk branches: 1.5.10;
add pre-probe step so that autoconfiguration does not print 'apm0 at
mainbus0 not configured' message if configured but not present in the
BIOS
 1.4  10-Sep-1996  jtk clean up missing prototype, extra variable
 1.3  08-Sep-1996  jtk change APM to use new almost-generalized BIOS trampoline:

/*
* void bioscall(int function, struct apmregs *regs):
* call the BIOS interrupt "function" from real mode with
* registers as specified in "regs"
* (for the flags, though, only these flags are passed to the BIOS;
* the remainder come from the flags register at the time of the call:
* (PSL_C|PSL_PF|PSL_AF|PSL_Z|PSL_N|PSL_D|PSL_V)
*
* Fills in *regs with registers as returned by BIOS.
*/

Thanks to Charles Hannum for complaining and inspiring me to hack this
together.
 1.2  30-Aug-1996  jtk make all constants use APM_ prefix, and some other minor cleanup so that
this can be the sole APM include file
 1.1  25-Aug-1996  jtk add Advanced Power Management driver
Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
 1.5.10.1  15-Oct-1997  thorpej Sync w/ trunk.
 1.9.10.5  22-Sep-2001  sommerfeld Merge branch with current, post ubcperf, MTRR, etc., etc.,
with the recent fifo_putpages fix to the trunk, GENERIC.MPDEBUG config
boots multiuser on my BP6.
 1.9.10.4  03-Sep-2001  sommerfeld Merge with -current once more.
 1.9.10.3  23-May-2001  sommerfeld Merge branch with tonight's current.
boots multiuser.
 1.9.10.2  30-Apr-2001  sommerfeld Merge sommerfeld_i386mp_1 branch with -current as of today.
GENERIC.MP kernel boots and runs multiuser on my ABIT BP6
 1.9.10.1  23-Jan-2001  thorpej Sync with the trunk.
 1.9.2.2  27-Mar-2001  bouyer Sync with HEAD.
 1.9.2.1  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.10.2.5  18-Oct-2002  nathanw Catch up to -current.
 1.10.2.4  21-Sep-2001  nathanw Catch up to -current.
 1.10.2.3  24-Aug-2001  nathanw Catch up with -current.
 1.10.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.10.2.1  09-Apr-2001  nathanw Catch up with -current.
 1.12.2.3  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.12.2.2  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.12.2.1  03-Aug-2001  lukem update to -current
 1.13.2.1  01-Oct-2001  fvdl Catch up with -current.
 1.17.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.17.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.17.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.17.2.1  03-Aug-2004  skrll Sync with HEAD
 1.22.2.1  30-Dec-2006  yamt sync with head.
 1.23.16.1  13-Jul-2006  gdamore Merge from HEAD.
 1.23.8.1  11-Aug-2006  yamt sync with head
 1.23.4.1  09-Sep-2006  rpaulo sync with head
 1.24.62.1  16-May-2008  yamt sync with head.
 1.24.60.1  18-May-2008  yamt sync with head.
 1.24.58.1  02-Jun-2008  mjf Sync with HEAD.
 1.25.44.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.25.34.1  30-Oct-2012  yamt sync with head

RSS XML Feed