summary refs log tree commit diff stats
path: root/include/hw
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2025-07-03 11:41:06 +0100
committerPeter Maydell <peter.maydell@linaro.org>2025-07-08 20:27:08 +0100
commit35566583d86e167b617f0b55e485fc4ef1ae5dc3 (patch)
tree0a6e612dfc3fbf4d93219cce2ba4fdcf901af536 /include/hw
parent4b3a1eb0664db2df02ff4f8affe6e7bda1edaa85 (diff)
downloadfocaccia-qemu-35566583d86e167b617f0b55e485fc4ef1ae5dc3.tar.gz
focaccia-qemu-35566583d86e167b617f0b55e485fc4ef1ae5dc3.zip
hw/cxl-host: Add an index field to CXLFixedMemoryWindow
To enable these to be found in a fixed order, that order needs to be known.
This will later be used to sort a list of these structures so that address
map and ACPI table entries are predictable.

Tested-by: Li Zhijian <lizhijian@fujitsu.com>
Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Tested-by: Itaru Kitayama <itaru.kitayama@fujitsu.com>
Message-id: 20250703104110.992379-2-Jonathan.Cameron@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/cxl/cxl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/cxl/cxl.h b/include/hw/cxl/cxl.h
index 75e47b6864..b2bcce7ed6 100644
--- a/include/hw/cxl/cxl.h
+++ b/include/hw/cxl/cxl.h
@@ -27,6 +27,7 @@
 typedef struct PXBCXLDev PXBCXLDev;
 
 typedef struct CXLFixedWindow {
+    int index;
     uint64_t size;
     char **targets;
     PXBCXLDev *target_hbs[16];