Commit 3b89d47491 for qemu.org
commit 3b89d474910fe8a8e70d83639f5bd26de37ccb77
Author: Chinmay Rath <rathc@linux.ibm.com>
Date: Thu Nov 19 15:53:19 2026 +0530
docs/tcg-ops: Rename cpu_env to tcg_env
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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20261119102319.2618086-1-rathc@linux.ibm.com>
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