mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
5c94b82662
This patch makes IO base and size configurable to create NPIO AML for ACPI NFIT. Since a different architecture like AArch64 does not use port-mapped IO, a configurable IO base is required to create correct mapping of ACPI IO address and size. Signed-off-by: Kwangwoo Lee <kwangwoo.lee@sk.com> Signed-off-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20200421125934.14952-3-shameerali.kolothum.thodi@huawei.com> Acked-by: Peter Maydell <peter.maydell@linaro.org> Tested-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
11 lines
185 B
C
11 lines
185 B
C
|
|
#ifndef HW_I386_ACPI_BUILD_H
|
|
#define HW_I386_ACPI_BUILD_H
|
|
#include "hw/acpi/acpi-defs.h"
|
|
|
|
extern const struct AcpiGenericAddress x86_nvdimm_acpi_dsmio;
|
|
|
|
void acpi_setup(void);
|
|
|
|
#endif
|