head	1.1;
branch	1.1.1;
access;
symbols
	netbsd-11-0-RC4:1.1.1.3
	acpica-20260408:1.1.1.3
	netbsd-11-0-RC3:1.1.1.3
	netbsd-11-0-RC2:1.1.1.3
	netbsd-11-0-RC1:1.1.1.3
	acpica-20251212:1.1.1.3
	acpica-20250807:1.1.1.3
	perseant-exfatfs-base-20250801:1.1.1.3
	netbsd-11:1.1.1.3.0.34
	netbsd-11-base:1.1.1.3
	acpica-20241212:1.1.1.3
	netbsd-10-1-RELEASE:1.1.1.3
	acpica-20240827:1.1.1.3
	perseant-exfatfs-base-20240630:1.1.1.3
	perseant-exfatfs:1.1.1.3.0.32
	perseant-exfatfs-base:1.1.1.3
	netbsd-8-3-RELEASE:1.1.1.1
	netbsd-9-4-RELEASE:1.1.1.1
	netbsd-10-0-RELEASE:1.1.1.3
	netbsd-10-0-RC6:1.1.1.3
	netbsd-10-0-RC5:1.1.1.3
	netbsd-10-0-RC4:1.1.1.3
	netbsd-10-0-RC3:1.1.1.3
	netbsd-10-0-RC2:1.1.1.3
	thorpej-ifq:1.1.1.3.0.30
	thorpej-ifq-base:1.1.1.3
	thorpej-altq-separation:1.1.1.3.0.28
	thorpej-altq-separation-base:1.1.1.3
	netbsd-10-0-RC1:1.1.1.3
	acpica-20230628:1.1.1.3
	netbsd-10:1.1.1.3.0.26
	netbsd-10-base:1.1.1.3
	acpica-20221020:1.1.1.3
	bouyer-sunxi-drm:1.1.1.3.0.24
	bouyer-sunxi-drm-base:1.1.1.3
	acpica-20220331:1.1.1.3
	netbsd-9-3-RELEASE:1.1.1.1
	acpica-20211217:1.1.1.3
	acpica-20210930:1.1.1.3
	thorpej-i2c-spi-conf2:1.1.1.3.0.22
	thorpej-i2c-spi-conf2-base:1.1.1.3
	thorpej-futex2:1.1.1.3.0.20
	thorpej-futex2-base:1.1.1.3
	thorpej-cfargs2:1.1.1.3.0.18
	thorpej-cfargs2-base:1.1.1.3
	acpica-20210604:1.1.1.3
	cjep_sun2x-base1:1.1.1.3
	cjep_sun2x:1.1.1.3.0.16
	cjep_sun2x-base:1.1.1.3
	cjep_staticlib_x-base1:1.1.1.3
	netbsd-9-2-RELEASE:1.1.1.1
	cjep_staticlib_x:1.1.1.3.0.14
	cjep_staticlib_x-base:1.1.1.3
	thorpej-i2c-spi-conf:1.1.1.3.0.12
	thorpej-i2c-spi-conf-base:1.1.1.3
	acpica-20210331:1.1.1.3
	thorpej-cfargs:1.1.1.3.0.10
	thorpej-cfargs-base:1.1.1.3
	acpica-20201113:1.1.1.3
	thorpej-futex:1.1.1.3.0.8
	thorpej-futex-base:1.1.1.3
	netbsd-9-1-RELEASE:1.1.1.1
	acpica-20200717:1.1.1.3
	acpica-20200430:1.1.1.3
	bouyer-xenpvh-base2:1.1.1.3
	phil-wifi-20200421:1.1.1.3
	bouyer-xenpvh-base1:1.1.1.3
	phil-wifi-20200411:1.1.1.3
	bouyer-xenpvh:1.1.1.3.0.6
	bouyer-xenpvh-base:1.1.1.3
	is-mlppp:1.1.1.3.0.4
	is-mlppp-base:1.1.1.3
	phil-wifi-20200406:1.1.1.3
	netbsd-8-2-RELEASE:1.1.1.1
	acpica-20200326:1.1.1.3
	ad-namecache-base3:1.1.1.3
	netbsd-9-0-RELEASE:1.1.1.1
	netbsd-9-0-RC2:1.1.1.1
	ad-namecache-base2:1.1.1.3
	ad-namecache-base1:1.1.1.3
	ad-namecache:1.1.1.3.0.2
	ad-namecache-base:1.1.1.3
	acpica-20191213:1.1.1.3
	netbsd-9-0-RC1:1.1.1.1
	phil-wifi-20191119:1.1.1.2
	acpica-20190816:1.1.1.2
	netbsd-9:1.1.1.1.0.66
	netbsd-9-base:1.1.1.1
	phil-wifi-20190609:1.1.1.1
	netbsd-8-1-RELEASE:1.1.1.1
	netbsd-8-1-RC1:1.1.1.1
	acpica-20190405:1.1.1.1
	isaki-audio2:1.1.1.1.0.64
	isaki-audio2-base:1.1.1.1
	pgoyette-compat-merge-20190127:1.1.1.1
	pgoyette-compat-20190127:1.1.1.1
	pgoyette-compat-20190118:1.1.1.1
	acpica-20181213:1.1.1.1
	pgoyette-compat-1226:1.1.1.1
	pgoyette-compat-1126:1.1.1.1
	pgoyette-compat-1020:1.1.1.1
	pgoyette-compat-0930:1.1.1.1
	pgoyette-compat-0906:1.1.1.1
	netbsd-7-2-RELEASE:1.1.1.1
	acpica-20180810:1.1.1.1
	pgoyette-compat-0728:1.1.1.1
	netbsd-8-0-RELEASE:1.1.1.1
	phil-wifi:1.1.1.1.0.62
	phil-wifi-base:1.1.1.1
	pgoyette-compat-0625:1.1.1.1
	netbsd-8-0-RC2:1.1.1.1
	pgoyette-compat-0521:1.1.1.1
	acpica-20180427:1.1.1.1
	pgoyette-compat-0502:1.1.1.1
	pgoyette-compat-0422:1.1.1.1
	netbsd-8-0-RC1:1.1.1.1
	pgoyette-compat-0415:1.1.1.1
	acpica-20180313:1.1.1.1
	pgoyette-compat-0407:1.1.1.1
	pgoyette-compat-0330:1.1.1.1
	pgoyette-compat-0322:1.1.1.1
	pgoyette-compat-0315:1.1.1.1
	netbsd-7-1-2-RELEASE:1.1.1.1
	pgoyette-compat:1.1.1.1.0.60
	pgoyette-compat-base:1.1.1.1
	netbsd-7-1-1-RELEASE:1.1.1.1
	tls-maxphys-base-20171202:1.1.1.1
	acpica-20171110:1.1.1.1
	matt-nb8-mediatek:1.1.1.1.0.58
	matt-nb8-mediatek-base:1.1.1.1
	acpica-20170831:1.1.1.1
	nick-nhusb-base-20170825:1.1.1.1
	perseant-stdc-iso10646:1.1.1.1.0.56
	perseant-stdc-iso10646-base:1.1.1.1
	netbsd-8:1.1.1.1.0.54
	netbsd-8-base:1.1.1.1
	prg-localcount2-base3:1.1.1.1
	prg-localcount2-base2:1.1.1.1
	prg-localcount2-base1:1.1.1.1
	acpica-20170303:1.1.1.1
	prg-localcount2:1.1.1.1.0.52
	prg-localcount2-base:1.1.1.1
	pgoyette-localcount-20170426:1.1.1.1
	bouyer-socketcan-base1:1.1.1.1
	jdolecek-ncq:1.1.1.1.0.50
	jdolecek-ncq-base:1.1.1.1
	pgoyette-localcount-20170320:1.1.1.1
	netbsd-7-1:1.1.1.1.0.48
	netbsd-7-1-RELEASE:1.1.1.1
	netbsd-7-1-RC2:1.1.1.1
	nick-nhusb-base-20170204:1.1.1.1
	acpica-20170119:1.1.1.1
	netbsd-7-nhusb-base-20170116:1.1.1.1
	bouyer-socketcan:1.1.1.1.0.46
	bouyer-socketcan-base:1.1.1.1
	pgoyette-localcount-20170107:1.1.1.1
	netbsd-7-1-RC1:1.1.1.1
	nick-nhusb-base-20161204:1.1.1.1
	acpica-20160930:1.1.1.1
	pgoyette-localcount-20161104:1.1.1.1
	netbsd-7-0-2-RELEASE:1.1.1.1
	nick-nhusb-base-20161004:1.1.1.1
	localcount-20160914:1.1.1.1
	netbsd-7-nhusb:1.1.1.1.0.44
	netbsd-7-nhusb-base:1.1.1.1
	pgoyette-localcount-20160806:1.1.1.1
	pgoyette-localcount-20160726:1.1.1.1
	acpica-20160527:1.1.1.1
	pgoyette-localcount:1.1.1.1.0.42
	pgoyette-localcount-base:1.1.1.1
	nick-nhusb-base-20160907:1.1.1.1
	nick-nhusb-base-20160529:1.1.1.1
	netbsd-7-0-1-RELEASE:1.1.1.1
	acpica-20160422:1.1.1.1
	nick-nhusb-base-20160422:1.1.1.1
	nick-nhusb-base-20160319:1.1.1.1
	acpica-20160108:1.1.1.1
	nick-nhusb-base-20151226:1.1.1.1
	netbsd-7-0:1.1.1.1.0.40
	netbsd-7-0-RELEASE:1.1.1.1
	nick-nhusb-base-20150921:1.1.1.1
	acpica-20150717:1.1.1.1
	netbsd-7-0-RC3:1.1.1.1
	netbsd-7-0-RC2:1.1.1.1
	netbsd-7-0-RC1:1.1.1.1
	nick-nhusb-base-20150606:1.1.1.1
	acpica-20150410:1.1.1.1
	nick-nhusb-base-20150406:1.1.1.1
	nick-nhusb:1.1.1.1.0.38
	nick-nhusb-base:1.1.1.1
	acpica-20140926:1.1.1.1
	netbsd-6-0-6-RELEASE:1.1.1.1
	netbsd-6-1-5-RELEASE:1.1.1.1
	netbsd-7:1.1.1.1.0.36
	netbsd-7-base:1.1.1.1
	yamt-pagecache-base9:1.1.1.1
	yamt-pagecache-tag8:1.1.1.1
	netbsd-6-1-4-RELEASE:1.1.1.1
	netbsd-6-0-5-RELEASE:1.1.1.1
	tls-earlyentropy:1.1.1.1.0.34
	tls-earlyentropy-base:1.1.1.1
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.1
	riastradh-drm2-base3:1.1.1.1
	netbsd-6-1-3-RELEASE:1.1.1.1
	netbsd-6-0-4-RELEASE:1.1.1.1
	acpica-20131218:1.1.1.1
	netbsd-6-1-2-RELEASE:1.1.1.1
	netbsd-6-0-3-RELEASE:1.1.1.1
	rmind-smpnet-nbase:1.1.1.1
	netbsd-6-1-1-RELEASE:1.1.1.1
	riastradh-drm2-base2:1.1.1.1
	riastradh-drm2-base1:1.1.1.1
	riastradh-drm2:1.1.1.1.0.32
	riastradh-drm2-base:1.1.1.1
	rmind-smpnet:1.1.1.1.0.24
	rmind-smpnet-base:1.1.1.1
	netbsd-6-1:1.1.1.1.0.30
	netbsd-6-0-2-RELEASE:1.1.1.1
	netbsd-6-1-RELEASE:1.1.1.1
	khorben-n900:1.1.1.1.0.28
	netbsd-6-1-RC4:1.1.1.1
	netbsd-6-1-RC3:1.1.1.1
	agc-symver:1.1.1.1.0.26
	agc-symver-base:1.1.1.1
	netbsd-6-1-RC2:1.1.1.1
	netbsd-6-1-RC1:1.1.1.1
	yamt-pagecache-base8:1.1.1.1
	netbsd-6-0-1-RELEASE:1.1.1.1
	yamt-pagecache-base7:1.1.1.1
	matt-nb6-plus-nbase:1.1.1.1
	yamt-pagecache-base6:1.1.1.1
	netbsd-6-0:1.1.1.1.0.22
	netbsd-6-0-RELEASE:1.1.1.1
	netbsd-6-0-RC2:1.1.1.1
	tls-maxphys:1.1.1.1.0.20
	tls-maxphys-base:1.1.1.1
	matt-nb6-plus:1.1.1.1.0.18
	matt-nb6-plus-base:1.1.1.1
	netbsd-6-0-RC1:1.1.1.1
	jmcneill-usbmp-base10:1.1.1.1
	yamt-pagecache-base5:1.1.1.1
	jmcneill-usbmp-base9:1.1.1.1
	yamt-pagecache-base4:1.1.1.1
	jmcneill-usbmp-base8:1.1.1.1
	jmcneill-usbmp-base7:1.1.1.1
	jmcneill-usbmp-base6:1.1.1.1
	jmcneill-usbmp-base5:1.1.1.1
	jmcneill-usbmp-base4:1.1.1.1
	jmcneill-usbmp-base3:1.1.1.1
	jmcneill-usbmp-pre-base2:1.1.1.1
	jmcneill-usbmp-base2:1.1.1.1
	netbsd-6:1.1.1.1.0.16
	netbsd-6-base:1.1.1.1
	jmcneill-usbmp:1.1.1.1.0.14
	jmcneill-usbmp-base:1.1.1.1
	jmcneill-audiomp3:1.1.1.1.0.12
	jmcneill-audiomp3-base:1.1.1.1
	yamt-pagecache-base3:1.1.1.1
	yamt-pagecache-base2:1.1.1.1
	yamt-pagecache:1.1.1.1.0.10
	yamt-pagecache-base:1.1.1.1
	acpica-20110623:1.1.1.1
	rmind-uvmplock-nbase:1.1.1.1
	jruoho-x86intr:1.1.1.1.0.8
	cherry-xenmp:1.1.1.1.0.6
	cherry-xenmp-base:1.1.1.1
	rmind-uvmplock-base:1.1.1.1
	rmind-uvmplock:1.1.1.1.0.4
	bouyer-quota2-base:1.1.1.1
	bouyer-quota2:1.1.1.1.0.2
	bouyer-quota2-nbase:1.1.1.1
	acpica-20110211:1.1.1.1
	intel:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2011.02.17.10.01.35;	author jruoho;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2011.02.17.10.01.35;	author jruoho;	state Exp;
branches
	1.1.1.1.2.1
	1.1.1.1.4.1
	1.1.1.1.8.1
	1.1.1.1.62.1;
next	1.1.1.2;

1.1.1.2
date	2019.10.15.16.07.22;	author christos;	state Exp;
branches;
next	1.1.1.3;
commitid	heKRw8TKLVtSQYGB;

1.1.1.3
date	2019.12.14.16.33.13;	author christos;	state Exp;
branches;
next	;
commitid	hYGy6c8H1gdX3HOB;

1.1.1.1.2.1
date	2011.02.17.10.01.35;	author bouyer;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2011.02.17.12.00.31;	author bouyer;	state Exp;
branches;
next	;

1.1.1.1.4.1
date	2011.02.17.10.01.35;	author rmind;	state dead;
branches;
next	1.1.1.1.4.2;

1.1.1.1.4.2
date	2011.03.05.20.54.40;	author rmind;	state Exp;
branches;
next	;

1.1.1.1.8.1
date	2011.02.17.10.01.35;	author jruoho;	state dead;
branches;
next	1.1.1.1.8.2;

1.1.1.1.8.2
date	2011.06.06.09.09.06;	author jruoho;	state Exp;
branches;
next	;

1.1.1.1.62.1
date	2020.04.13.08.04.55;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;


