]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
include/system: Move exec/ioport.h to system/ioport.h
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 12 Mar 2025 19:49:38 +0000 (12:49 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 23 Apr 2025 21:08:21 +0000 (14:08 -0700)
Convert the existing includes with sed.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
15 files changed:
MAINTAINERS
hw/block/fdc-isa.c
hw/display/vga_int.h
include/hw/char/parallel-isa.h
include/hw/dma/i8257.h
include/hw/ide/ide-bus.h
include/hw/isa/isa.h
include/system/ioport.h [moved from include/exec/ioport.h with 97% similarity]
monitor/hmp-cmds.c
system/ioport.c
system/physmem.c
system/qtest.c
target/i386/nvmm/nvmm-all.c
target/i386/whpx/whpx-all.c
tests/qtest/fuzz/qtest_wrappers.c

index 5d391cfaa7150d4680f8722c7e9def69f6826a49..9a96cc1b5edc74bb21196cf61d728a1b077b3508 100644 (file)
@@ -3118,7 +3118,7 @@ M: Peter Xu <peterx@redhat.com>
 M: David Hildenbrand <david@redhat.com>
 R: Philippe Mathieu-Daudé <philmd@linaro.org>
 S: Supported
-F: include/exec/ioport.h
+F: include/system/ioport.h
 F: include/exec/memop.h
 F: include/system/memory.h
 F: include/exec/ram_addr.h
index a10c24aab10f019710a21ef20b1dcc68e3decefd..561cfa47c1c31496127727486897157614ff9f8d 100644 (file)
@@ -42,7 +42,7 @@
 #include "system/block-backend.h"
 #include "system/blockdev.h"
 #include "system/system.h"
-#include "exec/ioport.h"
+#include "system/ioport.h"
 #include "qemu/log.h"
 #include "qemu/main-loop.h"
 #include "qemu/module.h"
index 60ad26e03ec9d99ba1b602c0b3a8fcb9e3e9198c..747b5cc6cf8d5bc2c94d8a1482dbffda10888e96 100644 (file)
@@ -26,7 +26,7 @@
 #define HW_VGA_INT_H
 
 #include "ui/console.h"
-#include "exec/ioport.h"
+#include "system/ioport.h"
 #include "system/memory.h"
 
 #include "hw/display/bochs-vbe.h"
index 5284b2ffecc58efcff1e7eae4969dd119e457a48..3edaf9dbe493ff100e72621b66768049b482423c 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "parallel.h"
 
-#include "exec/ioport.h"
+#include "system/ioport.h"
 #include "hw/isa/isa.h"
 #include "qom/object.h"
 
index 4342e4a91ed0a8790f7ffd4d1c4424056700905e..33b6286d5a4d59f26eaf2b8a2ef27ac7ef4e8f7b 100644 (file)
@@ -2,7 +2,7 @@
 #define HW_I8257_H
 
 #include "hw/isa/isa.h"
-#include "exec/ioport.h"
+#include "system/ioport.h"
 #include "qom/object.h"
 
 #define TYPE_I8257 "i8257"
index 4841a7dcd6365c2f0ac098ebfaf0bfa06739c583..121b455fcdb29995ddbf0ebb5204b5b5820311de 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef HW_IDE_BUS_H
 #define HW_IDE_BUS_H
 
-#include "exec/ioport.h"
+#include "system/ioport.h"
 #include "hw/ide/ide-dev.h"
 #include "hw/ide/ide-dma.h"
 
index 1d852011b33841bdf9df80953191ca8570dd8717..a82c5f1004f3095bb2cc341fe75f11436f5819d6 100644 (file)
@@ -4,7 +4,7 @@
 /* ISA bus */
 
 #include "system/memory.h"
-#include "exec/ioport.h"
+#include "system/ioport.h"
 #include "hw/qdev-core.h"
 #include "qom/object.h"
 
similarity index 97%
rename from include/exec/ioport.h
rename to include/system/ioport.h
index ecea3575bc70b3910dd14796b33374c0c13be329..780ea5a67682c643059448ecef71858bbfa024ab 100644 (file)
@@ -21,8 +21,8 @@
  * IO ports API
  */
 
-#ifndef IOPORT_H
-#define IOPORT_H
+#ifndef SYSTEM_IOPORT_H
+#define SYSTEM_IOPORT_H
 
 #include "system/memory.h"
 
@@ -39,9 +39,7 @@ typedef struct MemoryRegionPortio {
 
 #define PORTIO_END_OF_LIST() { }
 
-#ifndef CONFIG_USER_ONLY
 extern const MemoryRegionOps unassigned_io_ops;
-#endif
 
 void cpu_outb(uint32_t addr, uint8_t val);
 void cpu_outw(uint32_t addr, uint16_t val);
index 8ddcdd76c18c046c15f88ef05260245574630121..74a0f56566e710ed8677b3ba0164c9c749b8fd9b 100644 (file)
@@ -15,7 +15,7 @@
 
 #include "qemu/osdep.h"
 #include "system/address-spaces.h"
-#include "exec/ioport.h"
+#include "system/ioport.h"
 #include "exec/gdbstub.h"
 #include "gdbstub/enums.h"
 #include "monitor/hmp.h"
index 530071646424c11e74e343825753bf21506d59e8..4f96e9119fc119ae32dbe041454637bf6917bbe7 100644 (file)
@@ -26,7 +26,7 @@
  */
 
 #include "qemu/osdep.h"
-#include "exec/ioport.h"
+#include "system/ioport.h"
 #include "system/memory.h"
 #include "system/address-spaces.h"
 #include "trace.h"
index e61fea41b5557469d19082b4fdae948395a647b1..234e489199770e46d4c8713af8962e1b7d1f2b3d 100644 (file)
@@ -51,7 +51,7 @@
 #include "qemu/memalign.h"
 #include "qemu/memfd.h"
 #include "system/memory.h"
-#include "exec/ioport.h"
+#include "system/ioport.h"
 #include "system/dma.h"
 #include "system/hostmem.h"
 #include "system/hw_accel.h"
index 54072891545338195f27b49e49f4853ad4a9ed5c..523a047995927f25e634ca756c0824afe22fabe5 100644 (file)
@@ -16,7 +16,7 @@
 #include "system/qtest.h"
 #include "system/runstate.h"
 #include "chardev/char-fe.h"
-#include "exec/ioport.h"
+#include "system/ioport.h"
 #include "system/memory.h"
 #include "exec/tswap.h"
 #include "hw/qdev-core.h"
index 91f0e3236658e83053b05dc35ab1f660b8d17513..17394d073db6c2c771c2d90ac708b8d577c29805 100644 (file)
@@ -10,7 +10,7 @@
 #include "qemu/osdep.h"
 #include "cpu.h"
 #include "system/address-spaces.h"
-#include "exec/ioport.h"
+#include "system/ioport.h"
 #include "qemu/accel.h"
 #include "system/nvmm.h"
 #include "system/cpus.h"
index d58cb11cee4a66bc577d3744a701b85142d920ac..b64852e13e2d545480bb4480c66e88c4fdf33516 100644 (file)
@@ -11,7 +11,7 @@
 #include "qemu/osdep.h"
 #include "cpu.h"
 #include "system/address-spaces.h"
-#include "exec/ioport.h"
+#include "system/ioport.h"
 #include "gdbstub/helpers.h"
 #include "qemu/accel.h"
 #include "system/whpx.h"
index 0580f8df860fe7ae229cd4eb370db578d7e08eb6..d7adcbe3fd283e80fab1e2225f9c7e5bddd7a207 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "qemu/osdep.h"
 #include "hw/core/cpu.h"
-#include "exec/ioport.h"
+#include "system/ioport.h"
 
 #include "fuzz.h"