Files
xen/tools/libacpi
Jan Beulich e93e635e14 libacpi: switch to SPDX
Commit 68823df358 ("acpi: Re-license ACPI builder files from GPLv2 to
LGPLv2.1") added references to a "special exception on linking described
in file LICENSE", without actually adding such a file. Quite likely
COPYING was meant instead, yet then its text matches LICENSES/LGPL-2.1
except for some explanatory text (clarifying the "only" aspect) at the
top (and formatting). Hence replace the text in all the files with SPDX
references to LGPL-2.1.

Note that dsdt_acpi_info.asl had no license text. An SPDX tag is being
added there nevertheless.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
2023-05-05 09:12:07 +02:00
..
2023-05-05 09:12:07 +02:00
2023-05-05 09:12:07 +02:00
2023-05-05 09:12:07 +02:00
2023-05-05 09:12:07 +02:00
2023-05-05 09:12:07 +02:00
2023-05-05 09:12:07 +02:00
2023-05-05 09:12:07 +02:00
2023-05-05 09:12:07 +02:00
2023-05-05 09:12:07 +02:00
2023-05-05 09:12:07 +02:00
2023-05-05 09:12:07 +02:00
2023-05-05 09:12:07 +02:00
2023-05-05 09:12:07 +02:00

ACPI builder for domain firmware


BUILDING ACPI
-----------------
Users of ACPI builder are expected to provide an include file that makes available
the following:
* strncpy
* printf
* NULL
* test_bit
* offsetof

When compiling build.c, the name of this include file should be given to
compiler as -DLIBACPI_STDUTILS=\"<filename>\". See tools/firmware/hvmloader/Makefile
for an example.

Note on DSDT Table
------------------
DSDT table source code is acpi_dsdt.asl
It is already compiled and the output is acpi_dsdt.c
Usually, user is not expected to change the acpi_dsdt.asl.
In case that the acpi_dsdt.asl need to be updated, please 
Follow the instruction:

# make acpi_dsdt.c