diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-05-20 15:19:49 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-06-12 10:17:06 -0400 |
commit | c8ed8f57cc558045638512249ffc5f3633f76db1 (patch) | |
tree | cbe1dd1ad7e05e4057835f0bfee1baaf5894fbb7 /include/hw/acpi/acpi-defs.h | |
parent | 5794d34a13d11e12d9bc53ea4ade997c2ff81c4c (diff) | |
download | qemu-c8ed8f57cc558045638512249ffc5f3633f76db1.zip qemu-c8ed8f57cc558045638512249ffc5f3633f76db1.tar.gz qemu-c8ed8f57cc558045638512249ffc5f3633f76db1.tar.bz2 |
acpi: fadt: add hw-reduced sleep register support
Add fields to struct AcpiFadtData and update build_fadt() to properly
generate sleep register entries.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200520132003.9492-9-kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/acpi/acpi-defs.h')
-rw-r--r-- | include/hw/acpi/acpi-defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/acpi/acpi-defs.h b/include/hw/acpi/acpi-defs.h index c13327f..3be9ab5 100644 --- a/include/hw/acpi/acpi-defs.h +++ b/include/hw/acpi/acpi-defs.h @@ -88,6 +88,8 @@ typedef struct AcpiFadtData { struct AcpiGenericAddress pm_tmr; /* PM_TMR_BLK */ struct AcpiGenericAddress gpe0_blk; /* GPE0_BLK */ struct AcpiGenericAddress reset_reg; /* RESET_REG */ + struct AcpiGenericAddress sleep_ctl; /* SLEEP_CONTROL_REG */ + struct AcpiGenericAddress sleep_sts; /* SLEEP_STATUS_REG */ uint8_t reset_val; /* RESET_VALUE */ uint8_t rev; /* Revision */ uint32_t flags; /* Flags */ |