-/* $OpenBSD: acpi.c,v 1.404 2022/01/04 13:40:58 patrick Exp $ */
+/* $OpenBSD: acpi.c,v 1.405 2022/01/12 11:18:30 patrick Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
return -1;
}
-uint32_t
-acpi_getpropint(struct aml_node *node, const char *prop, uint32_t defval)
+uint64_t
+acpi_getpropint(struct aml_node *node, const char *prop, uint64_t defval)
{
struct aml_value dsd;
int i;
-/* $OpenBSD: acpivar.h,v 1.115 2021/12/26 13:55:36 kettenis Exp $ */
+/* $OpenBSD: acpivar.h,v 1.116 2022/01/12 11:18:30 patrick Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
int64_t acpi_getsta(struct acpi_softc *sc, struct aml_node *);
int acpi_getprop(struct aml_node *, const char *, void *, int);
-uint32_t acpi_getpropint(struct aml_node *, const char *, uint32_t);
+uint64_t acpi_getpropint(struct aml_node *, const char *, uint64_t);
int acpi_record_event(struct acpi_softc *, u_int);