diff options
author | fishsoupisgood <github@madingley.org> | 2019-04-29 01:17:54 +0100 |
---|---|---|
committer | fishsoupisgood <github@madingley.org> | 2019-05-27 03:43:43 +0100 |
commit | 3f2546b2ef55b661fd8dd69682b38992225e86f6 (patch) | |
tree | 65ca85f13617aee1dce474596800950f266a456c /tests/acpi-test-data | |
download | qemu-3f2546b2ef55b661fd8dd69682b38992225e86f6.tar.gz qemu-3f2546b2ef55b661fd8dd69682b38992225e86f6.tar.bz2 qemu-3f2546b2ef55b661fd8dd69682b38992225e86f6.zip |
Diffstat (limited to 'tests/acpi-test-data')
-rw-r--r-- | tests/acpi-test-data/pc/APIC | bin | 0 -> 120 bytes | |||
-rw-r--r-- | tests/acpi-test-data/pc/DSDT | bin | 0 -> 3028 bytes | |||
-rw-r--r-- | tests/acpi-test-data/pc/FACP | bin | 0 -> 116 bytes | |||
-rw-r--r-- | tests/acpi-test-data/pc/FACS | bin | 0 -> 64 bytes | |||
-rw-r--r-- | tests/acpi-test-data/pc/HPET | bin | 0 -> 56 bytes | |||
-rw-r--r-- | tests/acpi-test-data/pc/SSDT | bin | 0 -> 2486 bytes | |||
-rw-r--r-- | tests/acpi-test-data/pc/SSDT.bridge | bin | 0 -> 4345 bytes | |||
-rw-r--r-- | tests/acpi-test-data/q35/APIC | bin | 0 -> 120 bytes | |||
-rw-r--r-- | tests/acpi-test-data/q35/DSDT | bin | 0 -> 7666 bytes | |||
-rw-r--r-- | tests/acpi-test-data/q35/FACP | bin | 0 -> 116 bytes | |||
-rw-r--r-- | tests/acpi-test-data/q35/FACS | bin | 0 -> 64 bytes | |||
-rw-r--r-- | tests/acpi-test-data/q35/HPET | bin | 0 -> 56 bytes | |||
-rw-r--r-- | tests/acpi-test-data/q35/MCFG | bin | 0 -> 60 bytes | |||
-rw-r--r-- | tests/acpi-test-data/q35/SSDT | bin | 0 -> 691 bytes | |||
-rw-r--r-- | tests/acpi-test-data/q35/SSDT.bridge | bin | 0 -> 708 bytes | |||
-rwxr-xr-x | tests/acpi-test-data/rebuild-expected-aml.sh | 36 |
16 files changed, 36 insertions, 0 deletions
diff --git a/tests/acpi-test-data/pc/APIC b/tests/acpi-test-data/pc/APIC Binary files differnew file mode 100644 index 00000000..84509e0a --- /dev/null +++ b/tests/acpi-test-data/pc/APIC diff --git a/tests/acpi-test-data/pc/DSDT b/tests/acpi-test-data/pc/DSDT Binary files differnew file mode 100644 index 00000000..c658203d --- /dev/null +++ b/tests/acpi-test-data/pc/DSDT diff --git a/tests/acpi-test-data/pc/FACP b/tests/acpi-test-data/pc/FACP Binary files differnew file mode 100644 index 00000000..0639999e --- /dev/null +++ b/tests/acpi-test-data/pc/FACP diff --git a/tests/acpi-test-data/pc/FACS b/tests/acpi-test-data/pc/FACS Binary files differnew file mode 100644 index 00000000..fc67ecc4 --- /dev/null +++ b/tests/acpi-test-data/pc/FACS diff --git a/tests/acpi-test-data/pc/HPET b/tests/acpi-test-data/pc/HPET Binary files differnew file mode 100644 index 00000000..df689b8f --- /dev/null +++ b/tests/acpi-test-data/pc/HPET diff --git a/tests/acpi-test-data/pc/SSDT b/tests/acpi-test-data/pc/SSDT Binary files differnew file mode 100644 index 00000000..210d6a71 --- /dev/null +++ b/tests/acpi-test-data/pc/SSDT diff --git a/tests/acpi-test-data/pc/SSDT.bridge b/tests/acpi-test-data/pc/SSDT.bridge Binary files differnew file mode 100644 index 00000000..6e6660b1 --- /dev/null +++ b/tests/acpi-test-data/pc/SSDT.bridge diff --git a/tests/acpi-test-data/q35/APIC b/tests/acpi-test-data/q35/APIC Binary files differnew file mode 100644 index 00000000..84509e0a --- /dev/null +++ b/tests/acpi-test-data/q35/APIC diff --git a/tests/acpi-test-data/q35/DSDT b/tests/acpi-test-data/q35/DSDT Binary files differnew file mode 100644 index 00000000..4723e595 --- /dev/null +++ b/tests/acpi-test-data/q35/DSDT diff --git a/tests/acpi-test-data/q35/FACP b/tests/acpi-test-data/q35/FACP Binary files differnew file mode 100644 index 00000000..19f3ac3c --- /dev/null +++ b/tests/acpi-test-data/q35/FACP diff --git a/tests/acpi-test-data/q35/FACS b/tests/acpi-test-data/q35/FACS Binary files differnew file mode 100644 index 00000000..fc67ecc4 --- /dev/null +++ b/tests/acpi-test-data/q35/FACS diff --git a/tests/acpi-test-data/q35/HPET b/tests/acpi-test-data/q35/HPET Binary files differnew file mode 100644 index 00000000..df689b8f --- /dev/null +++ b/tests/acpi-test-data/q35/HPET diff --git a/tests/acpi-test-data/q35/MCFG b/tests/acpi-test-data/q35/MCFG Binary files differnew file mode 100644 index 00000000..79ceb27a --- /dev/null +++ b/tests/acpi-test-data/q35/MCFG diff --git a/tests/acpi-test-data/q35/SSDT b/tests/acpi-test-data/q35/SSDT Binary files differnew file mode 100644 index 00000000..0970c67d --- /dev/null +++ b/tests/acpi-test-data/q35/SSDT diff --git a/tests/acpi-test-data/q35/SSDT.bridge b/tests/acpi-test-data/q35/SSDT.bridge Binary files differnew file mode 100644 index 00000000..a7786886 --- /dev/null +++ b/tests/acpi-test-data/q35/SSDT.bridge diff --git a/tests/acpi-test-data/rebuild-expected-aml.sh b/tests/acpi-test-data/rebuild-expected-aml.sh new file mode 100755 index 00000000..11bf7439 --- /dev/null +++ b/tests/acpi-test-data/rebuild-expected-aml.sh @@ -0,0 +1,36 @@ +#! /bin/bash + +# +# Rebuild expected AML files for acpi unit-test +# +# Copyright (c) 2013 Red Hat Inc. +# +# Authors: +# Marcel Apfelbaum <marcel.a@redhat.com> +# +# This work is licensed under the terms of the GNU GPLv2. +# See the COPYING.LIB file in the top-level directory. + +qemu= + +if [ -e x86_64-softmmu/qemu-system-x86_64 ]; then + qemu="x86_64-softmmu/qemu-system-x86_64" +elif [ -e i386-softmmu/qemu-system-i386 ]; then + qemu="i386-softmmu/qemu-system-i386" +else + echo "Run 'make' to build the qemu exectutable!" + echo "Run this script from the build directory." + exit 1; +fi + +if [ ! -e "tests/bios-tables-test" ]; then + echo "Test: bios-tables-test is required! Run make check before this script." + echo "Run this script from the build directory." + exit 1; +fi + +TEST_ACPI_REBUILD_AML=y QTEST_QEMU_BINARY=$qemu tests/bios-tables-test + +echo "The files were rebuilt and can be added to git." +echo "However, if new files were created, please copy them manually" \ + "to tests/acpi-test-data/pc/ or tests/acpi-test-data/q35/ ." |