summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-02-18 07:48:26 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-02-18 07:48:26 +0000
commitf3d5f5e64a6a9569a6f92847ca077258e6afda27 (patch)
tree08ea9fa4ba09630746d8235d3c6e1e72d8b6565f
parentd79ba013b1fce121bd45db6575d637f857d0fae0 (diff)
tweaks;
-rw-r--r--share/man/man9/aml_evalnode.915
1 files changed, 8 insertions, 7 deletions
diff --git a/share/man/man9/aml_evalnode.9 b/share/man/man9/aml_evalnode.9
index 2d5e4a00296..a62a94df026 100644
--- a/share/man/man9/aml_evalnode.9
+++ b/share/man/man9/aml_evalnode.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: aml_evalnode.9,v 1.3 2007/02/17 23:25:07 mk Exp $
+.\" $OpenBSD: aml_evalnode.9,v 1.4 2007/02/18 07:48:25 jmc Exp $
.\"
.\" Copyright (c) 2007 Michael Knudsen <mk@openbsd.org>
.\"
@@ -21,7 +21,8 @@
.Nm aml_evalnode ,
.Nm aml_evalname ,
.Nm aml_find_node ,
-.Nm aml_freevalue
+.Nm aml_freevalue ,
+.Nm aml_val2int
.Nd AML API
.Sh SYNOPSIS
.Fd #include <dev/acpi/acpireg.h>
@@ -99,12 +100,12 @@ returns the return value of
is used to find all subnodes of
.Pa parent
with a name of
-.Pa name.
+.Pa name .
For each node found, the function specified as the
.Pa cbproc
parameter is called with the node and
.Pa arg
-as the first and the second parameter, respectively.
+as the first and second parameters, respectively.
The function specified as the
.Pa cbproc
parameter does not return any value.
@@ -134,15 +135,15 @@ Multiple types exist for
.Pa struct aml_value ,
and the conversion value depends on the type
of the value object as follows.
-For objects of the types
+For objects of type
.Dv AML_OBJTYPE_INTEGER
and
.Dv AML_OBJTYPE_STATICINT ,
the return value is simply the integer value stored in the object.
-For objects of the type
+For objects of type
.Dv AML_OBJTYPE_BUFFER ,
the return value is the integer interpretation of the buffer contents.
-For objects of the type
+For objects of type
.Dv AML_OBJTYPE_STRING ,
the return value is the integer value represented as a string in base 10
or, if prefixed by