diff options
Diffstat (limited to 'sys/dev/acpi/dsdt.h')
-rw-r--r-- | sys/dev/acpi/dsdt.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/dev/acpi/dsdt.h b/sys/dev/acpi/dsdt.h index 34a04715741..47dfbfae6a7 100644 --- a/sys/dev/acpi/dsdt.h +++ b/sys/dev/acpi/dsdt.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dsdt.h,v 1.5 2006/02/03 23:55:47 jordan Exp $ */ +/* $OpenBSD: dsdt.h,v 1.6 2006/02/16 21:11:13 jordan Exp $ */ /* * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> * @@ -31,12 +31,16 @@ void aml_showvalue(struct aml_value *); void aml_walktree(struct aml_node *); -struct aml_value *aml_allocint(uint64_t, int); +struct aml_value *aml_allocint(uint64_t); struct aml_value *aml_allocstr(const char *); -struct aml_value *aml_allocvalue(int, int64_t, void *, const char *); +struct aml_value *aml_allocvalue(int, int64_t, void *); struct aml_value *aml_copyvalue(const struct aml_value *); -int aml_freevalue(struct aml_value **); -int aml_comparevalue(int, const struct aml_value *, const struct aml_value *); +struct acpi_context; + +void aml_freevalue(struct aml_value **); +int aml_comparevalue(struct acpi_context *, int, struct aml_value *, struct aml_value *); + +int64_t aml_val2int(struct acpi_context *, struct aml_value *); #endif /* __DEV_ACPI_DSDT_H__ */ |