From 748c385494ee5d641b7e648df28568538e41467c Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Thu, 19 Feb 2009 21:02:06 +0000 Subject: suspend/resume bits so that we can develop this in tree. This is disabled. code from mlarkin and me help from art,toby,jordan and several others ok jordan, go for it deraadt --- sys/dev/acpi/acpivar.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'sys/dev/acpi/acpivar.h') diff --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h index 4399525b340..981a154eae3 100644 --- a/sys/dev/acpi/acpivar.h +++ b/sys/dev/acpi/acpivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: acpivar.h,v 1.45 2009/01/20 20:21:03 mlarkin Exp $ */ +/* $OpenBSD: acpivar.h,v 1.46 2009/02/19 21:02:05 marco Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert * @@ -249,10 +249,16 @@ int acpi_probe(struct device *, struct cfdata *, struct bios_attach_args *); u_int acpi_checksum(const void *, size_t); void acpi_attach_machdep(struct acpi_softc *); int acpi_interrupt(void *); -void acpi_enter_sleep_state(struct acpi_softc *, int); void acpi_powerdown(void); -void acpi_resume(struct acpi_softc *); void acpi_reset(void); +void acpi_cpu_flush(struct acpi_softc *, int); +int acpi_sleep_state(struct acpi_softc *, int); +void acpi_resume(struct acpi_softc *); +int acpi_prepare_sleep_state(struct acpi_softc *, int); +int acpi_enter_sleep_state(struct acpi_softc *, int); +int acpi_sleep_machdep(struct acpi_softc *, int); +void acpi_sleep_walk(struct acpi_softc *, int); + #define ACPI_IOREAD 0 #define ACPI_IOWRITE 1 -- cgit v1.2.3