]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
include: move hw/register.h to hw/core/
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 Nov 2025 07:38:15 +0000 (08:38 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 27 Dec 2025 09:11:08 +0000 (10:11 +0100)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
48 files changed:
MAINTAINERS
hw/core/register.c
hw/dma/xlnx_csu_dma.c
hw/intc/xlnx-pmu-iomod-intc.c
hw/intc/xlnx-zynqmp-ipi.c
hw/misc/xlnx-versal-cframe-reg.c
hw/misc/xlnx-versal-cfu.c
hw/misc/xlnx-versal-crl.c
hw/misc/xlnx-versal-pmc-iou-slcr.c
hw/misc/xlnx-versal-xramc.c
hw/misc/xlnx-zynqmp-apu-ctrl.c
hw/misc/xlnx-zynqmp-crf.c
hw/net/can/xlnx-versal-canfd.c
hw/net/can/xlnx-zynqmp-can.c
hw/rtc/ls7a_rtc.c
hw/rtc/xlnx-zynqmp-rtc.c
hw/ssi/xilinx_spips.c
hw/usb/hcd-dwc3.c
hw/usb/xlnx-usb-subsystem.c
hw/usb/xlnx-versal-usb2-ctrl-regs.c
include/hw/core/register.h [moved from include/hw/register.h with 100% similarity]
include/hw/cxl/cxl_component.h
include/hw/cxl/cxl_device.h
include/hw/dma/xlnx-zdma.h
include/hw/dma/xlnx-zynq-devcfg.h
include/hw/dma/xlnx_csu_dma.h
include/hw/intc/xlnx-pmu-iomod-intc.h
include/hw/intc/xlnx-zynqmp-ipi.h
include/hw/misc/allwinner-a10-dramc.h
include/hw/misc/xlnx-versal-cframe-reg.h
include/hw/misc/xlnx-versal-cfu.h
include/hw/misc/xlnx-versal-crl.h
include/hw/misc/xlnx-versal-pmc-iou-slcr.h
include/hw/misc/xlnx-versal-trng.h
include/hw/misc/xlnx-versal-xramc.h
include/hw/misc/xlnx-zynqmp-apu-ctrl.h
include/hw/misc/xlnx-zynqmp-crf.h
include/hw/net/xlnx-versal-canfd.h
include/hw/net/xlnx-zynqmp-can.h
include/hw/nvram/xlnx-bbram.h
include/hw/nvram/xlnx-versal-efuse.h
include/hw/nvram/xlnx-zynqmp-efuse.h
include/hw/pci/pcie_doe.h
include/hw/rtc/xlnx-zynqmp-rtc.h
include/hw/ssi/xlnx-versal-ospi.h
include/hw/usb/hcd-dwc3.h
include/hw/usb/xlnx-usb-subsystem.h
include/hw/usb/xlnx-versal-usb2-ctrl-regs.h

index e0904cc0cc7089263a5058a0237c26ed753e75f0..b38215954a293f22fe66e97514a99c5e94e6768f 100644 (file)
@@ -3559,7 +3559,7 @@ Register API
 M: Alistair Francis <alistair@alistair23.me>
 S: Maintained
 F: hw/core/register.c
-F: include/hw/register.h
+F: include/hw/core/register.h
 F: include/hw/core/registerfields.h
 
 Rust
index 81316d485979d7743499019e30796478484f9394..c3f3c936e70b35912c4d1aadc9ed9b3fecfeb252 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
 
index 650401614ed9c0c412dc2318f0711ffe2b76c98c..ffe258cf31aad152cd9724a32a40423b372dbfe5 100644 (file)
@@ -28,7 +28,7 @@
 #include "system/dma.h"
 #include "hw/core/ptimer.h"
 #include "hw/stream.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/dma/xlnx_csu_dma.h"
 
 /*
index f3509efa0ab9f51348fda8fe07402d54f7149306..b8bafe2f3f3efbd4e95dca0b032030a3baf84d9b 100644 (file)
@@ -27,7 +27,7 @@
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "migration/vmstate.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "qemu/bitops.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
index 99566bc2e2019823286bff966c7f7f6a3d588b59..e69ea74ff748ec8ebb59ecf8245e2496c9abd819 100644 (file)
@@ -28,7 +28,7 @@
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "migration/vmstate.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "qemu/bitops.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
index a5a5e41f3e3d98b30964061cae201f6f7ed0e5ef..efacbe83abb7a11ffa8520f91312023fad65af1c 100644 (file)
@@ -10,7 +10,7 @@
 
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/core/registerfields.h"
 #include "qemu/bitops.h"
 #include "qemu/log.h"
index 13cd597da49a6555ab58a2fccec917fbee5dfc89..bdce0ce74750156d257ba6863bf0fec1041bbd8b 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/core/irq.h"
 #include "qemu/bitops.h"
 #include "qemu/log.h"
index b0baabc1adfd0bd8f9f9e6158d50cf493a5e6261..072d6d9859177894a7cef2f7710af8c33bd4e196 100644 (file)
@@ -12,7 +12,7 @@
 #include "hw/core/qdev-properties.h"
 #include "hw/sysbus.h"
 #include "hw/core/irq.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/resettable.h"
 
 #include "target/arm/arm-powerctl.h"
index 84d474c38fc8b66d328cb3da392934dfa0141bdc..0246167a5e681142bc2dd66f544d2b0f5100f059 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/core/irq.h"
 #include "qemu/bitops.h"
 #include "qemu/log.h"
index 6a86f6b5d4832adee7362a35cf42ec8c0267e7bf..f4f02c7680b069e2179a9f6e9e0b2c8a951f6bfb 100644 (file)
@@ -11,7 +11,7 @@
 #include "qapi/error.h"
 #include "migration/vmstate.h"
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/core/qdev-properties.h"
 #include "hw/core/irq.h"
 #include "hw/misc/xlnx-versal-xramc.h"
index 93f0bedc48eae2c753355c3d26e8c4e0f32b1fe5..957043f01b958f92726620de41c40990d8040a8f 100644 (file)
@@ -15,7 +15,7 @@
 #include "hw/core/qdev-properties.h"
 #include "hw/sysbus.h"
 #include "hw/core/irq.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 
 #include "qemu/bitops.h"
 
index 841bce2231c21e34bc990efd7d9e4eb16d622055..a2ebf6ce5d7edc0662b93fa72e7416710e5c6857 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "qemu/bitops.h"
 #include "qemu/log.h"
 #include "migration/vmstate.h"
index 94d9178a540001c1f93374e679c500f22f9566a0..3ceb1a8b912d2350bbe408746054803bd49240a2 100644 (file)
@@ -33,7 +33,7 @@
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/core/irq.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "qapi/error.h"
 #include "qemu/log.h"
 #include "hw/core/qdev-properties.h"
index 533ac854a2fc477f9749a85bb4d868651dab112b..6c583cab8f58190191e9f1489bee7e8688218321 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/core/irq.h"
 #include "qapi/error.h"
 #include "qemu/bitops.h"
index 54943f60b8099d8c4d748de27faf816fd66577d3..b0c6588e09896edc6a9eea607e0a354804376c72 100644 (file)
@@ -8,7 +8,7 @@
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/core/irq.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "qemu/timer.h"
 #include "system/system.h"
 #include "qemu/cutils.h"
index 18849340d62ce1f85d702fbe9d6d44de1efbced4..49d48dc67822e7d7b8e1de46fc4e37df5b95cbd9 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "qemu/bitops.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
index e3c6035c16960eda4acf02119ebe57f17f79d773..a56a5e304dc17acd30ef46eeebaba21e82526eb9 100644 (file)
@@ -32,7 +32,7 @@
 #include "qemu/bitops.h"
 #include "hw/ssi/xilinx_spips.h"
 #include "qapi/error.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "system/dma.h"
 #include "migration/blocker.h"
 #include "migration/vmstate.h"
index 74dff39fda1314a1860d05b8889f6d281e875d97..4018d70f02f3a989bd3bfe3b5341d6df087b5b17 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "qemu/bitops.h"
 #include "qom/object.h"
 #include "migration/vmstate.h"
index 7193dd4cd2c26294ce30bdc6e726b55ad4b817ca..e0dfdfdcbd1fe22f916e03a57bc2f4b6d14af50a 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "qemu/bitops.h"
 #include "qom/object.h"
 #include "qapi/error.h"
index eb946b5dbd9918086e12087822df5b72d0d5bccf..33a7d7fbca030049d6cff83faa3aa492d9e503c6 100644 (file)
@@ -30,7 +30,7 @@
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/core/irq.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "qemu/bitops.h"
 #include "qom/object.h"
 #include "migration/vmstate.h"
index 945ee6ffd04577c9157a321e7e6f0c38805f222b..b0f2aa79143139c8bb54fbbbce8a00a381c89ce9 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "qemu/range.h"
 #include "hw/cxl/cxl_cdat.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "qapi/error.h"
 
 enum reg_type {
index 89411c80936ff6c3e2f98b37bac96f305b9ba048..165355baf9da46fd5bbc3d13329e1c7bc294c806 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "hw/cxl/cxl_component.h"
 #include "hw/pci/pci_device.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/cxl/cxl_events.h"
 
 /*
index 9c57c499102feb8d75b0254003e59117539d67b0..2d2d4aeefab0be6ae47286363b1fb263b4c7635f 100644 (file)
@@ -30,7 +30,7 @@
 #define XLNX_ZDMA_H
 
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "system/dma.h"
 #include "qom/object.h"
 
index e4cf085d703b9c1d7b239e4ac8ba754f32244a1f..8d10553c22a32040fedc9d38b26c872329895e0e 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef XLNX_ZYNQ_DEVCFG_H
 #define XLNX_ZYNQ_DEVCFG_H
 
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/sysbus.h"
 #include "qom/object.h"
 
index 85b6b64e0e348580767e97bd56aee1a158fbf1b5..63af4586dd9fda6c1d890d44db2b853868e6ca82 100644 (file)
@@ -22,7 +22,7 @@
 #define XLNX_CSU_DMA_H
 
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/core/ptimer.h"
 #include "hw/stream.h"
 
index ccc8bd272a24b8df4e3235c1782c7f6d514a5896..e36b5e1762936771547ce34a469d657a0ff37916 100644 (file)
@@ -26,7 +26,7 @@
 #define HW_INTC_XLNX_PMU_IOMOD_INTC_H
 
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "qom/object.h"
 
 #define TYPE_XLNX_PMU_IO_INTC "xlnx.pmu_io_intc"
index 33eff1d4f68519088f1664f4db514160fd192edd..53fc89084afeeb5749921a9dcc910237ccc653a1 100644 (file)
@@ -26,7 +26,7 @@
 #define XLNX_ZYNQMP_IPI_H
 
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "qom/object.h"
 
 #define TYPE_XLNX_ZYNQMP_IPI "xlnx.zynqmp_ipi"
index b61fbecbe74931ed0327d717934dc1c613258e59..a1ae621e217ab4c768a1c2db7fbd50cfcea3e262 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "qom/object.h"
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 
 /**
  * @name Constants
index 83f6a077446e29d1b692eaaffb2ba54bdfb97b67..fe8788a74538db0af2aee4d77ee1191e5eb2143c 100644 (file)
@@ -18,7 +18,7 @@
 #define HW_MISC_XLNX_VERSAL_CFRAME_REG_H
 
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/misc/xlnx-cfi-if.h"
 #include "hw/misc/xlnx-versal-cfu.h"
 #include "qemu/fifo32.h"
index 3de3ee49231a3c07d60ce30133a199f90e1e85f6..3d7ca506de14e59980cc7eabda745154e9fa2442 100644 (file)
@@ -18,7 +18,7 @@
 #define HW_MISC_XLNX_VERSAL_CFU_APB_H
 
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/misc/xlnx-cfi-if.h"
 #include "qemu/fifo32.h"
 
index 49ed500acde7b64a5a1ef62f0a59089c742a476d..ace3d198bde076f3f9eaa893a4d66c073d304fe3 100644 (file)
@@ -11,7 +11,7 @@
 #define HW_MISC_XLNX_VERSAL_CRL_H
 
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "target/arm/cpu-qom.h"
 #include "hw/arm/xlnx-versal-version.h"
 
index 0c4a4fd66d9dfd7138b66ce0b04e2f044993ffbb..d8f45bd94b2ddf775b4a484bd5cc39d7be09db78 100644 (file)
@@ -55,7 +55,7 @@
 #define XLNX_VERSAL_PMC_IOU_SLCR_H
 
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 
 #define TYPE_XILINX_VERSAL_PMC_IOU_SLCR "xlnx.versal-pmc-iou-slcr"
 
index 4e516216dbe272e475cfb70d84eb948d8308b37c..8de29104048a0e9032829f90b2a3d74bea82f376 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "hw/core/irq.h"
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 
 #define TYPE_XLNX_VERSAL_TRNG "xlnx.versal-trng"
 OBJECT_DECLARE_SIMPLE_TYPE(XlnxVersalTRng, XLNX_VERSAL_TRNG);
index 35e4e8b91ddf0b1c27a2ca0d82b39c42d4d82266..e79941d8865fcf4a8151aa676df45eb2e0727566 100644 (file)
@@ -10,7 +10,7 @@
 #define XLNX_VERSAL_XRAMC_H
 
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 
 #define TYPE_XLNX_XRAM_CTRL "xlnx.versal-xramc"
 
index fbfe34aa7e5ead32359331e6778efedc513b317e..c03157200539f66e811c273d32bf172c6d64ef4e 100644 (file)
@@ -12,7 +12,7 @@
 #define HW_MISC_XLNX_ZYNQMP_APU_CTRL_H
 
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "target/arm/cpu-qom.h"
 
 #define TYPE_XLNX_ZYNQMP_APU_CTRL "xlnx.apu-ctrl"
index c746ae10397a88b006313ac9e867a63d5126ddde..df83034a988c793ed86206536c88b5823abfd0bf 100644 (file)
@@ -9,7 +9,7 @@
 #define HW_MISC_XLNX_ZYNQMP_CRF_H
 
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 
 #define TYPE_XLNX_ZYNQMP_CRF "xlnx.zynqmp_crf"
 OBJECT_DECLARE_SIMPLE_TYPE(XlnxZynqMPCRF, XLNX_ZYNQMP_CRF)
index 45cf0001c6b4db8a28de711c5768e8bcb593c3fe..7cadf3123b538399995fc2b42c952d6c0c1eb11b 100644 (file)
@@ -28,7 +28,7 @@
 #ifndef HW_CANFD_XILINX_H
 #define HW_CANFD_XILINX_H
 
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/core/ptimer.h"
 #include "net/can_emu.h"
 #include "hw/core/qdev-clock.h"
index d272f40ea80e26a75599e618c426b1d6b8886224..d23c1523caffee6340ac2f7dfd51f3d0213af38a 100644 (file)
@@ -31,7 +31,7 @@
 #define XLNX_ZYNQMP_CAN_H
 
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "net/can_emu.h"
 #include "net/can_host.h"
 #include "qemu/fifo32.h"
index 63558dbc3294e55a4cbc0354382d0927416b6971..27423035d406445f119cd04662f4892322e6469c 100644 (file)
@@ -30,7 +30,7 @@
 #include "hw/core/qdev.h"
 #include "hw/core/irq.h"
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 
 #define RMAX_XLNX_BBRAM ((0x4c / 4) + 1)
 
index 37d09da4809ef9f87ee700e816c36601dd30dffa..07f1000a851f65b97a66a527cc2ddf7143cd8f7f 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "hw/core/irq.h"
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/nvram/xlnx-efuse.h"
 
 #define XLNX_VERSAL_EFUSE_CTRL_R_MAX ((0x100 / 4) + 1)
index 6eb3fea8fa278c70af849716f61e22a0eadbcb43..d48869438609813f28e2795e0b7fd712d13a0f1e 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "hw/core/irq.h"
 #include "hw/sysbus.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/nvram/xlnx-efuse.h"
 
 #define XLNX_ZYNQMP_EFUSE_R_MAX ((0x10fc / 4) + 1)
index 9e1275db8ae1da5d922f2162daca918d799e902f..4bd49bb5ae6576b3bc61301ed32c56313b2bcc6e 100644 (file)
@@ -11,7 +11,7 @@
 #define PCIE_DOE_H
 
 #include "qemu/range.h"
-#include "hw/register.h"
+#include "hw/core/register.h"
 
 /*
  * Reference:
index f0c6a2d78a84ecd230b28e707cc36f4654abd095..a542b87cb8904571f3e2d20ffc5639bd2d082270 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef HW_RTC_XLNX_ZYNQMP_RTC_H
 #define HW_RTC_XLNX_ZYNQMP_RTC_H
 
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/sysbus.h"
 #include "qom/object.h"
 
index 4ac975aa2fdb876fad411ba1e01601ebf07db669..e8709208caacef1e4196d4c943715e0bff72b07d 100644 (file)
@@ -52,7 +52,7 @@
 #ifndef XLNX_VERSAL_OSPI_H
 #define XLNX_VERSAL_OSPI_H
 
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/ssi/ssi.h"
 #include "qemu/fifo8.h"
 #include "hw/dma/xlnx_csu_dma.h"
index dbdf12b21d7430b4e5bce9a92b3b45eb514dd944..e656532d6c0dfd1906aa5f48eebdb51fb9ab949f 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef HCD_DWC3_H
 #define HCD_DWC3_H
 
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/usb/hcd-xhci.h"
 #include "hw/usb/hcd-xhci-sysbus.h"
 
index 40f9e97e093c35ed62cde5e1d588607744ce59cc..b22e5d065be7936d87551f12ccaae54c7f44ad0e 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef XLNX_USB_SUBSYSTEM_H
 #define XLNX_USB_SUBSYSTEM_H
 
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/sysbus.h"
 #include "hw/usb/xlnx-versal-usb2-ctrl-regs.h"
 #include "hw/usb/hcd-dwc3.h"
index 6a502006b079fc8c6bdc9f78461d4428ef34287a..c1470da47585c2befb1785329f84f421d2c3e694 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef XLNX_VERSAL_USB2_CTRL_REGS_H
 #define XLNX_VERSAL_USB2_CTRL_REGS_H
 
-#include "hw/register.h"
+#include "hw/core/register.h"
 #include "hw/sysbus.h"
 
 #define TYPE_XILINX_VERSAL_USB2_CTRL_REGS "xlnx.versal-usb2-ctrl-regs"