[PATCH] docs/tcg-ops: Rename cpu_env to tcg_env

Chinmay Rath posted 1 patch 3 days, 17 hours ago
docs/devel/tcg-ops.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] docs/tcg-ops: Rename cpu_env to tcg_env
Posted by Chinmay Rath 3 days, 17 hours ago
Commit ad75a51e (tcg: Rename cpu_env to tcg_env) from 2023, renamed
cpu_env to tcg_env. However the same was never done in the docs.
Updating docs with the necessary renaming.

Signed-off-by: Chinmay Rath <rathc@linux.ibm.com>
---
 docs/devel/tcg-ops.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/devel/tcg-ops.rst b/docs/devel/tcg-ops.rst
index 51fa183e91..7ee419f959 100644
--- a/docs/devel/tcg-ops.rst
+++ b/docs/devel/tcg-ops.rst
@@ -66,7 +66,7 @@ Variables
 
 * ``TEMP_FIXED``
 
-  There is one TCG *fixed global* variable, ``cpu_env``, which is
+  There is one TCG *fixed global* variable, ``tcg_env``, which is
   live in all translation blocks, and holds a pointer to ``CPUArchState``.
   This variable is held in a host cpu register at all times in all
   translation blocks.
@@ -75,7 +75,7 @@ Variables
 
   A TCG *global* is a variable which is live in all translation blocks,
   and corresponds to memory location that is within ``CPUArchState``.
-  These may be specified as an offset from ``cpu_env``, in which case
+  These may be specified as an offset from ``tcg_env``, in which case
   they are called *direct globals*, or may be specified as an offset
   from a direct global, in which case they are called *indirect globals*.
   Even indirect globals should still reference memory within
-- 
2.55.0
Re: [PATCH] docs/tcg-ops: Rename cpu_env to tcg_env
Posted by Richard Henderson 3 days, 8 hours ago
On 11/19/26 02:23, Chinmay Rath wrote:
> Commit ad75a51e (tcg: Rename cpu_env to tcg_env) from 2023, renamed
> cpu_env to tcg_env. However the same was never done in the docs.
> Updating docs with the necessary renaming.
> 
> Signed-off-by: Chinmay Rath <rathc@linux.ibm.com>
> ---
>   docs/devel/tcg-ops.rst | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/docs/devel/tcg-ops.rst b/docs/devel/tcg-ops.rst
> index 51fa183e91..7ee419f959 100644
> --- a/docs/devel/tcg-ops.rst
> +++ b/docs/devel/tcg-ops.rst
> @@ -66,7 +66,7 @@ Variables
>   
>   * ``TEMP_FIXED``
>   
> -  There is one TCG *fixed global* variable, ``cpu_env``, which is
> +  There is one TCG *fixed global* variable, ``tcg_env``, which is
>     live in all translation blocks, and holds a pointer to ``CPUArchState``.
>     This variable is held in a host cpu register at all times in all
>     translation blocks.
> @@ -75,7 +75,7 @@ Variables
>   
>     A TCG *global* is a variable which is live in all translation blocks,
>     and corresponds to memory location that is within ``CPUArchState``.
> -  These may be specified as an offset from ``cpu_env``, in which case
> +  These may be specified as an offset from ``tcg_env``, in which case
>     they are called *direct globals*, or may be specified as an offset
>     from a direct global, in which case they are called *indirect globals*.
>     Even indirect globals should still reference memory within

Oops.  Queued.

r~
Re: [PATCH] docs/tcg-ops: Rename cpu_env to tcg_env
Posted by Philippe Mathieu-Daudé 3 days, 16 hours ago
On 2026-11-19 11:23, Chinmay Rath wrote:
> Commit ad75a51e (tcg: Rename cpu_env to tcg_env) from 2023, renamed
> cpu_env to tcg_env. However the same was never done in the docs.
> Updating docs with the necessary renaming.
> 
> Signed-off-by: Chinmay Rath <rathc@linux.ibm.com>
> ---
>   docs/devel/tcg-ops.rst | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>