desc
@@


1.1
log
@Initial revision
@
text
@
PROG= templates

templates :
	sh templates.sh

clean :
	rm -f *.asl *.aml *.dsl *.hex diff.log

@


1.1.1.1
log
@Import 20110211.
@
text
@@


1.1.1.1.62.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@a0 25
# Before running this file, we assume we have generated all tables by running
# the command `$(ASL) -T ALL`
#
# Note: the NAME flag is required when running the test

aml_obj=$(NAME).aml
dsl_obj=$(NAME).dsl
aml_obj2=$(NAME)_recomp.aml


all: $(aml_obj2)

# recompile and binary compare
$(aml_obj2): %_recomp.aml: %.dsl
	$(ASL) -p `basename $@@` $< > /dev/null 2> /dev/null
	$(acpibin) -c $@@ $(patsubst %_recomp.aml,%.aml,$@@) > /dev/null 2> /dev/null
	printf "Data table %s PASS\n" $(basename $< .dsl)

# disassemble
$(dsl_obj): %.dsl:  %.aml
	$(ASL) -d $< > /dev/null 2> /dev/null

# initial compile
$(aml_obj): %.aml:  %.asl
	$(ASL) $< > /dev/null 2> /dev/null
d2 1
d7 1
a7 2
.PHONY: clean
clean:
@


