summaryrefslogtreecommitdiff
path: root/sys/man
diff options
context:
space:
mode:
authormia soweli <inbox@tachibana-labs.org>2023-05-18 20:13:14 +0000
committerSigrid Solveig Haflínudóttir <sigrid@ftrv.se>2023-05-18 20:13:14 +0000
commit93837692bbaab28e01ea1178d8867047bbcad11d (patch)
treee2dc7f78bb406fac21226106c3f3c86ce556e231 /sys/man
parent0883ed0a61c38898ad926ea67eb0e9386dff4ecd (diff)
libaml: tow eisaid inside the environment
Diffstat (limited to 'sys/man')
-rw-r--r--sys/man/2/aml11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/man/2/aml b/sys/man/2/aml
index 3bd6468e6..f55f57ae0 100644
--- a/sys/man/2/aml
+++ b/sys/man/2/aml
@@ -1,6 +1,6 @@
.TH AML 2
.SH NAME
-amltag, amlval, amlint, amllen, amlnew, amlinit, amlexit, amlload, amlwalk, amleval, amlenum, amltake, amldrop - ACPI machine language interpreter
+amltag, amlval, amlint, amllen, amlnew, amlinit, amlexit, amlload, amlwalk, amleval, amlenum, amltake, amldrop, amleisaid - ACPI machine language interpreter
.SH SYNOPSIS
.\" .ta 0.75i 1.5i 2.25i 3i 3.75i 4.5i
.ta 0.7i +0.7i +0.7i +0.7i +0.7i +0.7i +0.7i
@@ -27,6 +27,8 @@ void amlenum(void *dot, char *seg, int (*proc)(void *, void *), void *arg);
void amltake(void *);
void amldrop(void *);
+char* amleisaid(void *);
+
void* amlroot;
int amldebug;
uvlong amlintmask;
@@ -203,6 +205,13 @@ needs be called.
Objects stay valid as long as they are reachable from
.IR amlroot .
.bp
+.TP
+.BI amleisaid( p )
+.I Amleisaid
+returns the string value of an EISA id.
+For strings, it simply returns the string.
+For integers, it decodes the compressed EISA id into it's string representation.
+For any other type, the return value is nil.
.PP
The aml library can be linked into userspace programs
and the kernel which have different means of hardware access