summaryrefslogtreecommitdiffstats
path: root/src/tests/acpi-test-data
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2019-05-11 15:12:49 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2019-05-11 15:12:49 -0500
commit9e80202352dd49bdd9e67b8b906d86f058431505 (patch)
tree5673c17aad6e3833da8c4ff21b5a11f666ec9fbe /src/tests/acpi-test-data
downloadhqemu-master.zip
hqemu-master.tar.gz
Initial import of abandoned HQEMU version 2.5.2HEADmaster
Diffstat (limited to 'src/tests/acpi-test-data')
-rw-r--r--src/tests/acpi-test-data/pc/APICbin0 -> 120 bytes
-rw-r--r--src/tests/acpi-test-data/pc/DSDTbin0 -> 3028 bytes
-rw-r--r--src/tests/acpi-test-data/pc/FACPbin0 -> 116 bytes
-rw-r--r--src/tests/acpi-test-data/pc/FACSbin0 -> 64 bytes
-rw-r--r--src/tests/acpi-test-data/pc/HPETbin0 -> 56 bytes
-rw-r--r--src/tests/acpi-test-data/pc/SSDTbin0 -> 2486 bytes
-rw-r--r--src/tests/acpi-test-data/pc/SSDT.bridgebin0 -> 4345 bytes
-rw-r--r--src/tests/acpi-test-data/q35/APICbin0 -> 120 bytes
-rw-r--r--src/tests/acpi-test-data/q35/DSDTbin0 -> 7666 bytes
-rw-r--r--src/tests/acpi-test-data/q35/FACPbin0 -> 116 bytes
-rw-r--r--src/tests/acpi-test-data/q35/FACSbin0 -> 64 bytes
-rw-r--r--src/tests/acpi-test-data/q35/HPETbin0 -> 56 bytes
-rw-r--r--src/tests/acpi-test-data/q35/MCFGbin0 -> 60 bytes
-rw-r--r--src/tests/acpi-test-data/q35/SSDTbin0 -> 691 bytes
-rw-r--r--src/tests/acpi-test-data/q35/SSDT.bridgebin0 -> 708 bytes
-rwxr-xr-xsrc/tests/acpi-test-data/rebuild-expected-aml.sh36
16 files changed, 36 insertions, 0 deletions
diff --git a/src/tests/acpi-test-data/pc/APIC b/src/tests/acpi-test-data/pc/APIC
new file mode 100644
index 0000000..84509e0
--- /dev/null
+++ b/src/tests/acpi-test-data/pc/APIC
Binary files differ
diff --git a/src/tests/acpi-test-data/pc/DSDT b/src/tests/acpi-test-data/pc/DSDT
new file mode 100644
index 0000000..c658203
--- /dev/null
+++ b/src/tests/acpi-test-data/pc/DSDT
Binary files differ
diff --git a/src/tests/acpi-test-data/pc/FACP b/src/tests/acpi-test-data/pc/FACP
new file mode 100644
index 0000000..0639999
--- /dev/null
+++ b/src/tests/acpi-test-data/pc/FACP
Binary files differ
diff --git a/src/tests/acpi-test-data/pc/FACS b/src/tests/acpi-test-data/pc/FACS
new file mode 100644
index 0000000..fc67ecc
--- /dev/null
+++ b/src/tests/acpi-test-data/pc/FACS
Binary files differ
diff --git a/src/tests/acpi-test-data/pc/HPET b/src/tests/acpi-test-data/pc/HPET
new file mode 100644
index 0000000..df689b8
--- /dev/null
+++ b/src/tests/acpi-test-data/pc/HPET
Binary files differ
diff --git a/src/tests/acpi-test-data/pc/SSDT b/src/tests/acpi-test-data/pc/SSDT
new file mode 100644
index 0000000..210d6a7
--- /dev/null
+++ b/src/tests/acpi-test-data/pc/SSDT
Binary files differ
diff --git a/src/tests/acpi-test-data/pc/SSDT.bridge b/src/tests/acpi-test-data/pc/SSDT.bridge
new file mode 100644
index 0000000..6e6660b
--- /dev/null
+++ b/src/tests/acpi-test-data/pc/SSDT.bridge
Binary files differ
diff --git a/src/tests/acpi-test-data/q35/APIC b/src/tests/acpi-test-data/q35/APIC
new file mode 100644
index 0000000..84509e0
--- /dev/null
+++ b/src/tests/acpi-test-data/q35/APIC
Binary files differ
diff --git a/src/tests/acpi-test-data/q35/DSDT b/src/tests/acpi-test-data/q35/DSDT
new file mode 100644
index 0000000..4723e59
--- /dev/null
+++ b/src/tests/acpi-test-data/q35/DSDT
Binary files differ
diff --git a/src/tests/acpi-test-data/q35/FACP b/src/tests/acpi-test-data/q35/FACP
new file mode 100644
index 0000000..19f3ac3
--- /dev/null
+++ b/src/tests/acpi-test-data/q35/FACP
Binary files differ
diff --git a/src/tests/acpi-test-data/q35/FACS b/src/tests/acpi-test-data/q35/FACS
new file mode 100644
index 0000000..fc67ecc
--- /dev/null
+++ b/src/tests/acpi-test-data/q35/FACS
Binary files differ
diff --git a/src/tests/acpi-test-data/q35/HPET b/src/tests/acpi-test-data/q35/HPET
new file mode 100644
index 0000000..df689b8
--- /dev/null
+++ b/src/tests/acpi-test-data/q35/HPET
Binary files differ
diff --git a/src/tests/acpi-test-data/q35/MCFG b/src/tests/acpi-test-data/q35/MCFG
new file mode 100644
index 0000000..79ceb27
--- /dev/null
+++ b/src/tests/acpi-test-data/q35/MCFG
Binary files differ
diff --git a/src/tests/acpi-test-data/q35/SSDT b/src/tests/acpi-test-data/q35/SSDT
new file mode 100644
index 0000000..0970c67
--- /dev/null
+++ b/src/tests/acpi-test-data/q35/SSDT
Binary files differ
diff --git a/src/tests/acpi-test-data/q35/SSDT.bridge b/src/tests/acpi-test-data/q35/SSDT.bridge
new file mode 100644
index 0000000..a778688
--- /dev/null
+++ b/src/tests/acpi-test-data/q35/SSDT.bridge
Binary files differ
diff --git a/src/tests/acpi-test-data/rebuild-expected-aml.sh b/src/tests/acpi-test-data/rebuild-expected-aml.sh
new file mode 100755
index 0000000..11bf743
--- /dev/null
+++ b/src/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/ ."
OpenPOWER on IntegriCloud