1.1.1.2
log
@----------------------------------------
16 August 2019. Summary of changes for version 20190816:

This release is available at https://acpica.org/downloads


1) ACPICA kernel-resident subsystem:

Modified the OwnerId mechanism to allow for more Owner Ids. The previous
limit was 256 Ids, now it is 4096 Ids. This prevents OWNER_ID_LIMIT
exceptions on machines with a large number of initialization threads,
many CPU cores and nested initialization control methods.

Introduced acpi_dispatch_gpe() as a wrapper around AcpiEvDetectGpe() for
checking if the given GPE (as represented by a GPE device handle and a
GPE number) is currently active and dispatching it (if that's the case)
outside of interrupt context.

Table load: exit the interpreter before initializing objects within the
new table This prevents re-acquiring the interpreter lock when loading
tables

Added the "Windows 2019" string to the _OSI support (version 1903). Jung-
uk Kim

Macros: removed pointer math on a null pointer. Causes warnings on some
compilers and/or tools. Changed ACPI_TO_POINTER to use ACPI_CAST_PTR
instead of using arithmetic.

Fully deployed the ACPI_PRINTF_LIKE macro. This macro was not being used
across all "printf-like" internal functions. Also, cleanup all calls to
such functions (both in 32-bit mode and 64-bit mode) now that they are
analyzed by the gcc compiler via ACPI_PRINTF_LIKE.


2) iASL Compiler/Disassembler and ACPICA tools:

