include/system: Move exec/ioport.h to system/ioport.h

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>
This commit is contained in:
Richard Henderson 2025-03-12 12:49:38 -07:00
parent dfc56946a7
commit 91a853837d
15 changed files with 16 additions and 18 deletions

View 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

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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);

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"