]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
include: move hw/ptimer.h to hw/core/
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 Nov 2025 07:37:51 +0000 (08:37 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 27 Dec 2025 09:11:07 +0000 (10:11 +0100)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
38 files changed:
hw/arm/musicpal.c
hw/core/ptimer.c
hw/dma/xilinx_axidma.c
hw/dma/xlnx_csu_dma.c
hw/m68k/mcf5206.c
hw/m68k/mcf5208.c
hw/net/fsl_etsec/etsec.c
hw/net/fsl_etsec/etsec.h
hw/net/lan9118.c
hw/rtc/exynos4210_rtc.c
hw/sparc/leon3.c
hw/ssi/xilinx_spips.c
hw/timer/arm_mptimer.c
hw/timer/arm_timer.c
hw/timer/digic-timer.c
hw/timer/exynos4210_mct.c
hw/timer/exynos4210_pwm.c
hw/timer/grlib_gptimer.c
hw/timer/sh_timer.c
hw/timer/slavio_timer.c
hw/timer/xilinx_timer.c
include/hw/core/ptimer.h [moved from include/hw/ptimer.h with 100% similarity]
include/hw/display/xlnx_dp.h
include/hw/dma/xlnx_csu_dma.h
include/hw/net/xlnx-versal-canfd.h
include/hw/net/xlnx-zynqmp-can.h
include/hw/timer/allwinner-a10-pit.h
include/hw/timer/armv7m_systick.h
include/hw/timer/cmsdk-apb-dualtimer.h
include/hw/timer/cmsdk-apb-timer.h
include/hw/timer/digic-timer.h
include/hw/timer/imx_epit.h
include/hw/timer/imx_gpt.h
include/hw/timer/mss-timer.h
include/hw/watchdog/allwinner-wdt.h
include/hw/watchdog/cmsdk-apb-watchdog.h
include/hw/watchdog/wdt_imx2.h
tests/unit/ptimer-test.c

index 100a9f59b3f127706f9b5427a278c1720b0a9dfa..a4ddc0d08f95abc0f7237fe9844d3a04dbcdea83 100644 (file)
@@ -21,7 +21,7 @@
 #include "hw/core/boards.h"
 #include "hw/char/serial-mm.h"
 #include "qemu/timer.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/qdev-properties.h"
 #include "hw/block/flash.h"
 #include "ui/console.h"
index a7337f02b8dbd36eff059a40f58bf0dbcfeaff03..e42e06fa4de6e3a9677967450c75e62a52b533f4 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "migration/vmstate.h"
 #include "qemu/host-utils.h"
 #include "exec/replay-core.h"
index 9b05080ae5939bf3b627af0c8c5785f4c4ea67c5..15da3fcbc2c5a2778bd71abcb1b7e1f4e5a2cb1d 100644 (file)
@@ -28,7 +28,7 @@
 #include "qemu/timer.h"
 #include "hw/hw.h"
 #include "hw/core/irq.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/qdev-properties.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
index 0b1185325ba2d1cf66f363175d3497f018f9005e..92f445034e8a2f87c6d2909cda0c5f6c2871de6d 100644 (file)
@@ -26,7 +26,7 @@
 #include "hw/sysbus.h"
 #include "migration/vmstate.h"
 #include "system/dma.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/stream.h"
 #include "hw/register.h"
 #include "hw/dma/xlnx_csu_dma.h"
index 4cf86d510b3a09e28662438575478d866543301d..e17da4fd2098e12463b9624f28a5f4f2ad815926 100644 (file)
@@ -15,7 +15,7 @@
 #include "hw/core/irq.h"
 #include "hw/m68k/mcf.h"
 #include "qemu/timer.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "system/system.h"
 #include "hw/sysbus.h"
 
index b81305ae6e4e22959d84032127e3f62d6641e107..3a87e1f282ca422cd70d108b0c7389ebd6db0fc4 100644 (file)
@@ -25,7 +25,7 @@
 #include "hw/m68k/mcf.h"
 #include "hw/m68k/mcf_fec.h"
 #include "qemu/timer.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "system/system.h"
 #include "system/qtest.h"
 #include "net/net.h"
index 6ae8a1e1a3c24d4ca5a8cfef50a13cd667d94d88..e6a29d9ec6d051e36b313ded3ddaa015ec176a01 100644 (file)
@@ -30,7 +30,7 @@
 #include "hw/sysbus.h"
 #include "hw/core/irq.h"
 #include "hw/net/mii.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/qdev-properties.h"
 #include "etsec.h"
 #include "registers.h"
index bd2de3f99c71a39558103dfa50887497c2a23fa8..ca8ad5638a3e4b98bde7c367c544e0839a1ef58b 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "hw/sysbus.h"
 #include "net/net.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "qom/object.h"
 
 /* Buffer Descriptors */
index 1c9bb4807d235c0f56921f97fe2ea6f6309f0630..191fd8b421bbefae346d528dd0eb1ebec249d010 100644 (file)
@@ -18,7 +18,7 @@
 #include "hw/core/irq.h"
 #include "hw/net/lan9118_phy.h"
 #include "hw/net/lan9118.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/qdev-properties.h"
 #include "qapi/error.h"
 #include "qemu/bswap.h"
index a7e17031ca80d338bf646859ecefda3d77f97a76..a15b5274bd3c79f7f8073370caac6cbeb274a99e 100644 (file)
@@ -32,7 +32,7 @@
 #include "migration/vmstate.h"
 #include "qemu/timer.h"
 #include "qemu/bcd.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 
 #include "hw/core/irq.h"
 
index cd1a03a55846b32da578d7bf6f3db1f97350a0d3..50f1cf91706a69454e4b01a763783a1c068071c0 100644 (file)
@@ -32,7 +32,7 @@
 #include "cpu.h"
 #include "hw/core/irq.h"
 #include "qemu/timer.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/qdev-properties.h"
 #include "system/system.h"
 #include "system/qtest.h"
index b2f66275182521c01cd667bf24c408e345f53e4e..5fa9bf965ffde9e6348d94184be7d1abf6b2724a 100644 (file)
@@ -25,7 +25,7 @@
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/core/irq.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/qdev-properties.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
index ac6313039a80c0063a104c952956a6ba23dd1575..adec87cc8d2da74585ec817aa736b43eb6fc1c75 100644 (file)
@@ -22,7 +22,7 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/core/irq.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/qdev-properties.h"
 #include "hw/timer/arm_mptimer.h"
 #include "migration/vmstate.h"
index e5ef28de6f7e00ac487dbff36b73386247f1db38..8d8b250698c67c1af13a883ffb9e9bb55cd6639f 100644 (file)
@@ -12,7 +12,7 @@
 #include "migration/vmstate.h"
 #include "qemu/timer.h"
 #include "hw/core/irq.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/qdev-properties.h"
 #include "qemu/module.h"
 #include "qemu/log.h"
index 355138d354752a9bf05e862aa316ea77c165f971..12b79914df0cbc1b9ddeec4af9929f15078b4276 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "qemu/module.h"
 #include "qemu/log.h"
 
index 06524efca272a5e85634dcfe1013f26449635785..f6527a451b67048adf93dca00d9610688779d5b8 100644 (file)
@@ -58,7 +58,7 @@
 #include "migration/vmstate.h"
 #include "qemu/timer.h"
 #include "qemu/module.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 
 #include "hw/arm/exynos4210.h"
 #include "hw/core/irq.h"
index dc76932fdfbb3e190fc6dbe620b499063f607ded..1643fa3941808989c815e86720bc036975718e05 100644 (file)
@@ -26,7 +26,7 @@
 #include "migration/vmstate.h"
 #include "qemu/timer.h"
 #include "qemu/module.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 
 #include "hw/arm/exynos4210.h"
 #include "hw/core/irq.h"
index 6218c255d2c6d9041188d08a56e678882f312f08..82d0d9d7622425c278b5b461a89a0fbc327bb681 100644 (file)
@@ -29,7 +29,7 @@
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
 #include "hw/core/irq.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/qdev-properties.h"
 #include "qemu/module.h"
 
index adc05715528964481252f9110c4810783f2c9e03..41ece9c61366084182aa33546b0c4ad9c4522fd3 100644 (file)
@@ -14,7 +14,7 @@
 #include "hw/core/irq.h"
 #include "hw/sh4/sh.h"
 #include "hw/timer/tmu012.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "trace.h"
 
 #define TIMER_TCR_TPSC          (7 << 0)
index 5bf94157ca4888f66deff42a0907870a852fff0b..f66b3aaa433323d323766672534ec78b1c4c9a22 100644 (file)
@@ -25,7 +25,7 @@
 #include "qemu/osdep.h"
 #include "qemu/timer.h"
 #include "hw/core/irq.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/qdev-properties.h"
 #include "hw/sysbus.h"
 #include "migration/vmstate.h"
index c1b6d2bdf2de22fa833937bba118d7a397ebec5e..fbc10015916eaa333d3a63d11b45525c95cb4201 100644 (file)
@@ -29,7 +29,7 @@
 #include "qapi/error.h"
 #include "hw/sysbus.h"
 #include "hw/core/irq.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/qdev-properties.h"
 #include "hw/qdev-properties-system.h"
 #include "qemu/log.h"
similarity index 100%
rename from include/hw/ptimer.h
rename to include/hw/core/ptimer.h
index af859e477dac2afa57235863643bb276f0064054..9ec5a90c3420fc7c37f0b64950280a5a0c1d9f60 100644 (file)
@@ -35,7 +35,7 @@
 #include "hw/dma/xlnx_dpdma.h"
 #include "qemu/audio.h"
 #include "qom/object.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 
 #define AUD_CHBUF_MAX_DEPTH                 (32 * KiB)
 #define MAX_QEMU_BUFFER_SIZE                (4 * KiB)
index 922ab80eb6185ee45ece29eded7314bc14e889a7..85b6b64e0e348580767e97bd56aee1a158fbf1b5 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "hw/sysbus.h"
 #include "hw/register.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/stream.h"
 
 #define TYPE_XLNX_CSU_DMA "xlnx.csu_dma"
index 396f90d6dc10054367d8f88c5b623f3072d1e829..d2e582918fba4defaa3da33f8be8826270366f68 100644 (file)
@@ -29,7 +29,7 @@
 #define HW_CANFD_XILINX_H
 
 #include "hw/register.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "net/can_emu.h"
 #include "hw/qdev-clock.h"
 
index fd2aa7776038f0f93bdcb631ebe4b351c0668e86..8262f11d33da5bf4ed75d2580af823a14163e050 100644 (file)
@@ -35,7 +35,7 @@
 #include "net/can_emu.h"
 #include "net/can_host.h"
 #include "qemu/fifo32.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/qdev-clock.h"
 
 #define TYPE_XLNX_ZYNQMP_CAN "xlnx.zynqmp-can"
index 8435758ad68ed1cd9cc38f148490aeafa3e980de..623a1fec21961a0af39c7a521b81310fd9cce59c 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef ALLWINNER_A10_PIT_H
 #define ALLWINNER_A10_PIT_H
 
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/sysbus.h"
 #include "qom/object.h"
 
index ac7de0a43ef2cd98871052bf94bbecdcb07de13e..fb73f78a7b83f33c4ee99bc5941addf3c9aca712 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "hw/sysbus.h"
 #include "qom/object.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/core/clock.h"
 
 #define TYPE_SYSTICK "armv7m_systick"
index f098128a58834828dfa64c0646b679540ba2ba70..103ac228815b582b40fce312b44bf2c23e0f7321 100644 (file)
@@ -27,7 +27,7 @@
 #define CMSDK_APB_DUALTIMER_H
 
 #include "hw/sysbus.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/core/clock.h"
 #include "qom/object.h"
 
index 74eaf611aebbf26c4c7b97106c7b8f6f8a6ce605..f8c8fb8ce55d8d6219b3f6912ed70363377089eb 100644 (file)
@@ -13,7 +13,7 @@
 #define CMSDK_APB_TIMER_H
 
 #include "hw/sysbus.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/core/clock.h"
 #include "qom/object.h"
 
index da82fb466374a012cfaabc3c3fa854484715e9c9..f62242eaad35bf3438a109e065f5d740d96c80bf 100644 (file)
@@ -19,7 +19,7 @@
 #define HW_TIMER_DIGIC_TIMER_H
 
 #include "hw/sysbus.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "qom/object.h"
 
 #define TYPE_DIGIC_TIMER "digic-timer"
index 79aff0cec2076d23113ba2fdd17d3294a2099220..2947fad1069c27d0e6470b4699bdac2ec42d6cc7 100644 (file)
@@ -30,7 +30,7 @@
 #define IMX_EPIT_H
 
 #include "hw/sysbus.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/misc/imx_ccm.h"
 #include "qom/object.h"
 
index 5488f7e4df5741d8326305b109a8f19d42c841ef..5c12f686e1b4cf0ae5d2cfc075ef6f72406eeb6a 100644 (file)
@@ -30,7 +30,7 @@
 #define IMX_GPT_H
 
 #include "hw/sysbus.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/misc/imx_ccm.h"
 #include "qom/object.h"
 
index da38512904e411333b9fa95e2ecfc65c1fd6850c..0cc376f945fe2f8fce02afbc254d9342b10b2beb 100644 (file)
@@ -26,7 +26,7 @@
 #define HW_MSS_TIMER_H
 
 #include "hw/sysbus.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "qom/object.h"
 
 #define TYPE_MSS_TIMER     "mss-timer"
index 7fe41e20f2ee1fd5a9e887d306f08c65d745637a..6f84dbd1a7224cc5573f3909c994a471882f7851 100644 (file)
@@ -24,7 +24,7 @@
 #define HW_WATCHDOG_ALLWINNER_WDT_H
 
 #include "qom/object.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/sysbus.h"
 
 /*
index 5bbf4979c9f832d59933eb917dc93ea474d3afd4..9bf95ba06d5955aaad923e2357783c7843d54468 100644 (file)
@@ -32,7 +32,7 @@
 #define CMSDK_APB_WATCHDOG_H
 
 #include "hw/sysbus.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "hw/core/clock.h"
 #include "qom/object.h"
 
index ddc49aaea4fd9c33f3d51ea41c466d1b4d2f6dcc..53a8360e90611a67eca291dc3b72f949843b7d49 100644 (file)
@@ -15,7 +15,7 @@
 #include "qemu/bitops.h"
 #include "hw/sysbus.h"
 #include "hw/core/irq.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 #include "qom/object.h"
 
 #define TYPE_IMX2_WDT "imx2.wdt"
index 08240594bbd65bc501629e6e06b7773a0c453e39..6de658812b17c34905350d98205e0640522bdeb5 100644 (file)
@@ -12,7 +12,7 @@
 #include <glib/gprintf.h>
 
 #include "qemu/main-loop.h"
-#include "hw/ptimer.h"
+#include "hw/core/ptimer.h"
 
 #include "ptimer-test.h"