diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-09-29 15:36:08 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-10-07 03:37:04 +0200 |
| commit | ec1eb357cb86eee74d63940154db1e1bfa86026a (patch) | |
| tree | 98fd5713baf31feaf566eb209494fdcfd74f5d73 | |
| parent | 1e440937d699514207946c36c353a7a616f8b805 (diff) | |
| download | focaccia-qemu-ec1eb357cb86eee74d63940154db1e1bfa86026a.tar.gz focaccia-qemu-ec1eb357cb86eee74d63940154db1e1bfa86026a.zip | |
system/physmem: Remove cpu_physical_memory_is_io()
There are no more uses of the legacy cpu_physical_memory_is_io() method. Remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20251002084203.63899-6-philmd@linaro.org>
| -rw-r--r-- | include/exec/cpu-common.h | 2 | ||||
| -rw-r--r-- | system/physmem.c | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h index df520f15d3..55911c1d9f 100644 --- a/include/exec/cpu-common.h +++ b/include/exec/cpu-common.h @@ -149,8 +149,6 @@ void *cpu_physical_memory_map(hwaddr addr, void cpu_physical_memory_unmap(void *buffer, hwaddr len, bool is_write, hwaddr access_len); -bool cpu_physical_memory_is_io(hwaddr phys_addr); - /* Coalesced MMIO regions are areas where write operations can be reordered. * This usually implies that write operations are side-effect free. This allows * batching which can make a major impact on performance when using diff --git a/system/physmem.c b/system/physmem.c index 5574c424f0..c8a1fda55b 100644 --- a/system/physmem.c +++ b/system/physmem.c @@ -3761,11 +3761,6 @@ int cpu_memory_rw_debug(CPUState *cpu, vaddr addr, return 0; } -bool cpu_physical_memory_is_io(hwaddr phys_addr) -{ - return address_space_is_io(&address_space_memory, phys_addr); -} - int qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque) { RAMBlock *block; |