mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 00:02:44 +00:00
Added PC-98 specific function to get battery status.
Submitted by: URATA Shuichiro <s-urata@nmit.tmg.nec.co.jp>
This commit is contained in:
parent
9faa8dc6cc
commit
c8ac925d54
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23580
@ -12,7 +12,7 @@
|
||||
*
|
||||
* Aug, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
|
||||
*
|
||||
* $Id$
|
||||
* $Id: apm_bios.h,v 1.15 1997/02/22 09:33:54 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_APM_BIOS_H_
|
||||
@ -60,11 +60,19 @@
|
||||
#define APM_SETPWSTATE 0x07
|
||||
#define APM_ENABLEDISABLEPM 0x08
|
||||
#define APM_RESTOREDEFAULT 0x09
|
||||
#ifdef PC98
|
||||
#define APM_GETPWSTATUS 0x3a
|
||||
#else
|
||||
#define APM_GETPWSTATUS 0x0a
|
||||
#endif
|
||||
#define APM_GETPMEVENT 0x0b
|
||||
#define APM_GETPWSTATE 0x0c
|
||||
#define APM_ENABLEDISABLEDPM 0x0d
|
||||
#ifdef PC98
|
||||
#define APM_DRVVERSION 0x3e
|
||||
#else
|
||||
#define APM_DRVVERSION 0x0e
|
||||
#endif
|
||||
#define APM_ENGAGEDISENGAGEPM 0x0f
|
||||
#define APM_OEMFUNC 0x80
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user