summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/dsdt.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-10-07 18:02:21 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-10-07 18:02:21 +0000
commit8a89181e4bcf2bd8137704fb663846d0da40d761 (patch)
tree99cda0a8feee8f99d1adb4bcb99d2e18604811a7 /sys/dev/acpi/dsdt.h
parent1e73da494f3739d19d56c4f364ff89c44da0210f (diff)
Fix memory leak bug during scope evaluation (now without introducing a bug
in evaluation of the Return() operator). Based jordan@'s diff from rev. 1.133. ok jordan@, marco@
Diffstat (limited to 'sys/dev/acpi/dsdt.h')
-rw-r--r--sys/dev/acpi/dsdt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/acpi/dsdt.h b/sys/dev/acpi/dsdt.h
index 459a94fa7b2..3bdb4c8a503 100644
--- a/sys/dev/acpi/dsdt.h
+++ b/sys/dev/acpi/dsdt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsdt.h,v 1.41 2008/10/04 18:48:04 kettenis Exp $ */
+/* $OpenBSD: dsdt.h,v 1.42 2008/10/07 18:02:20 kettenis Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
@@ -254,6 +254,8 @@ void aml_disasm(struct aml_scope *scope, int lvl,
void *arg);
int aml_xgetpci(struct aml_node *, int64_t *);
+int acpi_walkmem(int, const char *);
+
#define aml_get8(p) *(uint8_t *)(p)
#define aml_get16(p) *(uint16_t *)(p)
#define aml_get32(p) *(uint32_t *)(p)