diff options
author | jkim <jkim@FreeBSD.org> | 2010-11-10 01:29:56 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2010-11-10 01:29:56 +0000 |
commit | f01ec2a1c628b134a7096750203670f6d1b98b39 (patch) | |
tree | 1da2d0120714f78382ac3bf855fd272e9f16490b /sys/dev/acpica | |
parent | f9cb90fe52feaf45f7c2a264675aa002cf4cb01c (diff) | |
download | FreeBSD-src-f01ec2a1c628b134a7096750203670f6d1b98b39.zip FreeBSD-src-f01ec2a1c628b134a7096750203670f6d1b98b39.tar.gz |
Refactor acpi_machdep.c for amd64 and i386, move APM emulation into a new
file acpi_apm.c, and place it on sys/x86/acpica.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r-- | sys/dev/acpica/acpivar.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h index 34284d5..130566a 100644 --- a/sys/dev/acpica/acpivar.h +++ b/sys/dev/acpica/acpivar.h @@ -396,6 +396,9 @@ ACPI_STATUS acpi_pwr_switch_consumer(ACPI_HANDLE consumer, int state); int acpi_device_pwr_for_sleep(device_t bus, device_t dev, int *dstate); +/* APM emulation */ +struct apm_clone_data *acpi_apm_create_clone(struct cdev *, struct acpi_softc *); + /* Misc. */ static __inline struct acpi_softc * acpi_device_get_parent_softc(device_t child) |