diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-09-29 15:58:17 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-10-07 05:03:56 +0200 |
| commit | e98ae807c42e5c9f5089c947f7c6ef444248a946 (patch) | |
| tree | 45dc14830cebd652fdb22a442312b2dfe0af78ba /scripts/coccinelle/exec_rw_const.cocci | |
| parent | 5b7502234c7ede51ab6e684b6abc64d5fee3c1a1 (diff) | |
| download | focaccia-qemu-e98ae807c42e5c9f5089c947f7c6ef444248a946.tar.gz focaccia-qemu-e98ae807c42e5c9f5089c947f7c6ef444248a946.zip | |
system/physmem: Remove legacy cpu_physical_memory_rw()
The legacy cpu_physical_memory_rw() method is no more used, remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20251002084203.63899-16-philmd@linaro.org>
Diffstat (limited to 'scripts/coccinelle/exec_rw_const.cocci')
| -rw-r--r-- | scripts/coccinelle/exec_rw_const.cocci | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/coccinelle/exec_rw_const.cocci b/scripts/coccinelle/exec_rw_const.cocci index 35ab79e6d7..4c02c94e04 100644 --- a/scripts/coccinelle/exec_rw_const.cocci +++ b/scripts/coccinelle/exec_rw_const.cocci @@ -21,13 +21,6 @@ expression E1, E2, E3, E4, E5; + address_space_rw(E1, E2, E3, E4, E5, true) | -- cpu_physical_memory_rw(E1, E2, E3, 0) -+ cpu_physical_memory_rw(E1, E2, E3, false) -| -- cpu_physical_memory_rw(E1, E2, E3, 1) -+ cpu_physical_memory_rw(E1, E2, E3, true) -| - - cpu_physical_memory_map(E1, E2, 0) + cpu_physical_memory_map(E1, E2, false) | @@ -81,9 +74,6 @@ type T; + address_space_write_rom(E1, E2, E3, E4, E5) | -- cpu_physical_memory_rw(E1, (T *)(E2), E3, E4) -+ cpu_physical_memory_rw(E1, E2, E3, E4) -| - cpu_physical_memory_read(E1, (T *)(E2), E3) + cpu_physical_memory_read(E1, E2, E3) | |