diff options
Diffstat (limited to 'sys/dev/acpi/acpivar.h')
-rw-r--r-- | sys/dev/acpi/acpivar.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h index 2f9b0e1afcd..78e8303df3c 100644 --- a/sys/dev/acpi/acpivar.h +++ b/sys/dev/acpi/acpivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: acpivar.h,v 1.74 2012/10/08 21:47:50 deraadt Exp $ */ +/* $OpenBSD: acpivar.h,v 1.75 2012/11/27 17:38:46 pirofti Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * @@ -325,6 +325,12 @@ int acpi_dotask(struct acpi_softc *); void acpi_powerdown_task(void *, int); void acpi_sleep_task(void *, int); +/* Section 5.2.10.1: global lock acquire/release functions */ +#define GL_BIT_PENDING 0x01 +#define GL_BIT_OWNED 0x02 +int acpi_acquire_glk(uint32_t *); +int acpi_release_glk(uint32_t *); + void acpi_pciroots_attach(struct device *, void *, cfprint_t); #endif |