summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi/dsdt.h
diff options
context:
space:
mode:
authorjordan <jordan@openbsd.org>2006-10-19 01:06:54 +0000
committerjordan <jordan@openbsd.org>2006-10-19 01:06:54 +0000
commit8c5ac2289f5b51307dbcc5ff9e2742d12b3e873f (patch)
tree61cfcdee9985dac8f6d7f0c58a6b4ccbd952024f /sys/dev/acpi/dsdt.h
parentRemove useless code that can cause a SEGV if a buffer is realloc()ed. (diff)
downloadwireguard-openbsd-8c5ac2289f5b51307dbcc5ff9e2742d12b3e873f.tar.xz
wireguard-openbsd-8c5ac2289f5b51307dbcc5ff9e2742d12b3e873f.zip
Merged target/terminal handling code
Added function call pointer to opcode table _BIF working on Dell, IBM ok marco@
Diffstat (limited to 'sys/dev/acpi/dsdt.h')
-rw-r--r--sys/dev/acpi/dsdt.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/acpi/dsdt.h b/sys/dev/acpi/dsdt.h
index 56a9a49361e..ec683776b00 100644
--- a/sys/dev/acpi/dsdt.h
+++ b/sys/dev/acpi/dsdt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsdt.h,v 1.15 2006/10/12 23:16:11 jordan Exp $ */
+/* $OpenBSD: dsdt.h,v 1.16 2006/10/19 01:06:54 jordan Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
@@ -29,11 +29,14 @@ struct acpi_context
struct aml_node *scope;
};
+struct aml_scope;
+
struct aml_opcode
{
u_int32_t opcode;
const char *mnem;
const char *args;
+ struct aml_value *(*handler)(struct aml_scope *,int,struct aml_value*);
};
const char *aml_eisaid(u_int32_t);