diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2009-02-19 21:02:06 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2009-02-19 21:02:06 +0000 |
commit | 748c385494ee5d641b7e648df28568538e41467c (patch) | |
tree | 9b3648d5d080c29915d0f71b7a8d9c490046223d /sys/dev/acpi/acpivar.h | |
parent | 6fb68817a3957ab44390ea949e41e4b949d653a7 (diff) |
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
Diffstat (limited to 'sys/dev/acpi/acpivar.h')
-rw-r--r-- | sys/dev/acpi/acpivar.h | 12 |
1 files changed, 9 insertions, 3 deletions
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 <tholo@sigmasoft.com> * @@ -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 |