iASL: implemented a new data table compiler flex/bison front-end. This
change is internal and is not intended to result in changes to the
compiled code. This new compiler front-end can be invoked using the -tp
option for now, until the old mechanism is removed.

ASLTS: Implemented a new data table compiler test suite. This test suite
generates all table templates and compile/disassemble/re-compile/binary-
compare each file.

iASL: return -1 if AML files were not generated due to compiler errors

iASL: added a warning on use of the now-legacy ASL Processor () keyword.

iASL: added an error on _UID object declaration that returns a String
within a Processor () declaration. A _UID for a processor must be an
Integer.

iASL: added a null terminator to name strings that consist only of
multiple parent prefixes (^)

iASL: added support to compile both ASL and data table files in a single
command.

Updated the tool generation project files that were recently migrated to
MSVC 2017 to eliminate all new warnings. The new project files appear in
the directory \acpica\generate\msvc2017. This change effectively
deprecates the older project files in \acpica\generate\msvc9.
@
text
@a0 25
# Before running this file, we assume we have generated all tables by running
# the command `iasl -T ALL`
#
# Note: the NAME flag is required when running the test

aml_obj=$(NAME).aml
dsl_obj=$(NAME).dsl
aml_obj2=$(NAME)_recomp.aml


all: $(aml_obj2)

# recompile and binary compare
$(aml_obj2): %_recomp.aml: %.dsl
	iasl -p `basename $@@` $< > /dev/null 2> /dev/null
	acpibin -c $@@ $(patsubst %_recomp.aml,%.aml,$@@) > /dev/null 2> /dev/null
	printf "Data table %s PASS\n" $(basename $< .dsl)

# disassemble
$(dsl_obj): %.dsl:  %.aml
	iasl -d $< > /dev/null 2> /dev/null

# initial compile
$(aml_obj): %.aml:  %.asl
	iasl $< > /dev/null 2> /dev/null
d2 1
d7 1
a7 2
.PHONY: clean
clean:
@


1.1.1.3
log
@----------------------------------------
13 December 2019. Summary of changes for version 20191213:


1) ACPICA kernel-resident subsystem:

Return a Buffer object for all fields created via the CreateField operator. Previously, an Integer would be returned if the size of the field was less than or equal to the current size of an Integer. Although this goes against the ACPI specification, it provides compatibility with other ACPI implementations. Also updated the ASLTS test suite to reflect this new behavior.

2) iASL Compiler/Disassembler and ACPICA tools:

iASL: Implemented detection of (and throw an error for) duplicate values for Case statements within a single Switch statement. Duplicate Integers, Strings, and Buffers are supported.

iASL: Fix error logging issue during multiple file compilation -- Switch to the correct input file during error node creation.

iASL: For duplicate named object creation, now emit an error instead of a warning - since this will cause a runtime error.

AcpiSrc: Add unix line-ending support for non-Windows builds.

iASL: Add an error condition for an attempt to create a NameString with > 255 NameSegs (the max allowable via the AML definition).


----------------------------------------
18 October 2019. Summary of changes for version 20191018:


1) ACPICA kernel-resident subsystem:

Debugger: added a new command: ?Fields [address space ID]?. This command
dumps the contents of all field units that are defined within the
namespace with a particular address space ID.

Modified the external interface AcpiLoadTable() to return a table index.
This table index can be used for unloading a table for debugging.
    ACPI_STATUS
    AcpiLoadTable (
        ACPI_TABLE_HEADER       *Table,
        UINT32                  *TableIndex))

Implemented a new external interface: AcpiUnloadTable() This new function
takes a table index as an argument and unloads the table. Useful for
debugging only.
    ACPI_STATUS
    AcpiUnloadTable (
        UINT32                  TableIndex))

Ported the AcpiNames utility to use the new table initialization
sequence. The utility was broken before this change. Also, it was
required to include most of the AML interpreter into the utility in order
to process table initialization (module-level code execution.)

Update for results from running Clang V8.0.1. This fixes all "dead
assignment" warnings. There are still several "Dereference of NULL
pointer" warnings, but these have been found to be false positive
warnings.


2) iASL Compiler/Disassembler and ACPICA tools:

iASL: numerous table compiler changes to ensure that the usage of
yacc/bison syntax is POSIX-compliant.

iASL/disassembler: several simple bug fixes in the data table
disassembler.

Acpiexec: expanded the initialization file (the -fi option) to initialize
strings, buffers, packages, and field units.
@
text
@d2 1
a2 1
# the command `$(ASL) -T ALL`
d15 2
a16 2
	$(ASL) -p `basename $@@` $< > /dev/null 2> /dev/null
	$(acpibin) -c $@@ $(patsubst %_recomp.aml,%.aml,$@@) > /dev/null 2> /dev/null
d21 1
a21 1
	$(ASL) -d $< > /dev/null 2> /dev/null
d25 1
a25 1
	$(ASL) $< > /dev/null 2> /dev/null
@


1.1.1.1.8.1
log
@file Makefile was added on branch jruoho-x86intr on 2011-06-06 09:09:06 +0000
@
text
@d1 9
@


1.1.1.1.8.2
log
@Sync with HEAD.
@
text
@a0 9

PROG= templates

templates :
	sh templates.sh

clean :
	rm -f *.asl *.aml *.dsl *.hex diff.log

@


1.1.1.1.4.1
log
@file Makefile was added on branch rmind-uvmplock on 2011-03-05 20:54:40 +0000
@
text
@d1 9
@


1.1.1.1.4.2
log
@sync with head
@
text
@a0 9

PROG= templates

templates :
	sh templates.sh

clean :
	rm -f *.asl *.aml *.dsl *.hex diff.log

@


1.1.1.1.2.1
log
@file Makefile was added on branch bouyer-quota2 on 2011-02-17 12:00:31 +0000
@
text
@d1 9
@


1.1.1.1.2.2
log
@Sync with HEAD
@
text
@a0 9

PROG= templates

templates :
	sh templates.sh

clean :
	rm -f *.asl *.aml *.dsl *.hex diff.log

@


