mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
hw/arm/virt-acpi-build: Don't incorrectly claim architectural timer to be edge-triggered
This is the ACPI equivalent to "hw/arm/virt: Don't incorrectly claim architectural timer to be edge-triggered" which fixes the DT for machine types 2.9 and later. Signed-off-by: Andrew Jones <drjones@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Message-id: 20170102200153.28864-15-drjones@redhat.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
af1f60a402
commit
8dd845d3c4
2 changed files with 15 additions and 6 deletions
|
@ -428,6 +428,7 @@ typedef struct AcpiMadtGenericTranslator AcpiMadtGenericTranslator;
|
|||
/*
|
||||
* Generic Timer Description Table (GTDT)
|
||||
*/
|
||||
#define ACPI_GTDT_INTERRUPT_MODE_LEVEL (0 << 0)
|
||||
#define ACPI_GTDT_INTERRUPT_MODE_EDGE (1 << 0)
|
||||
#define ACPI_GTDT_CAP_ALWAYS_ON (1 << 2)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue