diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-08 15:54:34 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-06-09 19:32:49 -0400 |
commit | 513598050ad12641b2dde6cf27471faca65be48f (patch) | |
tree | 7c7512f85dddee8561e02f5c896c9a5bf5e6805e /include/hw/acpi | |
parent | 03b39fcf64bc958e3223e1d696f9de06de904fc6 (diff) | |
download | qemu-513598050ad12641b2dde6cf27471faca65be48f.zip qemu-513598050ad12641b2dde6cf27471faca65be48f.tar.gz qemu-513598050ad12641b2dde6cf27471faca65be48f.tar.bz2 |
hw/acpi/cxl: Pass in the CXLState directly rather than MachineState
Refactoring step on path to moving all CXL state out of
MachineState.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Message-Id: <20220608145440.26106-3-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/acpi')
-rw-r--r-- | include/hw/acpi/cxl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/hw/acpi/cxl.h b/include/hw/acpi/cxl.h index 0c49653..acf4418 100644 --- a/include/hw/acpi/cxl.h +++ b/include/hw/acpi/cxl.h @@ -19,10 +19,11 @@ #define HW_ACPI_CXL_H #include "hw/acpi/bios-linker-loader.h" +#include "hw/cxl/cxl.h" -void cxl_build_cedt(MachineState *ms, GArray *table_offsets, GArray *table_data, +void cxl_build_cedt(GArray *table_offsets, GArray *table_data, BIOSLinker *linker, const char *oem_id, - const char *oem_table_id); + const char *oem_table_id, CXLState *cxl_state); void build_cxl_osc_method(Aml *dev); #endif |