[PATCH 01/15] docs/devel/loads-stores: Stop mentioning cpu_physical_memory_write_rom()

Philippe Mathieu-Daudé posted 15 patches 5 days, 3 hours ago
There is a newer version of this series
[PATCH 01/15] docs/devel/loads-stores: Stop mentioning cpu_physical_memory_write_rom()
Posted by Philippe Mathieu-Daudé 5 days, 3 hours ago
Update the documentation after commit 3c8133f9737 ("Rename
cpu_physical_memory_write_rom() to address_space_write_rom()").

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 docs/devel/loads-stores.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/devel/loads-stores.rst b/docs/devel/loads-stores.rst
index 9471bac8599..f9b565da57a 100644
--- a/docs/devel/loads-stores.rst
+++ b/docs/devel/loads-stores.rst
@@ -474,7 +474,7 @@ This function is intended for use by the GDB stub and similar code.
 It takes a virtual address, converts it to a physical address via
 an MMU lookup using the current settings of the specified CPU,
 and then performs the access (using ``address_space_rw`` for
-reads or ``cpu_physical_memory_write_rom`` for writes).
+reads or ``address_space_write_rom`` for writes).
 This means that if the access is a write to a ROM then this
 function will modify the contents (whereas a normal guest CPU access
 would ignore the write attempt).
-- 
2.51.0


Re: [PATCH 01/15] docs/devel/loads-stores: Stop mentioning cpu_physical_memory_write_rom()
Posted by Richard Henderson 4 days, 21 hours ago
On 9/29/25 11:32, Philippe Mathieu-Daudé wrote:
> Update the documentation after commit 3c8133f9737 ("Rename
> cpu_physical_memory_write_rom() to address_space_write_rom()").
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   docs/devel/loads-stores.rst | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/docs/devel/loads-stores.rst b/docs/devel/loads-stores.rst
> index 9471bac8599..f9b565da57a 100644
> --- a/docs/devel/loads-stores.rst
> +++ b/docs/devel/loads-stores.rst
> @@ -474,7 +474,7 @@ This function is intended for use by the GDB stub and similar code.
>   It takes a virtual address, converts it to a physical address via
>   an MMU lookup using the current settings of the specified CPU,
>   and then performs the access (using ``address_space_rw`` for
> -reads or ``cpu_physical_memory_write_rom`` for writes).
> +reads or ``address_space_write_rom`` for writes).
>   This means that if the access is a write to a ROM then this
>   function will modify the contents (whereas a normal guest CPU access
>   would ignore the write attempt).

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~