OSDN Git Service

acpi: x86: deduplicate HPET AML building
authorIgor Mammedov <imammedo@redhat.com>
Fri, 1 Jul 2022 13:35:00 +0000 (09:35 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 9 Oct 2022 20:38:45 +0000 (16:38 -0400)
commite05acc360e50626e253ddfa185561b0383a8f3e0
treeb4df56b94782c6bf74d50dccfa44a58e594b65df
parentbeec628c80bbc9475b05f4465fe36188de14999e
acpi: x86: deduplicate HPET AML building

HPET AML doesn't depend on piix4 nor q35, move code buiding it
to common scope to avoid duplication.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20220701133515.137890-3-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c