shithub: riscv

Download patch

ref: bd8b6c2f9900d90c2b0ba59f7bb139252bffd231
parent: bc2a5d9b1e1db8927f7c10725eec5a073968c9d5
author: cinap_lenrek <[email protected]>
date: Sun Jun 5 11:15:03 EDT 2016

aml(2): document amlintmask

--- a/sys/man/2/aml
+++ b/sys/man/2/aml
@@ -29,6 +29,7 @@
 
 void*	amlroot;
 int	amldebug;
+uvlong	amlintmask;
 .EE
 .SH DESCRIPTION
 The aml library implements an interpreter for the ACPI machine language
@@ -44,6 +45,13 @@
 namespace. The name object referred to by
 .I amlroot
 is the root of that namespace.
+.PP
+The width of integers is defined by the global variable
+.IR amlintmask ,
+which should be initialized to 0xFFFFFFFF for
+.B DSDT
+revision <= 1 or 0xFFFFFFFFFFFFFFFF for
+revision >= 2.
 .TP
 .BI amlload( data , len )
 .I Amlload