acpivar.h (85699) | acpivar.h (85729) |
---|---|
1/*- 2 * Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@jp.freebsd.org> 3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org> 4 * Copyright (c) 2000 BSDi 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 11 unchanged lines hidden (view full) --- 20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * | 1/*- 2 * Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@jp.freebsd.org> 3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org> 4 * Copyright (c) 2000 BSDi 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 11 unchanged lines hidden (view full) --- 20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * |
28 * $FreeBSD: head/sys/dev/acpica/acpivar.h 85699 2001-10-29 18:09:43Z iwasaki $ | 28 * $FreeBSD: head/sys/dev/acpica/acpivar.h 85729 2001-10-30 14:24:26Z iwasaki $ |
29 */ 30 31#include "bus_if.h" 32#include <sys/eventhandler.h> 33#include <sys/sysctl.h> 34 35#include <machine/bus.h> 36#include <machine/resource.h> --- 287 unchanged lines hidden (view full) --- 324 * Battery Abstruction. 325 */ 326struct acpi_battinfo; 327struct acpi_battdesc; 328 329extern int acpi_battery_register(int, int); 330extern int acpi_battery_get_battinfo(int, struct acpi_battinfo *); 331extern int acpi_battery_get_units(void); | 29 */ 30 31#include "bus_if.h" 32#include <sys/eventhandler.h> 33#include <sys/sysctl.h> 34 35#include <machine/bus.h> 36#include <machine/resource.h> --- 287 unchanged lines hidden (view full) --- 324 * Battery Abstruction. 325 */ 326struct acpi_battinfo; 327struct acpi_battdesc; 328 329extern int acpi_battery_register(int, int); 330extern int acpi_battery_get_battinfo(int, struct acpi_battinfo *); 331extern int acpi_battery_get_units(void); |
332extern int acpi_battery_get_info_expire(void); |
|
332extern int acpi_battery_get_battdesc(int, struct acpi_battdesc *); 333 334extern int acpi_cmbat_get_battinfo(int, struct acpi_battinfo *); 335 336/* 337 * AC adapter interface. 338 */ 339 --- 16 unchanged lines hidden --- | 333extern int acpi_battery_get_battdesc(int, struct acpi_battdesc *); 334 335extern int acpi_cmbat_get_battinfo(int, struct acpi_battinfo *); 336 337/* 338 * AC adapter interface. 339 */ 340 --- 16 unchanged lines hidden --- |