diff options
| author | Jonathan Cameron | 2022-06-08 16:54:34 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2022-06-10 01:32:49 +0200 |
| commit | 513598050ad12641b2dde6cf27471faca65be48f (patch) | |
| tree | 7c7512f85dddee8561e02f5c896c9a5bf5e6805e /include | |
| parent | hw/cxl: Make the CXL fixed memory window setup a machine parameter. (diff) | |
| download | qemu-513598050ad12641b2dde6cf27471faca65be48f.tar.gz qemu-513598050ad12641b2dde6cf27471faca65be48f.tar.xz qemu-513598050ad12641b2dde6cf27471faca65be48f.zip | |
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')
| -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 0c496538c0..acf4418886 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 |
